File diff r10570:e200b86ce378 → r10571:99cb9a95b4cf
src/aircraft.h
Show inline comments
 
@@ -96,12 +96,17 @@ void UpdateAirplanesOnNewStation(const S
 
/** Update cached values of an aircraft.
 
 * Currently caches callback 36 max speed.
 
 * @param v Vehicle
 
 */
 
void UpdateAircraftCache(Vehicle *v);
 

	
 
void AircraftLeaveHangar(Vehicle *v);
 
void AircraftNextAirportPos_and_Order(Vehicle *v);
 
void SetAircraftPosition(Vehicle *v, int x, int y, int z);
 
byte GetAircraftFlyingAltitude(const Vehicle *v);
 

	
 
/**
 
 * This class 'wraps' Vehicle; you do not actually instantiate this class.
 
 * You create a Vehicle using AllocateVehicle, so it is added to the pool
 
 * and you reinitialize that to a Train using:
 
 *   v = new (v) Aircraft();
 
 *