tron
c515c34008
(svn r3877) Add functions to turn a tile into a rail/road bridge ramp/middle part
2006-03-15 07:10:41 +00:00
tron
251242165c
(svn r3877) Add functions to turn a tile into a rail/road bridge ramp/middle part
2006-03-15 07:10:41 +00:00
Darkvater
3fd42fab5d
(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.
2006-03-14 23:28:04 +00:00
Darkvater
decf3c42f8
(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.
2006-03-14 23:28:04 +00:00
Darkvater
19dee66a26
(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.
2006-03-14 22:58:46 +00:00
Darkvater
cd1dea52ca
(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.
2006-03-14 22:58:46 +00:00
Darkvater
5642bbb91d
(svn r3874) - Codechange: move the extern decleration of _patches_newgame inside the WE_CREATE event because it is only used there.
2006-03-14 22:56:22 +00:00
Darkvater
76a7d159db
(svn r3874) - Codechange: move the extern decleration of _patches_newgame inside the WE_CREATE event because it is only used there.
2006-03-14 22:56:22 +00:00
truelight
e7bfbc08c5
(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)
2006-03-14 21:35:15 +00:00
truelight
54f5cf4ec9
(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)
2006-03-14 21:35:15 +00:00
Darkvater
bf3fefb129
(svn r3872) - [win32] Show the revision in crash.txt and enable the button to show the crash text in the crash-window
2006-03-14 21:31:51 +00:00
Darkvater
873768c2d2
(svn r3872) - [win32] Show the revision in crash.txt and enable the button to show the crash text in the crash-window
2006-03-14 21:31:51 +00:00
Darkvater
50beefb31f
(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.
2006-03-14 21:29:38 +00:00
Darkvater
91facef36a
(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.
2006-03-14 21:29:38 +00:00
truelight
2651cad689
(svn r3870) -Fix: missed one item in last commit, tnx glx :)
2006-03-14 20:59:03 +00:00
truelight
cab087559f
(svn r3870) -Fix: missed one item in last commit, tnx glx :)
2006-03-14 20:59:03 +00:00
truelight
755fff761b
(svn r3869) -Fix: don't use OS in configure, some system have that defined ;)
2006-03-14 20:56:07 +00:00
truelight
c734402a0a
(svn r3869) -Fix: don't use OS in configure, some system have that defined ;)
2006-03-14 20:56:07 +00:00
truelight
1dd104e09a
(svn r3867) -Add: added --debug, --profile and --revision to configure
2006-03-14 19:21:49 +00:00
truelight
a1e68882c8
(svn r3867) -Add: added --debug, --profile and --revision to configure
2006-03-14 19:21:49 +00:00
truelight
382104ce89
(svn r3866) -Fix: only add CXX if it is given
...
Word of warning: configure _does_ delete your Makefile.config!
2006-03-14 19:15:46 +00:00
truelight
23dd9a0ba9
(svn r3866) -Fix: only add CXX if it is given
...
Word of warning: configure _does_ delete your Makefile.config!
2006-03-14 19:15:46 +00:00
truelight
88b6b44566
(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.
2006-03-14 19:12:39 +00:00
truelight
be24777037
(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.
2006-03-14 19:12:39 +00:00
truelight
be15d8ec2e
(svn r3864) -Fix: small problems with make-system, making room for a wrapper-configure
2006-03-14 19:10:33 +00:00
truelight
cc2993992f
(svn r3864) -Fix: small problems with make-system, making room for a wrapper-configure
2006-03-14 19:10:33 +00:00
tron
273533d4c7
(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]
2006-03-14 12:00:11 +00:00
tron
42d1731cc1
(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]
2006-03-14 12:00:11 +00:00
tron
b1cc36da3a
(svn r3856) Distinct between bridge ramps and bridge middle parts
2006-03-14 09:00:10 +00:00
tron
b2412f7472
(svn r3856) Distinct between bridge ramps and bridge middle parts
2006-03-14 09:00:10 +00:00
Darkvater
d56eb82ab5
(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
2006-03-13 23:20:24 +00:00
Darkvater
37b301ba3a
(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
2006-03-13 23:20:24 +00:00
Darkvater
aef238f1ad
(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.
2006-03-13 23:13:21 +00:00
Darkvater
9773a2bcbe
(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.
2006-03-13 23:13:21 +00:00
Darkvater
d4479fc1a2
(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)
2006-03-13 23:10:02 +00:00
Darkvater
9cbce0a46e
(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)
2006-03-13 23:10:02 +00:00
tron
8505f4ed41
(svn r3851) Rail depots only have an entrance at one side, therefore use UpdateSignalsOnSegment() instead of SetSignalsOnBothDir()
2006-03-13 20:12:35 +00:00
tron
5d939d9c10
(svn r3851) Rail depots only have an entrance at one side, therefore use UpdateSignalsOnSegment() instead of SetSignalsOnBothDir()
2006-03-13 20:12:35 +00:00
tron
23ae850484
(svn r3849) Fix bug in r3846
2006-03-13 15:38:52 +00:00
tron
b812bbeda3
(svn r3849) Fix bug in r3846
2006-03-13 15:38:52 +00:00
tron
26815f7405
(svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges
2006-03-13 12:55:20 +00:00
tron
e8ccd9641f
(svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges
2006-03-13 12:55:20 +00:00
tron
3e932a0a4f
(svn r3838) Demystify building bridge middle parts a bit by removing some magic numbers and generic names
2006-03-13 07:12:49 +00:00
tron
1067069e33
(svn r3838) Demystify building bridge middle parts a bit by removing some magic numbers and generic names
2006-03-13 07:12:49 +00:00
tron
8259a29ead
(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
2006-03-12 20:59:56 +00:00
tron
2732fc8d6f
(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
2006-03-12 20:59:56 +00:00
tron
00cf5c9acf
(svn r3832) Replace some magic numbers by (Diag)Direction enums
2006-03-12 17:42:04 +00:00
tron
b05a98fdfa
(svn r3832) Replace some magic numbers by (Diag)Direction enums
2006-03-12 17:42:04 +00:00
tron
eeb5bf41a1
(svn r3831) Add and use GetRailDepotDirection()
2006-03-12 16:13:16 +00:00
tron
12d252d9bd
(svn r3831) Add and use GetRailDepotDirection()
2006-03-12 16:13:16 +00:00