]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGControls.cpp
FG_HAVE_STD_INCLUDES -> SG_HAVE_STD_INCLUDES
[flightgear.git] / src / FDM / JSBSim / FGControls.cpp
index ab2c13c77558d9788aeb019bc9aca5fa0a0ff565..d1206f92101caeed4ed1a96ffc62cf95208d9538 100644 (file)
@@ -24,6 +24,8 @@
 
 #include "FGControls.h"
 
+static const char *IdSrc = "$Header$";
+static const char *IdHdr = "ID_CONTROLS";
 
 FGControls controls;
 
@@ -35,13 +37,13 @@ FGControls::FGControls() :
     elevator_trim( 1.969572E-03 ),
     rudder( 0.0 )
 {
-    for ( int engine = 0; engine < MAX_ENGINES; engine++ ) {
-       throttle[engine] = 0.0;
-    }
+  for ( int engine = 0; engine < MAX_ENGINES; engine++ ) {
+    throttle[engine] = 0.0;
+  }
 
-    for ( int wheel = 0; wheel < MAX_WHEELS; wheel++ ) {
-        brake[wheel] = 0.0;
-    }
+  for ( int wheel = 0; wheel < MAX_WHEELS; wheel++ ) {
+    brake[wheel] = 0.0;
+  }
 }
 
 
@@ -51,8 +53,33 @@ FGControls::~FGControls() {
 
 
 // $Log$
-// Revision 1.2  1999/06/21 03:01:38  curt
-// Updated for both JSBsim and Tony Peden's c172 flight model.
+// Revision 1.21  2000/11/14 19:32:03  curt
+// Nov. 14, 2000 JSBSim updates
+//
+// Revision 1.4  2000/10/13 19:21:02  jsb
+// ** JSB ** Added version identifiers for all files
+//
+// Revision 1.3  2000/04/26 10:55:57  jsb
+// Made changes as required by Curt to install JSBSim into FGFS
+//
+// Revision 1.8  2000/04/24 21:49:06  curt
+// Updated JSBsim code.
+//
+// Revision 1.2  2000/04/15 13:16:54  jsb
+// In good shape, now, changes to Coefficient and aircraft, mostly, with new commands added and inputs and outputs separated.
+//
+// Revision 1.7  1999/12/30 17:01:59  curt
+// Here is a wrap-up of the latest changes to JSBSim. It still is flaky, but
+// much less so due to returning the aero reference point stuff to the config
+// files. Don't know what happened there ...
+//
+// Additionally, I have added a new field to the config file: CFG_VERSION. A
+// version number, currently 1.1, is assigned to the config file and a matching
+// definition is found in FGDefs.h. The two need to match. Tony has also added
+// code into FGAircraft.cpp to handle if aero reference point is not specified.
+//
+// Revision 1.6  1999/09/07 21:15:45  curt
+// Updates to get engine working.
 //
 // Revision 1.1  1999/02/13 01:12:03  curt
 // Initial Revision.