#include "slew.hxx"
-#include <Flight/flight.hxx>
+#include <FDM/flight.hxx>
#include <Aircraft/aircraft.hxx>
#include <Controls/controls.hxx>
#include <Include/fg_constants.h>
// reset flight params to a specific position
void fgSlewInit(double pos_x, double pos_y, double pos_z, double heading) {
- fgFLIGHT *f;
-
- f = current_aircraft.flight;
+ FGState *f;
+
+ f = current_aircraft.fdm_state;
/*
f->pos_x = pos_x;
// update position based on inputs, positions, velocities, etc.
void fgSlewUpdate( void ) {
- fgFLIGHT *f;
- fgCONTROLS *c;
+ FGState *f;
+ FGControls *c;
- f = current_aircraft.flight;
+ f = current_aircraft.fdm_state;
c = current_aircraft.controls;
/* f->Psi += ( c->aileron / 8 );
// $Log$
+// Revision 1.5 1999/02/01 21:33:33 curt
+// Renamed FlightGear/Simulator/Flight to FlightGear/Simulator/FDM since
+// Jon accepted my offer to do this and thought it was a good idea.
+//
+// Revision 1.4 1998/12/05 16:13:14 curt
+// Renamed class fgCONTROLS to class FGControls.
+//
+// Revision 1.3 1998/12/05 15:54:16 curt
+// Renamed class fgFLIGHT to class FGState as per request by JSB.
+//
// Revision 1.2 1998/10/17 01:34:17 curt
// C++ ifying ...
//