src/train.h
changeset 10126 bed2d9d38577
parent 9346 6ef92fad565e
child 10293 b3ca071d6716
equal deleted inserted replaced
10125:64de1e83efa8 10126:bed2d9d38577
   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 */