]> git.mxchange.org Git - flightgear.git/blobdiff - LaRCsim/ls_cockpit.h
C++ ifying ...
[flightgear.git] / LaRCsim / ls_cockpit.h
index 4680881d82a6f02fbd52841df983a3a26b416466..3dcddcdc992b616f711be6a282e54f5725508e9f 100644 (file)
 
 $Header$
 $Log$
+Revision 1.5  1998/10/17 01:34:14  curt
+C++ ifying ...
+
+Revision 1.4  1998/08/06 12:46:39  curt
+Header change.
+
+Revision 1.3  1998/01/22 02:59:32  curt
+Changed #ifdef FILE_H to #ifdef _FILE_H
+
 Revision 1.2  1997/05/31 19:16:27  curt
 Elevator trim added.
 
@@ -54,6 +63,11 @@ Initial Flight Gear revision.
 
 --------------------------------------------------------------------------*/
 
+
+#ifndef _LS_COCKPIT_H
+#define _LS_COCKPIT_H
+
+
 typedef struct {
     float   long_stick, lat_stick, rudder_pedal;
     float   long_trim;
@@ -62,6 +76,7 @@ typedef struct {
     short   left_pb_on_stick, right_pb_on_stick, trig_pos_1, trig_pos_2;
     short   sb_extend, sb_retract, gear_sel_up;
     float   throttle_pct;
+    float   brake_pct;
 } COCKPIT;
 
 extern COCKPIT cockpit_;
@@ -83,3 +98,7 @@ extern COCKPIT cockpit_;
 #define SB_extend      cockpit_.sb_extend
 #define SB_retract     cockpit_.sb_retract
 #define Gear_sel_up    cockpit_.gear_sel_up
+#define Brake_pct       cockpit_.brake_pct
+
+
+#endif /* _LS_COCKPIT_H */