summaryrefslogtreecommitdiff
path: root/src/utils/timer.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-01-09Replaced 'unsigned int' with 'unsigned'Thorbjørn Lindeijer1-2/+2
Same thing, but shorter.
2011-11-07Small cleanups in utils::TimerThorbjørn Lindeijer1-12/+15
* Not nice to pass boolean parameter to constructor for preventing the timer from running on creation. Just call 'start' on it explicitly. * getTimeInMillisec could be made static. Reviewed-by: Yohann Ferreira
2010-02-07Update Copyright date for Manaserv.Bertram1-1/+1
2009-12-06Fixed name of the project in copyright headersThorbjørn Lindeijer1-7/+6
Also updated the headers to refer to the GPL by URL instead of suggesting to contact the FSF by snail mail, as per the latest GPL usage instructions.
2007-11-19Removed useless win32 implementation of gettimeofday.Eugenio Favalli1-1/+1
2007-01-06Removed world timer usage from account server, instead letting ENet wait duringBjørn Lindeijer1-3/+19
each host service to reduce CPU usage. Modified timer code to gracefully handle jumps back in time.
2007-01-03Fix building with --pedantic.Björn Steinbrink1-6/+6
2006-08-04Generalized the properties functionality as was done in the client before.Bjørn Lindeijer1-3/+0
Removed some more remaining usages of tmwserv namespace. Added some documentation and de-complicized the code a bit. Removed checks for SDL and SDL_net.
2006-05-14Replaced nanosleep with Sleep in Windows and updated Dev-C++ project file.Eugenio Favalli1-0/+4
2006-05-14Applied a patch by Guillaume that makes the server sleep between ticks insteadBjørn Lindeijer1-0/+12
of polling for the next one. Somebody will need to verify that this works for on Dev-C++ as well.
2006-04-30made sure every compiler uses a 64bit unsigned integer for getTimeInMillisec.Philipp Sehmisch1-5/+5
2006-04-30fixed some problems of the timer classPhilipp Sehmisch1-16/+19
2006-04-30replaced SDL timing with a self written timer class.Philipp Sehmisch1-0/+71