Mon, 06 Feb 2006 23:28:07 +0000(svn r3568) - Fix: constantizing side-effect of qsort in r3563. Ugly? Yes. Makes MSVC happy? Yes.
Darkvater [Mon, 06 Feb 2006 23:28:07 +0000] rev 2992
(svn r3568) - Fix: constantizing side-effect of qsort in r3563. Ugly? Yes. Makes MSVC happy? Yes.

Mon, 06 Feb 2006 22:30:43 +0000(svn r3567) -Fix: for once and for all, use 'unsigned long' if you want to cast something
truelight [Mon, 06 Feb 2006 22:30:43 +0000] rev 2991
(svn r3567) -Fix: for once and for all, use 'unsigned long' if you want to cast something
from int-like to void *... we fixed that not too long ago, and the code below
this changed line clearly tells you do to that :p

Mon, 06 Feb 2006 10:05:41 +0000(svn r3565) - Fix: On loading a game, GetPlayerRailtypes() didn't account for the fact that vehicles are introduced a year after their introduction date. This will also relieve possible (rare) network desyncs.
peter1138 [Mon, 06 Feb 2006 10:05:41 +0000] rev 2990
(svn r3565) - Fix: On loading a game, GetPlayerRailtypes() didn't account for the fact that vehicles are introduced a year after their introduction date. This will also relieve possible (rare) network desyncs.

Mon, 06 Feb 2006 09:18:04 +0000(svn r3564) Several smaller changes:
tron [Mon, 06 Feb 2006 09:18:04 +0000] rev 2989
(svn r3564) Several smaller changes:
- Don't treat non-booleans as booleans
- Reduce variable scope
- Bracing
- Use DeMorgan's law to make conditionals easier to read
- if cascade -> switch
- Replace some magic numbers by symbolic names
- Avoid assignments within other statements

Mon, 06 Feb 2006 08:43:05 +0000(svn r3563) Simplify the code for calculating the highscore table in network games and saving of old ecenomy data
tron [Mon, 06 Feb 2006 08:43:05 +0000] rev 2988
(svn r3563) Simplify the code for calculating the highscore table in network games and saving of old ecenomy data

Mon, 06 Feb 2006 08:28:31 +0000(svn r3562) Remove pointless buffer copies
tron [Mon, 06 Feb 2006 08:28:31 +0000] rev 2987
(svn r3562) Remove pointless buffer copies

Mon, 06 Feb 2006 08:15:30 +0000(svn r3561) Don't use FindLandscapeHeightByTile() when it's overkill. Also use a sprite enum instead of a magic number.
tron [Mon, 06 Feb 2006 08:15:30 +0000] rev 2986
(svn r3561) Don't use FindLandscapeHeightByTile() when it's overkill. Also use a sprite enum instead of a magic number.

Mon, 06 Feb 2006 07:38:05 +0000(svn r3560) Restore plural forms of cargo types for several languages.
tron [Mon, 06 Feb 2006 07:38:05 +0000] rev 2985
(svn r3560) Restore plural forms of cargo types for several languages.
I extracted the info from 2614:2615.
If you speak one of the languages, please check if the changes are correct.

Sun, 05 Feb 2006 23:12:23 +0000(svn r3559) - CodeChange: simplify MKCOLOR(x) macro for smallmap_gui.c by adding a TO_LE32X() macro next to TO_BE32X(). The 'X' signifies them as macros and not-inline functions so they can be used in variable declarations.
Darkvater [Sun, 05 Feb 2006 23:12:23 +0000] rev 2984
(svn r3559) - CodeChange: simplify MKCOLOR(x) macro for smallmap_gui.c by adding a TO_LE32X() macro next to TO_BE32X(). The 'X' signifies them as macros and not-inline functions so they can be used in variable declarations.

Sun, 05 Feb 2006 20:36:36 +0000(svn r3558) Add newgrf_callbacks.h to VS project files
peter1138 [Sun, 05 Feb 2006 20:36:36 +0000] rev 2983
(svn r3558) Add newgrf_callbacks.h to VS project files