tron
59fa465dce
(svn r1821) Move generic string handling functions to string.[ch] and introduce stre{cpy,cat}, see string.h for their semantics
20 years ago
darkvater
9d492b5051
(svn r1648) -Fix: server can now pause and unpause a game through the console. Use 'pause' and 'unpause'
20 years ago
tron
1cd455b8be
(svn r1616) Introduce ttd_strlcat() and use it to de-uglify some piece of code in misc_cmd.
...
While here rename the len parameter of ttd_strlcpy() to size, because it is a buffer size and not a string length.
Also add -Wwrite-strings to the Makefile, because the above mentioned piece of code was the only part which triggered this warning.
20 years ago
truelight
97dd511971
(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for
...
dynamic arrays
20 years ago
tron
7a51cb2aef
(svn r1330) Increase size of some vars from int16 to int32 to guard against future overflows
20 years ago
truelight
0f856ad408
(svn r1286) -Fix: oeps, I clamp'd some numbers wrong :$
20 years ago
truelight
bb1ad030e3
(svn r1284) -Fix: Fixed 'money-cheat' (read: bug which could give people a lot of money)
20 years ago
truelight
d6a1f3e412
(svn r942) -Merged branch/network back into the trunk
20 years ago
tron
265ac67183
(svn r901) Small step in the process to clean up the DPARAM mess:
...
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest)
- use inline functions instead of macros
- add assert()s to check for buffer overruns
20 years ago
tron
acbd1801c7
(svn r815) Include strings.h only in the files which need it.
...
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
20 years ago
truelight
eb49a19460
(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
20 years ago
truelight
788ace088d
(svn r85) -Add: initial commit of new AI (enable in Patch menu)
...
-Add: generalised A* Algorithm
-Add: generalised queues (Fifo, Stack, InsSort, BinaryHeap)
20 years ago
truelight
efaeb275f7
(svn r1) Import of revision 975 of old (crashed) SVN
20 years ago