@@ -23,31 +23,34 @@ enum AircraftSubType {
AIR_AIRCRAFT = 2, ///< an airplane
AIR_SHADOW = 4, ///< shadow of the aircraft
AIR_ROTOR = 6 ///< rotor of an helicopter
};
/** Handle Aircraft specific tasks when a an Aircraft enters a hangar
/**
* Handle Aircraft specific tasks when a an Aircraft enters a hangar
* @param *v Vehicle that enters the hangar
*/
void HandleAircraftEnterHangar(Aircraft *v);
/** Get the size of the sprite of an aircraft sprite heading west (used for lists)
* Get the size of the sprite of an aircraft sprite heading west (used for lists)
* @param engine The engine to get the sprite from
* @param width The width of the sprite
* @param height The height of the sprite
void GetAircraftSpriteSize(EngineID engine, uint &width, uint &height);
* Updates the status of the Aircraft heading or in the station
* @param st Station been updated
void UpdateAirplanesOnNewStation(const Station *st);
/** Update cached values of an aircraft.
* Update cached values of an aircraft.
* Currently caches callback 36 max speed.
* @param v Vehicle
void UpdateAircraftCache(Aircraft *v);
void AircraftLeaveHangar(Aircraft *v);