**************************************************************************/
-#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 control_params {
+typedef struct {
double aileron;
double elevator;
double elevator_trim;
double rudder;
double throttle[FG_MAX_ENGINES];
-};
+} fgCONTROLS, *pfgControls;
#define FG_Elevator c->elevator
*/
-void fgControlsInit();
+extern fgCONTROLS cur_control_params;
+
+void fgControlsInit( void );
void fgElevMove(double amt);
void fgElevSet(double pos);
void fgThrottleSet(int engine, double pos);
-
-#endif CONTROLS_H
+#endif /* _CONTROLS_H */
/* $Log$
-/* Revision 1.3 1997/05/31 19:16:27 curt
-/* Elevator trim added.
+/* 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.
+ *
+ * Revision 1.4 1997/07/23 21:52:18 curt
+ * Put comments around the text after an #endif for increased portability.
+ *
+ * Revision 1.3 1997/05/31 19:16:27 curt
+ * Elevator trim added.
+ *
* Revision 1.2 1997/05/23 15:40:33 curt
* Added GNU copyright headers.
*