summaryrefslogtreecommitdiff
path: root/src/yapf
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2008-03-22 11:29:03 +0000
committermaedhros <maedhros@openttd.org>2008-03-22 11:29:03 +0000
commit389d89ea491981844d469d5ab12d1c64cb77c5e6 (patch)
tree2a29ee58dfef3158b52aafdf8c5b8d57b005ba1c /src/yapf
parent292cfc56f65b1866d8fe31a9450b88a6831eee1d (diff)
downloadopenttd-389d89ea491981844d469d5ab12d1c64cb77c5e6.tar.xz
(svn r12392) -Fix (r12391): Remove yapf/follow_track.cpp again.
Diffstat (limited to 'src/yapf')
-rw-r--r--src/yapf/follow_track.cpp47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/yapf/follow_track.cpp b/src/yapf/follow_track.cpp
deleted file mode 100644
index ad2f0b724..000000000
--- a/src/yapf/follow_track.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-/* $Id$ */
-
-#include "../stdafx.h"
-#include "yapf.hpp"
-#include "follow_track.hpp"
-
-void FollowTrackInit(FollowTrack_t *This, const Vehicle* v)
-{
- CFollowTrackWater& F = *(CFollowTrackWater*) This;
- F.Init(v, NULL);
-}
-
-bool FollowTrackWater(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
-{
- CFollowTrackWater& F = *(CFollowTrackWater*) This;
- return F.Follow(old_tile, old_td);
-}
-
-bool FollowTrackRoad(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
-{
- CFollowTrackRoad& F = *(CFollowTrackRoad*) This;
- return F.Follow(old_tile, old_td);
-}
-
-bool FollowTrackRail(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
-{
- CFollowTrackRail& F = *(CFollowTrackRail*) This;
- return F.Follow(old_tile, old_td);
-}
-
-bool FollowTrackWaterNo90(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
-{
- CFollowTrackWaterNo90& F = *(CFollowTrackWaterNo90*) This;
- return F.Follow(old_tile, old_td);
-}
-
-bool FollowTrackRoadNo90(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
-{
- CFollowTrackRoadNo90& F = *(CFollowTrackRoadNo90*) This;
- return F.Follow(old_tile, old_td);
-}
-
-bool FollowTrackRailNo90(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
-{
- CFollowTrackRailNo90& F = *(CFollowTrackRailNo90*) This;
- return F.Follow(old_tile, old_td);
-}