]> git.mxchange.org Git - flightgear.git/blobdiff - FDM/flight.h
Changed naming scheme of basic shared structures.
[flightgear.git] / FDM / flight.h
index dcad05c2338e2414aba7f6435e0ac35272c0db79..c9196ed568ea8ad972342a47d95394f523bc153a 100644 (file)
@@ -32,7 +32,7 @@
 #include "LaRCsim/ls_interface.h"
 
 
-/* Define the various supported flight models (not all implemented) */
+/* Define the various supported flight models (most not yet implemented) */
 #define FG_LARCSIM     0
 #define FG_ACM         1
 #define FG_HELICOPTER  2
@@ -41,6 +41,7 @@
 #define FG_PARACHUTE   5
 #define FG_SLEW        6
 #define FG_EXTERN_GPS  7
+#define FG_EXTERN_NET  8
 
 
 /* Define a structure containing the shared flight model parameters */
@@ -60,7 +61,7 @@
 typedef double FG_VECTOR_3[3];
 
 /* This is based heavily on LaRCsim/ls_generic.h */
-struct flight_params {
+struct FLIGHT {
 
 /*================== Mass properties and geometry values ==================*/
 
@@ -399,20 +400,26 @@ struct flight_params {
 /* General interface to the flight model routines */
 
 /* Initialize the flight model parameters */
-int fgFlightModelInit(int model, struct flight_params *f, double dt);
+int fgFlightModelInit(int model, struct FLIGHT *f, double dt);
 
 /* Run multiloop iterations of the flight model */
-int fgFlightModelUpdate(int model, struct flight_params *f, int multiloop);
+int fgFlightModelUpdate(int model, struct FLIGHT *f, int multiloop);
 
 
-#endif FLIGHT_H
+#endif /* FLIGHT_H */
 
 
 /* $Log$
-/* Revision 1.6  1997/06/21 17:52:22  curt
-/* Continue directory shuffling ... everything should be compilable/runnable
-/* again.
+/* Revision 1.8  1997/08/27 03:30:06  curt
+/* Changed naming scheme of basic shared structures.
 /*
+ * Revision 1.7  1997/07/23 21:52:19  curt
+ * Put comments around the text after an #endif for increased portability.
+ *
+ * Revision 1.6  1997/06/21 17:52:22  curt
+ * Continue directory shuffling ... everything should be compilable/runnable
+ * again.
+ *
  * Revision 1.5  1997/06/21 17:12:49  curt
  * Capitalized subdirectory names.
  *