tron
|
b2412f7472
|
(svn r3856) Distinct between bridge ramps and bridge middle parts
|
19 years ago |
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
|
19 years ago |
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.
|
19 years ago |
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)
|
19 years ago |
tron
|
5d939d9c10
|
(svn r3851) Rail depots only have an entrance at one side, therefore use UpdateSignalsOnSegment() instead of SetSignalsOnBothDir()
|
19 years ago |
tron
|
b812bbeda3
|
(svn r3849) Fix bug in r3846
|
19 years ago |
tron
|
e8ccd9641f
|
(svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges
|
19 years ago |
tron
|
1067069e33
|
(svn r3838) Demystify building bridge middle parts a bit by removing some magic numbers and generic names
|
19 years ago |
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
|
19 years ago |
tron
|
b05a98fdfa
|
(svn r3832) Replace some magic numbers by (Diag)Direction enums
|
19 years ago |
tron
|
12d252d9bd
|
(svn r3831) Add and use GetRailDepotDirection()
|
19 years ago |
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
|
19 years ago |
tron
|
b394f72fa9
|
(svn r3829) Reduce the use of _error_message by directly returning error codes instead of using this global variable
|
19 years ago |
tron
|
214b5eb42f
|
(svn r3827) Remove the global variable _error_message_2, it's only used as local variable
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |
tron
|
929fae7b68
|
(svn r3816) Use existing accessors
|
19 years ago |
tron
|
6892e04d14
|
(svn r3814) Remove another call to FindLandscapeHeight()
|
19 years ago |
tron
|
293bf531be
|
(svn r3813) Simplify strange control flow
|
19 years ago |
tron
|
abca252ff5
|
(svn r3812) Remove a pointless goto
|
19 years ago |
bjarni
|
96641f462e
|
(svn r3811) -Fix: [autoreplace]: (FS#67) autoreplacing trains now keep their tile length instead of their pixel length
|
19 years ago |
peter1138
|
25970764a3
|
(svn r3809) - Add map accessor files to MS VS 2003 project file
|
19 years ago |
peter1138
|
9c7f09322e
|
(svn r3805) - [FS#62] Fix doxygen comments to refer to the correct parameter. (sulai)
|
19 years ago |
tron
|
78a7b15ce0
|
(svn r3803) Change the second parameter of UpdateSignalsOnSegment() from Direction to DiagDirection as that's what it really operates on
|
19 years ago |
matthijs
|
a00385913b
|
(svn r3802) * Add a dummy file in the scenario dir to make the makefile stop complaining on make install (temporary hack).
|
19 years ago |
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.
|
19 years ago |
tron
|
602e567074
|
(svn r3798) Fix typo in r3795
|
19 years ago |
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
|
19 years ago |
tron
|
463cf2ec6b
|
(svn r3795) Add a function to request the orientation of a depot
|
19 years ago |
tron
|
7bce62899c
|
(svn r3794) Use already available accessor functions instead of GB()
|
19 years ago |
tron
|
2c6435ccc9
|
(svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592
|
19 years ago |
tron
|
9b53fb9e03
|
(svn r3791) Replace home grown direction handling for placing lighthouses by standard DiagDir
|
19 years ago |
tron
|
e68120034c
|
(svn r3789) Add an enum and function to handle DiagDirection changes
|
19 years ago |
tron
|
af69dba514
|
(svn r3788) Fix (harmless) typo in r3784
|
19 years ago |
tron
|
2181a72e9e
|
(svn r3787) Use DirToDiagDir() instead of >> 1
|
19 years ago |
tron
|
03536a32a1
|
(svn r3786) More work for DirDiff
|
19 years ago |
tron
|
8b447de24c
|
(svn r3785) Replace some if-magic to determine the turning direction for road vehicles with the new DirDiff stuff
|
19 years ago |
tron
|
ecabf8a5f0
|
(svn r3784) Add a type and functions to handle direction changes
|
19 years ago |
tron
|
fbe939b31f
|
(svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
|
19 years ago |
tron
|
313754011d
|
(svn r3779) Move CheckTunnelInWay() to a more appropriate place, invert its result and give it a less ambiguous name (IsTunnelInWay)
|
19 years ago |
peter1138
|
a172b194c2
|
(svn r3778) - Fix crash when resizing news history window.
|
19 years ago |
tron
|
f2dc736554
|
(svn r3777) Add some functions to handle tunnels
|
19 years ago |
tron
|
2d3c28f2b3
|
(svn r3776) Replace many ints and magic numbers by Direction, DiagDirection and friends
|
19 years ago |
peter1138
|
fc1e9c5a92
|
(svn r3775) Fix loading of server_port from config file, introduced in Darkvater's unified configuration changes (r3719+)
|
19 years ago |
tron
|
554f659e30
|
(svn r3774) Remove some more magic numbers and types
|
19 years ago |
tron
|
f3fb21c96c
|
(svn r3773) Shove some semantics down ottd's throat by replacing ints and magic numbers by enums and some related changes
|
19 years ago |
tron
|
d793292778
|
(svn r3770) Remove the _road_special_gettrackstatus hack. Egladil and me deem it unnecessary
|
19 years ago |
tron
|
27888c0694
|
(svn r3769) Add a cast to make KUDr's C++ compiler happy
|
19 years ago |
tron
|
586388c9f1
|
(svn r3767) Move all direction related enums and functions to a separate header
|
19 years ago |
tron
|
f007ad282c
|
(svn r3766) Add a function to get the RoadBits from an arbitrary tile
|
19 years ago |