summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-06 15:39:34 +0000
committerrubidium <rubidium@openttd.org>2009-02-06 15:39:34 +0000
commit0cfc4028234f3fcc1363033b11d5983bc2d01c34 (patch)
tree99d295f1c8fd70a19dab1c3e2d3b4dd143f4df0f /src/roadveh_cmd.cpp
parentef754b8b6d41420ffabee4e191865f995a49c948 (diff)
downloadopenttd-0cfc4028234f3fcc1363033b11d5983bc2d01c34.tar.xz
(svn r15374) -Codechange: remove a magic constant.
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r--src/roadveh_cmd.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index 05c842f54..acd5c18f3 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -1202,24 +1202,6 @@ static uint RoadFindPathToStop(const Vehicle *v, TileIndex tile)
return dist;
}
-enum {
- RDE_NEXT_TILE = 0x80,
- RDE_TURNED = 0x40,
-
- /* Start frames for when a vehicle enters a tile/changes its state.
- * The start frame is different for vehicles that turned around or
- * are leaving the depot as the do not start at the edge of the tile.
- * For trams there are a few different start frames as there are two
- * places where trams can turn. */
- RVC_DEFAULT_START_FRAME = 0,
- RVC_TURN_AROUND_START_FRAME = 1,
- RVC_DEPOT_START_FRAME = 6,
- RVC_START_FRAME_AFTER_LONG_TRAM = 21,
- RVC_TURN_AROUND_START_FRAME_SHORT_TRAM = 16,
- /* Stop frame for a vehicle in a drive-through stop */
- RVC_DRIVE_THROUGH_STOP_FRAME = 7
-};
-
struct RoadDriveEntry {
byte x, y;
};