equal
deleted
inserted
replaced
303 bool IsInDepot() const { return CheckTrainInDepot(this, false) != -1; } |
303 bool IsInDepot() const { return CheckTrainInDepot(this, false) != -1; } |
304 bool IsStoppedInDepot() const { return CheckTrainStoppedInDepot(this) >= 0; } |
304 bool IsStoppedInDepot() const { return CheckTrainStoppedInDepot(this) >= 0; } |
305 void Tick(); |
305 void Tick(); |
306 void OnNewDay(); |
306 void OnNewDay(); |
307 TileIndex GetOrderStationLocation(StationID station); |
307 TileIndex GetOrderStationLocation(StationID station); |
|
308 bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse); |
308 }; |
309 }; |
309 |
310 |
310 #endif /* TRAIN_H */ |
311 #endif /* TRAIN_H */ |