src/roadveh.h
changeset 8890 8a0fa7ff70a0
parent 8827 730524764a69
child 9022 8fa9e902b06e
--- a/src/roadveh.h	Thu Apr 10 22:18:33 2008 +0000
+++ b/src/roadveh.h	Fri Apr 11 08:14:43 2008 +0000
@@ -47,6 +47,10 @@
 
 void CcBuildRoadVeh(bool success, TileIndex tile, uint32 p1, uint32 p2);
 
+byte GetRoadVehLength(const Vehicle *v);
+
+void RoadVehUpdateCache(Vehicle *v);
+
 
 /**
  * This class 'wraps' Vehicle; you do not actually instantiate this class.
@@ -77,10 +81,7 @@
 	void Tick();
 	void OnNewDay();
 	TileIndex GetOrderStationLocation(StationID station);
+	bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse);
 };
 
-byte GetRoadVehLength(const Vehicle *v);
-
-void RoadVehUpdateCache(Vehicle *v);
-
 #endif /* ROADVEH_H */