summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-02 22:53:51 +0000
committerrubidium <rubidium@openttd.org>2008-08-02 22:53:51 +0000
commit10d8fb64569ec2c7728066ec80e0cdd837b12296 (patch)
tree3b2e49932212ce694bdf113cf512aa35e41046eb /src/train.h
parent33898d49bb511e62f8cb6e2f6e4b08074ddb73f3 (diff)
downloadopenttd-10d8fb64569ec2c7728066ec80e0cdd837b12296.tar.xz
(svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc)
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/train.h b/src/train.h
index 7f7cb6166..81b512c1b 100644
--- a/src/train.h
+++ b/src/train.h
@@ -273,6 +273,8 @@ int CheckTrainStoppedInDepot(const Vehicle *v);
void UpdateTrainAcceleration(Vehicle* v);
void CheckTrainsLengths();
+void FreeTrainTrackReservation(const Vehicle *v, TileIndex origin = INVALID_TILE, Trackdir orig_td = INVALID_TRACKDIR);
+
/**
* This class 'wraps' Vehicle; you do not actually instantiate this class.
* You create a Vehicle using AllocateVehicle, so it is added to the pool