Mon, 13 Mar 2006 23:20:24 +0000(svn r3854) - Fix restart_game_date to default to zero and allow a value of 0 which got screwed up during the patch-rewrite. Thanks peter1138
Darkvater [Mon, 13 Mar 2006 23:20:24 +0000] rev 3194
(svn r3854) - Fix restart_game_date to default to zero and allow a value of 0 which got screwed up during the patch-rewrite. Thanks peter1138

Mon, 13 Mar 2006 23:13:21 +0000(svn r3853) - Fix a change of SetDParam64 to SetDParam in r3713 that caused slightly vibrating text when pressing the cheat-button. Thanks to peter1138 for noticing.
Darkvater [Mon, 13 Mar 2006 23:13:21 +0000] rev 3193
(svn r3853) - Fix a change of SetDParam64 to SetDParam in r3713 that caused slightly vibrating text when pressing the cheat-button. Thanks to peter1138 for noticing.

Mon, 13 Mar 2006 23:10:02 +0000(svn r3852) - Revert r3733 which fixed the default value loading for char, but broke loading a set value. Added a better fix which needs a char value to be a string (eg enclosed in double-quotes)
Darkvater [Mon, 13 Mar 2006 23:10:02 +0000] rev 3192
(svn r3852) - Revert r3733 which fixed the default value loading for char, but broke loading a set value. Added a better fix which needs a char value to be a string (eg enclosed in double-quotes)

Mon, 13 Mar 2006 20:12:35 +0000(svn r3851) Rail depots only have an entrance at one side, therefore use UpdateSignalsOnSegment() instead of SetSignalsOnBothDir()
tron [Mon, 13 Mar 2006 20:12:35 +0000] rev 3191
(svn r3851) Rail depots only have an entrance at one side, therefore use UpdateSignalsOnSegment() instead of SetSignalsOnBothDir()

Mon, 13 Mar 2006 15:38:52 +0000(svn r3849) Fix bug in r3846
tron [Mon, 13 Mar 2006 15:38:52 +0000] rev 3190
(svn r3849) Fix bug in r3846

Mon, 13 Mar 2006 12:55:20 +0000(svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges
tron [Mon, 13 Mar 2006 12:55:20 +0000] rev 3189
(svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges

Mon, 13 Mar 2006 07:12:49 +0000(svn r3838) Demystify building bridge middle parts a bit by removing some magic numbers and generic names
tron [Mon, 13 Mar 2006 07:12:49 +0000] rev 3188
(svn r3838) Demystify building bridge middle parts a bit by removing some magic numbers and generic names

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()

Fri, 10 Mar 2006 12:57:42 +0000(svn r3813) Simplify strange control flow
tron [Fri, 10 Mar 2006 12:57:42 +0000] rev 3177
(svn r3813) Simplify strange control flow

Fri, 10 Mar 2006 11:27:52 +0000(svn r3812) Remove a pointless goto
tron [Fri, 10 Mar 2006 11:27:52 +0000] rev 3176
(svn r3812) Remove a pointless goto

Fri, 10 Mar 2006 10:01:56 +0000(svn r3811) -Fix: [autoreplace]: (FS#67) autoreplacing trains now keep their tile length instead of their pixel length
bjarni [Fri, 10 Mar 2006 10:01:56 +0000] rev 3175
(svn r3811) -Fix: [autoreplace]: (FS#67) autoreplacing trains now keep their tile length instead of their pixel length

Fri, 10 Mar 2006 09:20:28 +0000(svn r3809) - Add map accessor files to MS VS 2003 project file
peter1138 [Fri, 10 Mar 2006 09:20:28 +0000] rev 3174
(svn r3809) - Add map accessor files to MS VS 2003 project file

Thu, 09 Mar 2006 20:37:51 +0000(svn r3805) - [FS#62] Fix doxygen comments to refer to the correct parameter. (sulai)
peter1138 [Thu, 09 Mar 2006 20:37:51 +0000] rev 3173
(svn r3805) - [FS#62] Fix doxygen comments to refer to the correct parameter. (sulai)

Thu, 09 Mar 2006 12:32:25 +0000(svn r3803) Change the second parameter of UpdateSignalsOnSegment() from Direction to DiagDirection as that's what it really operates on
tron [Thu, 09 Mar 2006 12:32:25 +0000] rev 3172
(svn r3803) Change the second parameter of UpdateSignalsOnSegment() from Direction to DiagDirection as that's what it really operates on

Wed, 08 Mar 2006 23:21:32 +0000(svn r3802) * Add a dummy file in the scenario dir to make the makefile stop complaining on make install (temporary hack).
matthijs [Wed, 08 Mar 2006 23:21:32 +0000] rev 3171
(svn r3802) * Add a dummy file in the scenario dir to make the makefile stop complaining on make install (temporary hack).

Wed, 08 Mar 2006 23:12:38 +0000(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
matthijs [Wed, 08 Mar 2006 23:12:38 +0000] rev 3170
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
* Fix a small debconf issue which was in the 0.4.5 release.

Wed, 08 Mar 2006 20:25:28 +0000(svn r3798) Fix typo in r3795
tron [Wed, 08 Mar 2006 20:25:28 +0000] rev 3169
(svn r3798) Fix typo in r3795

Wed, 08 Mar 2006 19:47:18 +0000(svn r3796) When unmagicfying code, do it Right(tm) and also give the variables sensible names. I flipped a 'b' and a 'd' in r3785
tron [Wed, 08 Mar 2006 19:47:18 +0000] rev 3168
(svn r3796) When unmagicfying code, do it Right(tm) and also give the variables sensible names. I flipped a 'b' and a 'd' in r3785

Wed, 08 Mar 2006 15:29:23 +0000(svn r3795) Add a function to request the orientation of a depot
tron [Wed, 08 Mar 2006 15:29:23 +0000] rev 3167
(svn r3795) Add a function to request the orientation of a depot

Wed, 08 Mar 2006 15:28:38 +0000(svn r3794) Use already available accessor functions instead of GB()
tron [Wed, 08 Mar 2006 15:28:38 +0000] rev 3166
(svn r3794) Use already available accessor functions instead of GB()

Wed, 08 Mar 2006 13:03:29 +0000(svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592
tron [Wed, 08 Mar 2006 13:03:29 +0000] rev 3165
(svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592