Commit Graph

3504 Commits

Author SHA1 Message Date
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
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 b2412f7472 (svn r3856) Distinct between bridge ramps and bridge middle parts 2006-03-14 09:00:10 +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 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 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 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 b812bbeda3 (svn r3849) Fix bug in r3846 2006-03-13 15:38:52 +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 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 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 b05a98fdfa (svn r3832) Replace some magic numbers by (Diag)Direction enums 2006-03-12 17:42:04 +00:00
tron 12d252d9bd (svn r3831) Add and use GetRailDepotDirection() 2006-03-12 16:13:16 +00:00
tron 78083f0da7 (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 2006-03-12 15:04:03 +00:00
tron b394f72fa9 (svn r3829) Reduce the use of _error_message by directly returning error codes instead of using this global variable 2006-03-12 12:19:25 +00:00
tron 214b5eb42f (svn r3827) Remove the global variable _error_message_2, it's only used as local variable 2006-03-12 10:15:36 +00:00
tron b9ade45008 (svn r3823) Remove dead code: A value for 'image' gets calculated and overwritten just a few lines later without being used in between 2006-03-12 08:47:18 +00:00
tron e63e3bb84c (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 2006-03-11 17:06:16 +00:00
tron 929fae7b68 (svn r3816) Use existing accessors 2006-03-11 09:10:46 +00:00
tron 6892e04d14 (svn r3814) Remove another call to FindLandscapeHeight() 2006-03-10 17:01:51 +00:00
tron 293bf531be (svn r3813) Simplify strange control flow 2006-03-10 12:57:42 +00:00
tron abca252ff5 (svn r3812) Remove a pointless goto 2006-03-10 11:27:52 +00:00
bjarni 96641f462e (svn r3811) -Fix: [autoreplace]: (FS#67) autoreplacing trains now keep their tile length instead of their pixel length 2006-03-10 10:01:56 +00:00
peter1138 25970764a3 (svn r3809) - Add map accessor files to MS VS 2003 project file 2006-03-10 09:20:28 +00:00
peter1138 9c7f09322e (svn r3805) - [FS#62] Fix doxygen comments to refer to the correct parameter. (sulai) 2006-03-09 20:37:51 +00:00
tron 78a7b15ce0 (svn r3803) Change the second parameter of UpdateSignalsOnSegment() from Direction to DiagDirection as that's what it really operates on 2006-03-09 12:32:25 +00:00
matthijs a00385913b (svn r3802) * Add a dummy file in the scenario dir to make the makefile stop complaining on make install (temporary hack). 2006-03-08 23:21:32 +00:00
matthijs ba5172d0f4 (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.
2006-03-08 23:12:38 +00:00
tron 602e567074 (svn r3798) Fix typo in r3795 2006-03-08 20:25:28 +00:00
tron 2bd2f75de2 (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 2006-03-08 19:47:18 +00:00
tron 463cf2ec6b (svn r3795) Add a function to request the orientation of a depot 2006-03-08 15:29:23 +00:00
tron 7bce62899c (svn r3794) Use already available accessor functions instead of GB() 2006-03-08 15:28:38 +00:00
tron 2c6435ccc9 (svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592 2006-03-08 13:03:29 +00:00
tron 9b53fb9e03 (svn r3791) Replace home grown direction handling for placing lighthouses by standard DiagDir 2006-03-08 12:26:56 +00:00
tron e68120034c (svn r3789) Add an enum and function to handle DiagDirection changes 2006-03-08 08:51:26 +00:00
tron af69dba514 (svn r3788) Fix (harmless) typo in r3784 2006-03-08 08:36:00 +00:00
tron 2181a72e9e (svn r3787) Use DirToDiagDir() instead of >> 1 2006-03-08 08:28:48 +00:00
tron 03536a32a1 (svn r3786) More work for DirDiff 2006-03-08 08:16:31 +00:00
tron 8b447de24c (svn r3785) Replace some if-magic to determine the turning direction for road vehicles with the new DirDiff stuff 2006-03-08 07:50:26 +00:00
tron ecabf8a5f0 (svn r3784) Add a type and functions to handle direction changes 2006-03-08 07:48:56 +00:00
tron fbe939b31f (svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends 2006-03-08 06:55:33 +00:00
tron 313754011d (svn r3779) Move CheckTunnelInWay() to a more appropriate place, invert its result and give it a less ambiguous name (IsTunnelInWay) 2006-03-07 07:51:05 +00:00
peter1138 a172b194c2 (svn r3778) - Fix crash when resizing news history window. 2006-03-06 23:01:35 +00:00
tron f2dc736554 (svn r3777) Add some functions to handle tunnels 2006-03-06 20:55:24 +00:00