]> git.mxchange.org Git - flightgear.git/blobdiff - Controls/controls.h
Removed "depend" files from cvs control. Other minor make tweaks.
[flightgear.git] / Controls / controls.h
index cf4b8a6a61d092e50d1329cb56addf6650ca3f99..03671a995071cc8fe77bbae8bb13d2b41657a7e6 100644 (file)
  **************************************************************************/
 
 
-#ifndef CONTROLS_H
-#define CONTROLS_H
+#ifndef _CONTROLS_H
+#define _CONTROLS_H
 
 
-#include "../limits.h"
+#include <Include/fg_limits.h>
 
 
 /* Define a structure containing the control parameters */
 
-struct fgCONTROLS {
+typedef struct {
     double aileron;
     double elevator;
     double elevator_trim;
     double rudder;
     double throttle[FG_MAX_ENGINES];
-};
+} fgCONTROLS, *pfgControls;
 
 
 #define FG_Elevator     c->elevator
@@ -62,7 +62,9 @@ struct fgCONTROLS {
 */
 
 
-void fgControlsInit();
+extern fgCONTROLS cur_control_params;
+
+void fgControlsInit( void );
 
 void fgElevMove(double amt);
 void fgElevSet(double pos);
@@ -76,15 +78,36 @@ void fgThrottleMove(int engine, double amt);
 void fgThrottleSet(int engine, double pos);
 
 
-
-#endif /* CONTROLS_H */
+#endif /* _CONTROLS_H */
 
 
 /* $Log$
-/* Revision 1.6  1997/12/10 22:37:41  curt
-/* Prepended "fg" on the name of all global structures that didn't have it yet.
-/* i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
+/* Revision 1.12  1998/02/09 22:56:48  curt
+/* Removed "depend" files from cvs control.  Other minor make tweaks.
 /*
+ * Revision 1.11  1998/02/07 15:29:36  curt
+ * Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
+ * <chotchkiss@namg.us.anritsu.com>
+ *
+ * Revision 1.10  1998/01/27 00:47:52  curt
+ * Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
+ * system and commandline/config file processing code.
+ *
+ * Revision 1.9  1998/01/22 02:59:31  curt
+ * Changed #ifdef FILE_H to #ifdef _FILE_H
+ *
+ * Revision 1.8  1998/01/19 18:40:22  curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
+ * Revision 1.7  1997/12/15 23:54:36  curt
+ * Add xgl wrappers for debugging.
+ * Generate terrain normals on the fly.
+ *
+ * Revision 1.6  1997/12/10 22:37:41  curt
+ * Prepended "fg" on the name of all global structures that didn't have it yet.
+ * i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
+ *
  * Revision 1.5  1997/08/27 03:30:02  curt
  * Changed naming scheme of basic shared structures.
  *