src/aircraft.h
branchnoai
changeset 9869 6404afe43575
parent 9837 c9ec4f82e0d0
child 10142 56ee7da4ad56
equal deleted inserted replaced
9868:3998f2e73dda 9869:6404afe43575
   124 	int GetDisplayMaxSpeed() const { return this->max_speed * 10 / 16; }
   124 	int GetDisplayMaxSpeed() const { return this->max_speed * 10 / 16; }
   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 };
   130 };
   130 
   131 
   131 #endif /* AIRCRAFT_H */
   132 #endif /* AIRCRAFT_H */