summaryrefslogtreecommitdiff
path: root/src/common/timer.c
AgeCommit message (Expand)AuthorFilesLines
2016-10-07Fixed some issues detected by clang's static analyzer (Xcode 8/macOS Sierra)Haru1-4/+0
2016-04-27Add checks for wrong timer id. Some times in code it can be 0 and not -1.Andrei Karas1-2/+8
2016-02-05Clear timer function after auto remove timer ended.Andrei Karas1-0/+1
2016-02-05Add missing checks into timer.cAndrei Karas1-5/+58
2015-12-15Added GPL-compliant header to all sources and build scriptsHaru1-4/+20
2015-10-19rename malloc.c/h to memmgr.Andrei Karas1-1/+1
2015-10-11Changed VECTOR/BHEAP/ARRAY macros to discourage usage of unsigned loop counters.Haru1-9/+25
2015-08-15HPM compatibility improvementsHaru1-0/+1
2015-06-19Cleaned up some #includesHaru1-1/+0
2015-06-19Removed ".." from include directivesHaru1-11/+11
2014-12-31Add some missing null pointer checks after automatic checks.Andrei Karas1-0/+1
2014-11-16Whitespace cleanup (no code changes)Haru1-18/+18
2014-08-07Corrected several format-string errors through the codeHaru1-2/+3
2014-07-11Explicitly specify 'void' when a function expects no argumentsHaru1-2/+2
2014-07-11Fixed reserved __identifier violationsHaru1-5/+5
2014-05-30Fixed typos inside src/Shido1-3/+3
2014-05-13Removed trailing whitespace (sources)Haru1-2/+2
2014-05-13Fixed some charset issuesHaru1-1/+1
2014-05-10Re-commit of "Fixed order of includes in all source files"Haru1-8/+11
2014-05-10Revert "Fixed order of includes in all source files"panikon1-11/+8
2014-05-09Fixed order of includes in all source filesHaru1-8/+11
2014-01-18Socket interfacedshennetsind1-1/+1
2013-12-17Fixed some additional linux warningsHaru1-4/+4
2013-10-30Follow-up to 44c33fda3614d588e6bf6cee1cf884e98f1531f0Haru1-4/+4
2013-10-26Changed 'tick' variables to 64 bitHaru1-24/+62
2013-09-25Renamed iTimer interface to timer.shennetsind1-16/+18
2013-07-22Binary heap fix & improvement.Piotr HaƂaczkiewicz1-4/+4
2013-06-07Hercules Renewal Phase One : pc, party, map, timerSusu1-13/+24
2013-05-16Fixed Bug #7249shennetsind1-4/+4
2013-05-15HPM Updateshennetsind1-72/+63
2012-12-05- Undid r16968: SVN Replaced with source:/trunk/src/@16966 (tid:74924).brianluau1-236/+243
2012-11-25Applied AStyle code formating as discussed on tid:74602.greenboxal21-243/+236
2012-06-03cleaned up windows header usage (added one central file to use windows / wina...blacksirius1-2/+1
2012-01-30- Removed trailing tabs, and fixed some spacing.brianluau1-1/+1
2011-06-30Replaced custom type 'intptr' with standard 'intptr_t'.ultramage1-2/+2
2011-04-05* Moved detection of monotonic clock support to the configure script, which a...ai4rei1-1/+1
2010-03-16added --enable-rdtsc configure option to enhance timer performance, especiall...Yommy1-0/+45
2009-01-21* Replaced the fake timer heap (sorted array) with a real heap. (improves per...FlavioJS1-98/+38
2008-11-22* Hunted down the simpler 64bit pointer truncations.FlavioJS1-6/+6
2008-07-26Partially reverted the timer code changes from r12926 - r12969.ultramage1-224/+110
2008-07-20ops ('|'->'&' in delete_timer debug code)FlavioJS1-1/+1
2008-07-20* Simplified the search in pop_timer_heap and added more debug info to help d...FlavioJS1-6/+15
2008-07-16* Added a check to make sure only released timers are acquired from the free ...FlavioJS1-3/+3
2008-07-15* Fixed pop_timer_heap using max heap comparisons instead of min heap compari...FlavioJS1-21/+40
2008-07-09* Added const to the return value of get_timer.FlavioJS1-147/+232
2008-06-18Fixed a bug in the timer code which made it impossible to delete a timer with...ultramage1-1/+1
2008-04-27Removed the calc_times() no-op (bugreport:1289)ultramage1-7/+0
2008-04-21* Changed the data field of timers from int to intptr.FlavioJS1-2/+2
2008-03-17- Clean up of calc_times function.zephyrus1-0/+6
2007-12-27* Tweeked the declaration and initialization defines for vectors.FlavioJS1-2/+4