Sun, 12 Mar 2006 20:59:56 +0000(svn r3837) Partially unmagicfy restoring the tiles when deleting a bridge
tron [Sun, 12 Mar 2006 20:59:56 +0000] rev 3187
(svn r3837) Partially unmagicfy restoring the tiles when deleting a bridge
Existing bug: When restoring a road piece which belongs to a town the town index unconditionally gets set to 0

Sun, 12 Mar 2006 17:42:04 +0000(svn r3832) Replace some magic numbers by (Diag)Direction enums
tron [Sun, 12 Mar 2006 17:42:04 +0000] rev 3186
(svn r3832) Replace some magic numbers by (Diag)Direction enums

Sun, 12 Mar 2006 16:13:16 +0000(svn r3831) Add and use GetRailDepotDirection()
tron [Sun, 12 Mar 2006 16:13:16 +0000] rev 3185
(svn r3831) Add and use GetRailDepotDirection()

Sun, 12 Mar 2006 15:04:03 +0000(svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does
tron [Sun, 12 Mar 2006 15:04:03 +0000] rev 3184
(svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does

Sun, 12 Mar 2006 12:19:25 +0000(svn r3829) Reduce the use of _error_message by directly returning error codes instead of using this global variable
tron [Sun, 12 Mar 2006 12:19:25 +0000] rev 3183
(svn r3829) Reduce the use of _error_message by directly returning error codes instead of using this global variable

Sun, 12 Mar 2006 10:15:36 +0000(svn r3827) Remove the global variable _error_message_2, it's only used as local variable
tron [Sun, 12 Mar 2006 10:15:36 +0000] rev 3182
(svn r3827) Remove the global variable _error_message_2, it's only used as local variable

Sun, 12 Mar 2006 08:47:18 +0000(svn r3823) Remove dead code: A value for 'image' gets calculated and overwritten just a few lines later without being used in between
tron [Sun, 12 Mar 2006 08:47:18 +0000] rev 3181
(svn r3823) Remove dead code: A value for 'image' gets calculated and overwritten just a few lines later without being used in between

Sat, 11 Mar 2006 17:06:16 +0000(svn r3820) Be a bit more strict with types: use special types instead of generic byte and don't fill arbitrary data into inappropriate types
tron [Sat, 11 Mar 2006 17:06:16 +0000] rev 3180
(svn r3820) Be a bit more strict with types: use special types instead of generic byte and don't fill arbitrary data into inappropriate types

Sat, 11 Mar 2006 09:10:46 +0000(svn r3816) Use existing accessors
tron [Sat, 11 Mar 2006 09:10:46 +0000] rev 3179
(svn r3816) Use existing accessors

Fri, 10 Mar 2006 17:01:51 +0000(svn r3814) Remove another call to FindLandscapeHeight()
tron [Fri, 10 Mar 2006 17:01:51 +0000] rev 3178
(svn r3814) Remove another call to FindLandscapeHeight()