Commit Graph

12 Commits

Author SHA1 Message Date
tron
3cb526d0d9 (svn r5101) Add a function to convert an axis and a flag for north/south into a DiagDirection. Use it for bridge ramps and ship depots 2006-06-04 16:04:15 +00:00
glx
a563b7d23c (svn r4732) - Fix: use correct types in IsValid[Direction|Axis] 2006-05-03 22:12:09 +00:00
matthijs
6756304fc1 (svn r4640) - Add: IsValidDiagDirection, IsValidDirection and IsValidAxis functions.
- Codechange: Use IsValidDiagDirection() in CmdBuildRoadStop().
2006-05-01 09:34:23 +00:00
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
70f9516015 (svn r3789) Add an enum and function to handle DiagDirection changes 2006-03-08 08:51:26 +00:00
tron
80878a2c9b (svn r3788) Fix (harmless) typo in r3784 2006-03-08 08:36:00 +00:00
tron
9273d0d2b9 (svn r3784) Add a type and functions to handle direction changes 2006-03-08 07:48:56 +00:00
tron
8cfcdaa733 (svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends 2006-03-08 06:55:33 +00:00
tron
af42610321 (svn r3777) Add some functions to handle tunnels 2006-03-06 20:55:24 +00:00
tron
49cb8eb470 (svn r3776) Replace many ints and magic numbers by Direction, DiagDirection and friends 2006-03-06 20:28:28 +00:00
tron
f62a7480b7 (svn r3769) Add a cast to make KUDr's C++ compiler happy 2006-03-05 12:54:22 +00:00
tron
f6176a89f9 (svn r3767) Move all direction related enums and functions to a separate header 2006-03-05 12:34:55 +00:00