Commit Graph

3231 Commits (3a36dba821012dfca98d3ca3c842ec4f83680717)
 

Author SHA1 Message Date
tron 3a36dba821 (svn r3903) Fix a copy&pasto in last commit and remove a redundant comment (the line above already says what's going on) 19 years ago
tron 13ed895336 (svn r3902) When drawing a bridge middle part get the bridge axis only once instead of again and again 19 years ago
tron 385326943d (svn r3901) Remove the last user of FindEdgesOfBridge() by using functions with similar functionality 19 years ago
tron 633870df94 (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 19 years ago
tron 666c0a379d (svn r3899) Use wrapper functions to make more clear how deleting stuff under bridges works; also remove an unnecessary local variable 19 years ago
tron 1ac97fe008 (svn r3898) Add functions to find a bridge end starting at a middle tile 19 years ago
Darkvater 5bf4bbaffe (svn r3897) - Add some more missing files to VS6 project. Thanks for bringing it to my attention glx. 19 years ago
Darkvater 73561f76cd (svn r3896) - [Patches] Fix: Honour any conditional settings when retrieving the setting entries. 19 years ago
Darkvater 650b1b0c93 (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
19 years ago
truelight 9ae2e00644 (svn r3894) -Fix: use "" over in configure 19 years ago
Darkvater a390b6e4d1 (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. 19 years ago
Darkvater 7cdf803d0b (svn r3892) - Add missing file to VS project-file 19 years ago
tron 8208ee5ea2 (svn r3891) Fix r3885 19 years ago
tron 0c9a269bd3 (svn r3890) Simplify deleting a bridge by handling the ramps outside of the removal loop 19 years ago
tron 23d5188b7b (svn r3889) Change a part of the bridge drawing code to make it more comprehensible and add the needed accessors 19 years ago
tron e74d77211f (svn r3888) If you think you've checked everything, check once more. *sigh* Fix r3887 19 years ago
tron 626109f3f9 (svn r3887) Add a function to get the other bridge end when you're at a bridge ramp 19 years ago
tron bd5def0092 (svn r3885) Simplify DoConvertTunnelBridgeRail() a bit 19 years ago
bjarni 38569fe229 (svn r3884) renamed TRIPPLE_BINARY to TRIPLE_BINARY 19 years ago
bjarni 3ebc41c9fe (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
19 years ago
Darkvater 63a181f396 (svn r3880) - just do a string compare without length restrictions; followup for r3875 19 years ago
tron c515c34008 (svn r3877) Add functions to turn a tile into a rail/road bridge ramp/middle part 19 years ago
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. 19 years ago
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.
19 years ago
Darkvater 5642bbb91d (svn r3874) - Codechange: move the extern decleration of _patches_newgame inside the WE_CREATE event because it is only used there. 19 years ago
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)
19 years ago
Darkvater bf3fefb129 (svn r3872) - [win32] Show the revision in crash.txt and enable the button to show the crash text in the crash-window 19 years ago
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. 19 years ago
truelight 2651cad689 (svn r3870) -Fix: missed one item in last commit, tnx glx :) 19 years ago
truelight 755fff761b (svn r3869) -Fix: don't use OS in configure, some system have that defined ;) 19 years ago
truelight 1dd104e09a (svn r3867) -Add: added --debug, --profile and --revision to configure 19 years ago
truelight 382104ce89 (svn r3866) -Fix: only add CXX if it is given
Word of warning: configure _does_ delete your Makefile.config!
19 years ago
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.
19 years ago
truelight be15d8ec2e (svn r3864) -Fix: small problems with make-system, making room for a wrapper-configure 19 years ago
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]
19 years ago
tron b1cc36da3a (svn r3856) Distinct between bridge ramps and bridge middle parts 19 years ago
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 19 years ago
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. 19 years ago
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) 19 years ago
tron 8505f4ed41 (svn r3851) Rail depots only have an entrance at one side, therefore use UpdateSignalsOnSegment() instead of SetSignalsOnBothDir() 19 years ago
tron 23ae850484 (svn r3849) Fix bug in r3846 19 years ago
tron 26815f7405 (svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges 19 years ago
tron 3e932a0a4f (svn r3838) Demystify building bridge middle parts a bit by removing some magic numbers and generic names 19 years ago
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
19 years ago
tron 00cf5c9acf (svn r3832) Replace some magic numbers by (Diag)Direction enums 19 years ago
tron eeb5bf41a1 (svn r3831) Add and use GetRailDepotDirection() 19 years ago
tron 0100871412 (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 19 years ago
tron 7a0071cc53 (svn r3829) Reduce the use of _error_message by directly returning error codes instead of using this global variable 19 years ago
tron 367b09a1f9 (svn r3827) Remove the global variable _error_message_2, it's only used as local variable 19 years ago
tron 6c30c9ae4d (svn r3823) Remove dead code: A value for 'image' gets calculated and overwritten just a few lines later without being used in between 19 years ago