src/aircraft.h
changeset 10126 bed2d9d38577
parent 9326 326baf219dda
child 10293 b3ca071d6716
equal deleted inserted replaced
10125:64de1e83efa8 10126:bed2d9d38577
   125 	Money GetRunningCost() const { return AircraftVehInfo(this->engine_type)->running_cost * _price.aircraft_running; }
   125 	Money GetRunningCost() const { return AircraftVehInfo(this->engine_type)->running_cost * _price.aircraft_running; }
   126 	bool IsInDepot() const { return (this->vehstatus & VS_HIDDEN) != 0 && IsHangarTile(this->tile); }
   126 	bool IsInDepot() const { return (this->vehstatus & VS_HIDDEN) != 0 && IsHangarTile(this->tile); }
   127 	void Tick();
   127 	void Tick();
   128 	void OnNewDay();
   128 	void OnNewDay();
   129 	TileIndex GetOrderStationLocation(StationID station);
   129 	TileIndex GetOrderStationLocation(StationID station);
       
   130 	bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse);
   130 };
   131 };
   131 
   132 
   132 #endif /* AIRCRAFT_H */
   133 #endif /* AIRCRAFT_H */