#define _CONTROLS_H
-#include "../Include/limits.h"
+#include <Include/fg_limits.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
/* 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
*/
+extern fgCONTROLS cur_control_params;
+
void fgControlsInit( void );
void fgElevMove(double amt);
void fgThrottleSet(int engine, double pos);
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _CONTROLS_H */
/* $Log$
-/* Revision 1.9 1998/01/22 02:59:31 curt
-/* Changed #ifdef FILE_H to #ifdef _FILE_H
+/* Revision 1.14 1998/04/22 13:26:19 curt
+/* C++ - ifing the code a bit.
/*
+ * Revision 1.13 1998/04/21 17:02:35 curt
+ * Prepairing for C++ integration.
+ *
+ * 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.