FlavioJS
|
47ee54852d
* Fixed pop_timer_heap using max heap comparisons instead of min heap comparisons and protected timer functions against improper use. (should fix bugreport:1833 bugreport:1841)
|
17 gadi atpakaļ |
FlavioJS
|
cdda61ce1b
* Added const to the return value of get_timer.
|
17 gadi atpakaļ |
ultramage
|
290ca7eec3
Fixed a bug in the timer code which made it impossible to delete a timer with id '0' (since pre-svn, still present in jAthena).
|
17 gadi atpakaļ |
ultramage
|
fc5918e335
Removed the calc_times() no-op (bugreport:1289)
|
17 gadi atpakaļ |
FlavioJS
|
c880052f0f
* Changed the data field of timers from int to intptr.
|
17 gadi atpakaļ |
zephyrus
|
a6e03e1102
- Clean up of calc_times function.
|
17 gadi atpakaļ |
FlavioJS
|
4dcf5bb0b9
* Tweeked the declaration and initialization defines for vectors.
|
17 gadi atpakaļ |
ultramage
|
a772e3699d
Added a precise and consistent tick() function for freebsd (see bugreport:240)
|
17 gadi atpakaļ |
skotlex
|
e823c2e3eb
- removed the timer heap correction code when the timers overflow since Flavio points out that it is not needed.
|
17 gadi atpakaļ |
ultramage
|
59b9654397
Tried to make sense out of timer.c ... and failed
|
17 gadi atpakaļ |
ultramage
|
28a6350610
Fixed unix compilation problem due to a missing include (caused by r11499)
|
17 gadi atpakaļ |
ultramage
|
6b2c679c3f
* small timer.c cleaning
|
17 gadi atpakaļ |
FlavioJS
|
62ea9e001e
* Fixed the double free's caused by r11290 (wrong option in the database constructors).
|
17 gadi atpakaļ |
FlavioJS
|
52f3681f3d
* Disabled tick cache (to enable it: define TICK_CACHE to the number of calls that should be cached).
|
17 gadi atpakaļ |
ultramage
|
56d9a037a6
* Some serious code cleanups
|
18 gadi atpakaļ |
ultramage
|
711d01a128
Reformatting @_@
|
18 gadi atpakaļ |
FlavioJS
|
bc088a5ad8
* Removed the dependency on winsock.h for definitions, it's all winsock2.h now.
|
18 gadi atpakaļ |
skotlex
|
d65e051707
- Added a wrapper to delete_timer so it prints out from where the invocation was done.
|
18 gadi atpakaļ |
ultramage
|
fbe23f27a2
Undid the memset->malloc_set replacement
|
18 gadi atpakaļ |
FlavioJS
|
52245f90b9
- Moved "#include <limits.h>" to cbasetypes.h to ensure it's included before checking if UINT_MAX has been defined.
|
18 gadi atpakaļ |
FlavioJS
|
e75a8eca56
- Change strncpy to memcpy when parsing switches in the script engine since it's guaranteed to be a word of that size (skip_word).
|
18 gadi atpakaļ |
skotlex
|
b4ef291d27
- Added missing include of system header limits.h to timer.c
|
18 gadi atpakaļ |
skotlex
|
d882e5030b
- Reverted the mob ThinkTime update, that field is again aDelay as it apparently should be.
|
18 gadi atpakaļ |
FlavioJS
|
43256aa77e
- Cleanups or minor changes.
|
18 gadi atpakaļ |
FlavioJS
|
637ae9a4dc
- Massive EOL normalization & 'svn:eol-style native' flag setting for all txt/conf/h/c files.
|
18 gadi atpakaļ |
skotlex
|
ebc1f2bc02
- Moved the packet_len variable in login.c to the login parse case, since it's used nowhere else.
|
18 gadi atpakaļ |
toms
|
a2ce0be45b
The "delete_timer error/no such timer" report will now print the related function
|
18 gadi atpakaļ |
Lance
|
26500644dd
* Optional macro MEMSET_TURBO for faster low-level memory initializations.
|
19 gadi atpakaļ |
skotlex
|
c0652d7916
- Added back the char-sql server sending the GM list when the map server connects.
|
19 gadi atpakaļ |
skotlex
|
1fb95bcf98
- Fixed Taekwon stances not triggering.
|
19 gadi atpakaļ |