Commit Graph

20 Commits

Author SHA1 Message Date
truelight
357b0f79dd (svn r1201) -Fix: I forgot to add a * in r1183 ;) 2004-12-21 16:54:46 +00:00
truelight
0bfed53a48 (svn r1183) -Fix: Newsmessage-validation-pointer was never reset, causing some nasty
crashes (tnx to GeniusDex for the clear backtrace)
2004-12-20 14:38:28 +00:00
dominik
7262116440 (svn r1170) Fix: news_gui.c should compile everywhere without warnings now. 2004-12-19 13:06:20 +00:00
dominik
ed99219348 (svn r1167) Feature: Added the possibility to add validation functions to NewsItems. This is now done for "Train in depot" messages. Before displaying such a message, it checks if the train really still is in the depot. Can be applied to other news items as well. 2004-12-19 09:39:19 +00:00
tron
291d25a88b (svn r925) Use sound enums
Also play the correct sound when a toyland road vehicle breaks down
2004-12-04 09:26:39 +00:00
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
2004-12-02 22:53:07 +00:00
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.
2004-11-25 10:47:30 +00:00
tron
e8537f5512 (svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent with its own name and all other DO_* flags.
Now it is active-true.
2004-11-23 22:36:11 +00:00
tron
a0b4161a32 (svn r626) Merge r438 to trunk:
Some whitespace and magic number cleanup (in news_gui)
2004-11-15 12:05:01 +00:00
tron
d641175e3c (svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunk
This includes 2 fixes
-Fix: [1048596] Monorail and Maglev sounds are swapped (r511)
-Add special case to load the jackhammer sound (r478)
The rest are cleanups und enumeration to make merging possible/easier
2004-11-05 23:12:33 +00:00
truelight
eb49a19460 (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way! 2004-09-10 19:02:27 +00:00
darkvater
56435c8775 (svn r177) -Fix: padded out Widget code to solve warnings on C99 compiler (Tron)
-Fix: added WIDGETS_END macro for WWT_LAST which does this for all last widget-types
2004-09-07 21:48:09 +00:00
dominik
8939b9ea28 (svn r103) Fix: rare newspaper crash with too many messages [ 1009976 ] (thx to blathij)s 2004-08-21 22:04:25 +00:00
dominik
f5240ffa00 (svn r95) Another small news system fix 2004-08-20 16:30:43 +00:00
dominik
c55eda92f8 (svn r93) Fix: memory leak in news system (blathijs) 2004-08-20 15:37:44 +00:00
dominik
94d2767ecc (svn r90) Fix: Some news system bugfixes 2004-08-20 13:58:25 +00:00
dominik
80b1e25b6c (svn r84) Improved news system code a little to avoid potential memory leaks 2004-08-19 13:39:50 +00:00
truelight
add3151b11 (svn r81) -Fix: news_gui.c contained a MSVC compile error 2004-08-19 09:03:35 +00:00
dominik
31aae99485 (svn r80) New internal news system (implemented with fifo queue)
Message history works now
2004-08-18 23:38:53 +00:00
truelight
efaeb275f7 (svn r1) Import of revision 975 of old (crashed) SVN 2004-08-09 17:04:08 +00:00