Low resolution timers?
Hi
I was thinking about creating a multiplatform game using SDL (www.libsdl.org). One thing put me off though, it had very rudimentary timer support - one timer of resolution 10ms. Apparantly this is a legacy from Windows code. Normally (under DOS and Linux )in even a simple game I''d have at least two timers of resolution much greater than 10ms.
So my question is, how do Windows games programmers cope with such a restriction? And how can I get around it, having had no Windows programming experience and no desire to learn?
Cheers,
=> Arfa <=
=> Arfa <=
quote:
Apparantly this is a legacy from Windows code.
Who told you that ?
I don't know how you can do it under Linux, but Windows have a very precise timer function (its resolution is 1 ms).
It's GetTickCount()
Edited by - Prosper/LOADED on June 7, 2000 7:02:25 AM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement