string callsign;
// can be aircraft, ship, storm, thermal or ballistic
- const char* m_type;
- const char* m_class;
- const char* path;
- const char* flightplan;
+ string m_type;
+ string m_class;
+ string path;
+ string flightplan;
FGAIFlightPlan *fp;
double wind_from_north; // in feet per second
double cd; // coefficient of drag
bool wind; // if true, model reacts to parent wind
- double weight; // in lbs
+ double mass; // in slugs
} FGAIModelEntity;
double _getY_shift() const;
double _getRotation() const;
- static const double rho;
+ double rho;
+ double T; // temperature, degs farenheit
+ double p; // pressure lbs/sq ft
+ double a; // speed of sound at altitude (ft/s)
+ double Mach; // Mach number
+
+ static const double e;
static const double lbs_to_slugs;
int _getID() const;