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

Sun, 05 Feb 2006 19:46:20 +0000(svn r3557) - NewGRF: move callback enums to a new file as more than just engines will use them
peter1138 [Sun, 05 Feb 2006 19:46:20 +0000] rev 2982
(svn r3557) - NewGRF: move callback enums to a new file as more than just engines will use them

Sun, 05 Feb 2006 14:47:15 +0000(svn r3556) Add accessors for handling tree tiles
tron [Sun, 05 Feb 2006 14:47:15 +0000] rev 2981
(svn r3556) Add accessors for handling tree tiles
See tree.h for details

Sun, 05 Feb 2006 14:18:28 +0000(svn r3555) -Codechange: [Big Endian] removed defining OTTD_ALIGNMENT by default on Big Endian CPUs
bjarni [Sun, 05 Feb 2006 14:18:28 +0000] rev 2980
(svn r3555) -Codechange: [Big Endian] removed defining OTTD_ALIGNMENT by default on Big Endian CPUs
this increased speed when reading unaligned data (like strings)
test showed this to increase speed by 5,6% when drawing the mini map on PPC OSX

the tradeoff is that now it will crash if a Big Endian computer don't support unaligned reading
but it should easily fixable in stdafx.h if it turns out to be a problem