X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=FDM%2Fflight.h;h=4c0f9e7ef4bcc0871cf96fcb591da3bf69eb9909;hb=156e61d3676e3b467e96b2e13e16c245adaed531;hp=6535a1ab745d2b2467d16ddea24ce4c22297bacf;hpb=94d4bbdd094c08b4beb4749efb3e258edea78a6d;p=flightgear.git diff --git a/FDM/flight.h b/FDM/flight.h index 6535a1ab7..4c0f9e7ef 100644 --- a/FDM/flight.h +++ b/FDM/flight.h @@ -387,6 +387,9 @@ typedef struct { #define FG_Y_pilot_rwy f->d_pilot_rwy_rwy_v[1] #define FG_H_pilot_rwy f->d_pilot_rwy_rwy_v[2] + double climb_rate; /* in feet per second */ +#define FG_Climb_Rate f->climb_rate + } fgFLIGHT, *pfgFlight; @@ -414,9 +417,12 @@ int fgFlightModelSetAltitude(int model, fgFLIGHT *f, double alt_meters); /* $Log$ -/* Revision 1.18 1998/07/30 23:44:36 curt -/* Beginning to add support for multiple flight models. +/* Revision 1.19 1998/09/29 02:02:41 curt +/* Added a rate of climb calculation. /* + * Revision 1.18 1998/07/30 23:44:36 curt + * Beginning to add support for multiple flight models. + * * Revision 1.17 1998/07/12 03:08:28 curt * Added fgFlightModelSetAltitude() to force the altitude to something * other than the current altitude. LaRCsim doesn't let you do this by just