[SDL] framerate -- increasing accuracy for compensation
David Olofson
david.olofson at reologica.se
Thu Apr 5 15:09:28 PDT 2001
On Thursday 05 April 2001 23:11, Sam Lantinga wrote:
> > if time.current is an int, lets say, then sizeof(time.current) = 4. 2^4
> > = 16. I think what you meant was 256^sizeof(time.current). Anyway, it
> > all depends on your application. For a game, running for 49+ days in one
> > session generally isn't a problem. I personally have never played a game
> > for 49+ straight in one session, and I've played a lot of games. :)
>
> Game servers however should be able to run more than 50 days in a row
> though, and they are often built on subsets of the client code.
And someone might want to use a game as a long-term stress test... ;-)
Seriously, what about SDL based arcade game machines, built on affordable
"standard" PC components? They could very well be expected to run around the
clock for days or weeks...
You never know how people are going to use you software, so it's generally a
good idea to handle this kind of stuff nicely.
//David
.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> david at linuxdj.com -'
More information about the SDL
mailing list