Wed, 15 Mar 2006 21:27:19 +0000(svn r3893) - Fix: Properly set back the owner of a crossing/road-under bridge after removing it. For crossings we can always use .m2 because it is already 0 when not owned by a town.
Darkvater [Wed, 15 Mar 2006 21:27:19 +0000] rev 3220
(svn r3893) - Fix: Properly set back the owner of a crossing/road-under bridge after removing it. For crossings we can always use .m2 because it is already 0 when not owned by a town.

Wed, 15 Mar 2006 21:09:10 +0000(svn r3892) - Add missing file to VS project-file
Darkvater [Wed, 15 Mar 2006 21:09:10 +0000] rev 3219
(svn r3892) - Add missing file to VS project-file

Wed, 15 Mar 2006 19:53:25 +0000(svn r3891) Fix r3885
tron [Wed, 15 Mar 2006 19:53:25 +0000] rev 3218
(svn r3891) Fix r3885

Wed, 15 Mar 2006 17:38:00 +0000(svn r3890) Simplify deleting a bridge by handling the ramps outside of the removal loop
tron [Wed, 15 Mar 2006 17:38:00 +0000] rev 3217
(svn r3890) Simplify deleting a bridge by handling the ramps outside of the removal loop

Wed, 15 Mar 2006 17:27:15 +0000(svn r3889) Change a part of the bridge drawing code to make it more comprehensible and add the needed accessors
tron [Wed, 15 Mar 2006 17:27:15 +0000] rev 3216
(svn r3889) Change a part of the bridge drawing code to make it more comprehensible and add the needed accessors

Wed, 15 Mar 2006 16:47:35 +0000(svn r3888) If you think you've checked everything, check once more. *sigh* Fix r3887
tron [Wed, 15 Mar 2006 16:47:35 +0000] rev 3215
(svn r3888) If you think you've checked everything, check once more. *sigh* Fix r3887

Wed, 15 Mar 2006 16:44:50 +0000(svn r3887) Add a function to get the other bridge end when you're at a bridge ramp
tron [Wed, 15 Mar 2006 16:44:50 +0000] rev 3214
(svn r3887) Add a function to get the other bridge end when you're at a bridge ramp

Wed, 15 Mar 2006 16:09:23 +0000(svn r3885) Simplify DoConvertTunnelBridgeRail() a bit
tron [Wed, 15 Mar 2006 16:09:23 +0000] rev 3213
(svn r3885) Simplify DoConvertTunnelBridgeRail() a bit

Wed, 15 Mar 2006 14:11:17 +0000(svn r3884) renamed TRIPPLE_BINARY to TRIPLE_BINARY
bjarni [Wed, 15 Mar 2006 14:11:17 +0000] rev 3212
(svn r3884) renamed TRIPPLE_BINARY to TRIPLE_BINARY

Wed, 15 Mar 2006 14:03:09 +0000(svn r3882) -Codechange: [OSX] changed the way universal and tripple binaries are build
bjarni [Wed, 15 Mar 2006 14:03:09 +0000] rev 3211
(svn r3882) -Codechange: [OSX] changed the way universal and tripple binaries are build
Instead of compiling a binary for each arch and then join them in the end, each .o file is now compiled as a fat file
This means that the makefile will not call itself to make a binary for each target and we don't have to make clean between each build
it also means that if one file changed, we don't have to recompile all files
Another benefit is since it's handled at .o level and though LDFLAGS, no special code is needed if we decide to compile more binaries (like a lot of stuff used to happen at post linking)
We also needs much less flags to set up, so it should be even easier to get to work out of the box now
The tradeoff in doing so is that now the binary needs at least OSX 10.3.9 to execute
To deal with this issue, the JAGUAR flag can be used to compile for older OSes. We will release a binary for old OSes at next release to see if anybody even downloads it (not that many people use OSX 10.2 anymore)
GPMI will not work on 10.2 anyway so we will cut support for it some day anyway

Wed, 15 Mar 2006 12:37:59 +0000(svn r3880) - just do a string compare without length restrictions; followup for r3875
Darkvater [Wed, 15 Mar 2006 12:37:59 +0000] rev 3210
(svn r3880) - just do a string compare without length restrictions; followup for r3875

Wed, 15 Mar 2006 07:10:41 +0000(svn r3877) Add functions to turn a tile into a rail/road bridge ramp/middle part
tron [Wed, 15 Mar 2006 07:10:41 +0000] rev 3209
(svn r3877) Add functions to turn a tile into a rail/road bridge ramp/middle part

Tue, 14 Mar 2006 23:28:04 +0000(svn r3876) - Fix: We know on a level crossing's town owner of the road (if any); it is in m2 so properly set it back when the crossing's removed.
Darkvater [Tue, 14 Mar 2006 23:28:04 +0000] rev 3208
(svn r3876) - Fix: We know on a level crossing's town owner of the road (if any); it is in m2 so properly set it back when the crossing's removed.

Tue, 14 Mar 2006 22:58:46 +0000(svn r3875) - [Patches] Fix up the intro menu so the right values for the mapsize are shown (the default ones). Setting the value involves a small hack in that we also set the _patches value because that is used for world-generation and only inside there do the values get copied from _newgame
Darkvater [Tue, 14 Mar 2006 22:58:46 +0000] rev 3207
(svn r3875) - [Patches] Fix up the intro menu so the right values for the mapsize are shown (the default ones). Setting the value involves a small hack in that we also set the _patches value because that is used for world-generation and only inside there do the values get copied from _newgame
- [Patches] Fix a stupid, stupid bug where I used sizeof() as length instead of strlen() in getting console values for patches.

Tue, 14 Mar 2006 22:56:22 +0000(svn r3874) - Codechange: move the extern decleration of _patches_newgame inside the WE_CREATE event because it is only used there.
Darkvater [Tue, 14 Mar 2006 22:56:22 +0000] rev 3206
(svn r3874) - Codechange: move the extern decleration of _patches_newgame inside the WE_CREATE event because it is only used there.

Tue, 14 Mar 2006 21:35:15 +0000(svn r3873) -Fix: don't remove Makefile.config if it isn't there in the first place
truelight [Tue, 14 Mar 2006 21:35:15 +0000] rev 3205
(svn r3873) -Fix: don't remove Makefile.config if it isn't there in the first place
-Add: allow --debug=3 to enable DEBUG lvl 3 (--debug results in a lvl 1)

Tue, 14 Mar 2006 21:31:51 +0000(svn r3872) - [win32] Show the revision in crash.txt and enable the button to show the crash text in the crash-window
Darkvater [Tue, 14 Mar 2006 21:31:51 +0000] rev 3204
(svn r3872) - [win32] Show the revision in crash.txt and enable the button to show the crash text in the crash-window

Tue, 14 Mar 2006 21:29:38 +0000(svn r3871) - [win32] Remove mapfile generation and generate a pdb file instead. This and the corresponding executable is enough to trace the source of a crash given by crash.txt by using WinDbg for example. Mapfiles are a bit deprecated in the newer VS environments.
Darkvater [Tue, 14 Mar 2006 21:29:38 +0000] rev 3203
(svn r3871) - [win32] Remove mapfile generation and generate a pdb file instead. This and the corresponding executable is enough to trace the source of a crash given by crash.txt by using WinDbg for example. Mapfiles are a bit deprecated in the newer VS environments.

Tue, 14 Mar 2006 20:59:03 +0000(svn r3870) -Fix: missed one item in last commit, tnx glx :)
truelight [Tue, 14 Mar 2006 20:59:03 +0000] rev 3202
(svn r3870) -Fix: missed one item in last commit, tnx glx :)

Tue, 14 Mar 2006 20:56:07 +0000(svn r3869) -Fix: don't use OS in configure, some system have that defined ;)
truelight [Tue, 14 Mar 2006 20:56:07 +0000] rev 3201
(svn r3869) -Fix: don't use OS in configure, some system have that defined ;)

Tue, 14 Mar 2006 19:21:49 +0000(svn r3867) -Add: added --debug, --profile and --revision to configure
truelight [Tue, 14 Mar 2006 19:21:49 +0000] rev 3200
(svn r3867) -Add: added --debug, --profile and --revision to configure

Tue, 14 Mar 2006 19:15:46 +0000(svn r3866) -Fix: only add CXX if it is given
truelight [Tue, 14 Mar 2006 19:15:46 +0000] rev 3199
(svn r3866) -Fix: only add CXX if it is given
Word of warning: configure _does_ delete your Makefile.config!

Tue, 14 Mar 2006 19:12:39 +0000(svn r3865) -Add: a fully optional configure script, that is a wrapper around
truelight [Tue, 14 Mar 2006 19:12:39 +0000] rev 3198
(svn r3865) -Add: a fully optional configure script, that is a wrapper around
Makefile.config, inserting data directly into it. This is needed for the
CompileFarm (nightly) and most likely it will help out many people who want
to cross-compile. I might have missed several options out of the
Makefile.config, but those are the needed ones for the CompileFarm.

Tue, 14 Mar 2006 19:10:33 +0000(svn r3864) -Fix: small problems with make-system, making room for a wrapper-configure
truelight [Tue, 14 Mar 2006 19:10:33 +0000] rev 3197
(svn r3864) -Fix: small problems with make-system, making room for a wrapper-configure

Tue, 14 Mar 2006 12:00:11 +0000(svn r3857) Add and use GetBridgeRampDirection()
tron [Tue, 14 Mar 2006 12:00:11 +0000] rev 3196
(svn r3857) Add and use GetBridgeRampDirection()
Note: This slightly changes the behavior of GetAnyRoadBits() to only return a road piece for the start of the bridge ramp instead of a full ROAD_[XY]

Tue, 14 Mar 2006 09:00:10 +0000(svn r3856) Distinct between bridge ramps and bridge middle parts
tron [Tue, 14 Mar 2006 09:00:10 +0000] rev 3195
(svn r3856) Distinct between bridge ramps and bridge middle parts

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