summaryrefslogtreecommitdiff
path: root/rail_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-26 11:08:44 +0000
committertron <tron@openttd.org>2006-03-26 11:08:44 +0000
commit9ad72f2d47f63c3d871b88d210bd1f0b0c986530 (patch)
tree1dae9d24ee9377f598341692acfb1971efa15012 /rail_cmd.c
parentc55d22676924b4e1850b83dc8e18cbd855774a06 (diff)
downloadopenttd-9ad72f2d47f63c3d871b88d210bd1f0b0c986530.tar.xz
(svn r4111) Fix/Remove some stale comments
Diffstat (limited to 'rail_cmd.c')
-rw-r--r--rail_cmd.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/rail_cmd.c b/rail_cmd.c
index 8e4094d14..039acf9bd 100644
--- a/rail_cmd.c
+++ b/rail_cmd.c
@@ -38,16 +38,6 @@ const byte _track_sloped_sprites[14] = {
void ShowTrainDepotWindow(TileIndex tile);
-/* Format of rail map5 byte.
- * 00 abcdef => Normal rail
- * 01 abcdef => Rail with signals
- * 10 ?????? => Unused
- * 11 ????dd => Depot
- *
- * abcdef is a bitmask, which contains ones for all present tracks. Below the
- * value for each track is given.
- */
-
/* 4
* ---------
* |\ /|
@@ -582,7 +572,7 @@ int32 CmdRemoveRailroadTrack(int x, int y, uint32 flags, uint32 p1, uint32 p2)
/** Build a train depot
* @param x,y position of the train depot
* @param p1 rail type
- * @param p2 depot direction (0 through 3), where 0 is NE, 1 is SE, 2 is SW, 3 is NW
+ * @param p2 entrance direction (DiagDirection)
*
* @todo When checking for the tile slope,
* distingush between "Flat land required" and "land sloped in wrong direction"