Darkvater
1536477fad
(svn r3926) - [Patches]: Switched string for ship and aircraft replacement, and also forgot to put back the callback function. Thanks Tron
2006-03-17 20:56:51 +00:00
Darkvater
47b0e29a56
(svn r3924) - Revert r3923, apparently we are not fond of CONDNULL() structs :)
2006-03-17 19:52:12 +00:00
Darkvater
14f1d0f0a4
(svn r3923) - [Pathces/HACK]: Add 32 empty bytes at the end of the patches chunk in the savegame to not to have to increase the savegame version every time we add one; at least for a while. To not break in-between nightlies a temporary hack is done. So make sure to upgrade to this nightly before you upgrade to newer ones. Releases are unaffected
2006-03-17 18:54:42 +00:00
tron
dacbf1a433
(svn r3922) Fix copy&pasto in r3916 (Slowly it's getting a bad habit)
2006-03-17 13:28:50 +00:00
tron
89090790c2
(svn r3916) Get/Set the rail type by [GS]etRailType{Crossing,OnBridge,}()
2006-03-17 10:10:31 +00:00
Darkvater
d8677f1afa
(svn r3915) - Savegame version 23: Do not save the autosave interval anymore with savegames. Some people should be very happe atm ;)
2006-03-17 08:06:56 +00:00
Darkvater
583a52bd6f
(svn r3914) - Properly implement SDT(G)_CONDNULL macro's without special cases (add flag SLF_CONFIG_NO and empty string as name)
2006-03-17 08:01:54 +00:00
tron
27d7d42404
(svn r3913) Move declarations to rail_map.h so rail.h is dependent on rail_map.h and not the other way round
2006-03-17 07:02:34 +00:00
tron
41ee22ed99
(svn r3912) Move the signal type enum and GetSignalType() to rail_map.h; also add SetSignalType() and use the functions
2006-03-17 06:26:37 +00:00
tron
2232412f59
(svn r3911) Add functions to retrieve/set the signal variant (electric/semaphore)
2006-03-16 21:44:58 +00:00
celestar
9aab1d5711
(svn r3909) [multistop]
...
-Codechange: No longer hijack the VS_STOPPED flag when waiting for a slot.
-Fix: Vehicles waiting for slots can still be controlled (sent to depot, orders modified, ...)
-Fix: Vehicles no longer stop on crossings and during overtake operations
2006-03-16 16:47:39 +00:00
tron
83ba8bdf77
(svn r3908) Fix last commit (I'm saying that way too often *sigh*) (Pointed out by Celestar)
2006-03-16 15:28:44 +00:00
tron
b8da06ddb1
(svn r3907) Replace many bridge related direct map accesses with calls to shiny new functions and mark some strange constructs with XXX
2006-03-16 15:16:27 +00:00
tron
d6134455a5
(svn r3906) Before removing a rail/setting the owner of a road to none check if there's a transport route at all under the bridge
2006-03-16 13:35:35 +00:00
tron
35fa516ecb
(svn r3905) -Fix: When returning the rail type under a bridge, check if there are rails at all
2006-03-16 13:23:47 +00:00
tron
483c8f7018
(svn r3904) Move GetBridgePiece() and GetBridgeType() to bridge_map.h and make the only place which still extracted that info diretly use the wrapper
2006-03-16 10:00:50 +00:00
tron
a3c45635a7
(svn r3903) Fix a copy&pasto in last commit and remove a redundant comment (the line above already says what's going on)
2006-03-16 07:18:38 +00:00
tron
1257d9e565
(svn r3902) When drawing a bridge middle part get the bridge axis only once instead of again and again
2006-03-16 07:12:28 +00:00
tron
efb64283df
(svn r3901) Remove the last user of FindEdgesOfBridge() by using functions with similar functionality
2006-03-16 06:38:51 +00:00
tron
fedebdd09b
(svn r3900) When clearing a bridge determine the bridge direction and tile offset once instead of all over the place; also use UpdateSignalsOnSegment() instead of SetSignalsOnBothDir(), because this is sufficient
2006-03-16 06:30:47 +00:00
tron
8a77808f65
(svn r3899) Use wrapper functions to make more clear how deleting stuff under bridges works; also remove an unnecessary local variable
2006-03-16 06:06:05 +00:00
tron
ec33376fa3
(svn r3898) Add functions to find a bridge end starting at a middle tile
2006-03-16 05:28:15 +00:00
Darkvater
ca1efd3189
(svn r3897) - Add some more missing files to VS6 project. Thanks for bringing it to my attention glx.
2006-03-16 00:32:25 +00:00
Darkvater
537b7ed3c6
(svn r3896) - [Patches] Fix: Honour any conditional settings when retrieving the setting entries.
2006-03-16 00:22:36 +00:00
Darkvater
d9ee10d3b8
(svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space reservation in savegames and update where used
...
- Also add this capability to settings
2006-03-16 00:20:33 +00:00
truelight
61bb1d5b9a
(svn r3894) -Fix: use "" over in configure
2006-03-15 21:55:59 +00:00
Darkvater
748d082a79
(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.
2006-03-15 21:27:19 +00:00
Darkvater
c51c86b2c8
(svn r3892) - Add missing file to VS project-file
2006-03-15 21:09:10 +00:00
tron
76aa40cecf
(svn r3891) Fix r3885
2006-03-15 19:53:25 +00:00
tron
b36203f671
(svn r3890) Simplify deleting a bridge by handling the ramps outside of the removal loop
2006-03-15 17:38:00 +00:00
tron
f262ae6c8b
(svn r3889) Change a part of the bridge drawing code to make it more comprehensible and add the needed accessors
2006-03-15 17:27:15 +00:00
tron
dcf6c85bf2
(svn r3888) If you think you've checked everything, check once more. *sigh* Fix r3887
2006-03-15 16:47:35 +00:00
tron
3d9c76d8b8
(svn r3887) Add a function to get the other bridge end when you're at a bridge ramp
2006-03-15 16:44:50 +00:00
tron
962852b732
(svn r3885) Simplify DoConvertTunnelBridgeRail() a bit
2006-03-15 16:09:23 +00:00
bjarni
a19cdf6040
(svn r3884) renamed TRIPPLE_BINARY to TRIPLE_BINARY
2006-03-15 14:11:17 +00:00
bjarni
bb47ecddf4
(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
2006-03-15 14:03:09 +00:00
Darkvater
4689031f19
(svn r3880) - just do a string compare without length restrictions; followup for r3875
2006-03-15 12:37:59 +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
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
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
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
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
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
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
cab087559f
(svn r3870) -Fix: missed one item in last commit, tnx glx :)
2006-03-14 20:59:03 +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
a1e68882c8
(svn r3867) -Add: added --debug, --profile and --revision to configure
2006-03-14 19:21:49 +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
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
cc2993992f
(svn r3864) -Fix: small problems with make-system, making room for a wrapper-configure
2006-03-14 19:10:33 +00:00