FG_Throttle[i] = 0.0;
}
+ FG_Brake_Amt = 0.0;
}
}
+double fgBrakeGet( void ) {
+ fgCONTROLS *c;
+ c = current_aircraft.controls;
+
+ return FG_Brake_Amt;
+}
+
+
+void fgBrakeSet( double brake_amt ) {
+ fgCONTROLS *c;
+ c = current_aircraft.controls;
+
+ FG_Brake_Amt = brake_amt;
+}
+
+
/* $Log$
-/* Revision 1.7 1998/02/07 15:29:36 curt
-/* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
-/* <chotchkiss@namg.us.anritsu.com>
+/* Revision 1.8 1998/09/29 02:01:31 curt
+/* Added a brake.
/*
+ * Revision 1.7 1998/02/07 15:29:36 curt
+ * Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
+ * <chotchkiss@namg.us.anritsu.com>
+ *
* Revision 1.6 1998/01/19 19:27:02 curt
* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
* This should simplify things tremendously.
double elevator_trim;
double rudder;
double throttle[FG_MAX_ENGINES];
+ double brake_amt;
} fgCONTROLS, *pfgControls;
#define FG_Throttle c->throttle
#define FG_Throttle_All -1
#define FG_Elev_Trim c->elevator_trim
+#define FG_Brake_Amt c->brake_amt
/*
#define Left_button cockpit_.left_pb_on_stick
void fgRudderSet(double pos);
void fgThrottleMove(int engine, double amt);
void fgThrottleSet(int engine, double pos);
-
+void fgBrakeSet( double brake_amt );
+double fgBrakeGet( void );
#ifdef __cplusplus
}
/* $Log$
-/* Revision 1.15 1998/04/25 22:06:27 curt
-/* Edited cvs log messages in source files ... bad bad bad!
+/* Revision 1.16 1998/09/29 02:01:32 curt
+/* Added a brake.
/*
+ * Revision 1.15 1998/04/25 22:06:27 curt
+ * Edited cvs log messages in source files ... bad bad bad!
+ *
* Revision 1.14 1998/04/22 13:26:19 curt
* C++ - ifing the code a bit.
*