Commit Graph

26 Commits

Author SHA1 Message Date
Chris Danford 66a30e72b8 optimize: Add GetTimeSinceStartFast() that caches the time for archs where GetMicrosecondsSinceStart() is slow 2005-03-21 21:40:07 +00:00
Ben Anderson d0cd9f3bf6 Prevent some unnecessary time checking 2005-03-17 04:31:12 +00:00
Glenn Maynard fa32951449 cleanup 2005-02-13 03:05:19 +00:00
Glenn Maynard 445d8a6cf2 cleanup low-level time handling 2004-08-15 22:41:46 +00:00
Glenn Maynard a030680707 use usecs in RageTimer 2004-06-21 22:29:50 +00:00
Glenn Maynard 0ebe5985b9 use ArchHooks::GetMicrosecondsSinceStart 2004-06-11 01:14:42 +00:00
Glenn Maynard 7c56df3fd7 types 2004-05-11 20:50:08 +00:00
Glenn Maynard f9f10e2372 more license updates 2004-05-06 02:40:33 +00:00
Glenn Maynard c2fa441b7e simplify RageZeroTimer
avoid starting the SDL timer system; it starts a thread
2004-03-13 23:11:08 +00:00
Glenn Maynard 2c8b17ebf8 RageTimer fixes 2004-02-23 00:04:38 +00:00
Glenn Maynard 9e6a952a41 Better check for the system clock moving backwards. Fixes assist tick.
Needs more testing.
2004-02-22 23:27:42 +00:00
Glenn Maynard 96b719162f Fix crashes if the system clock moves backwards. 2004-02-20 21:41:37 +00:00
Sean Burke 70e1a6bb16 Try to make compilation of RageTimer a bit less dependent on the local SDL tree. 2003-09-27 22:24:43 +00:00
Glenn Maynard 7f25e3c410 Add RageZeroTimer. 2003-09-07 22:37:29 +00:00
Glenn Maynard e3274ec002 add RageTimer::Half 2003-07-20 19:13:03 +00:00
Glenn Maynard 649f1a81c5 simplify; make data public 2003-07-14 06:22:08 +00:00
Glenn Maynard 045cbb3984 Timers can't be global. 2003-07-13 01:26:30 +00:00
Glenn Maynard cbcf0dbbf8 Add + and -. 2003-07-13 00:31:55 +00:00
Glenn Maynard fbcd804243 Fixes two major problems: time wrapping every 42 days, and timer
resolution getting poor after a couple days of play.

(for some value of "major")
2003-07-12 22:51:27 +00:00
Glenn Maynard d9fc6ef12f don't init unneeded SDL subsystem 2003-04-24 03:37:18 +00:00
Glenn Maynard 42cfd6f98c stdafx -> global 2003-02-16 04:01:45 +00:00
Glenn Maynard 73eac8f809 get rid of TIMER 2002-12-19 23:13:52 +00:00
Glenn Maynard fc4c1637ba make GetTimeSinceStart static 2002-12-19 23:00:57 +00:00
Chris Danford 4e4c143223 RageMovieTexture working again. Probably doesn't work on texture size-limited cards (Voodoo3). 2002-11-26 01:17:43 +00:00
Glenn Maynard c5925aea51 SDL-based timer. Trivial. 2002-10-24 03:55:40 +00:00
Chris Danford 0bc6e1ec7e weekend checkin 2002-06-14 22:25:22 +00:00