void fgControlsInit() {
int i;
- struct CONTROLS *c;
+ struct fgCONTROLS *c;
c = ¤t_aircraft.controls;
FG_Elevator = 0.0;
void fgElevMove(double amt) {
- struct CONTROLS *c;
+ struct fgCONTROLS *c;
c = ¤t_aircraft.controls;
FG_Elevator += amt;
}
void fgElevSet(double pos) {
- struct CONTROLS *c;
+ struct fgCONTROLS *c;
c = ¤t_aircraft.controls;
FG_Elevator = pos;
}
void fgElevTrimMove(double amt) {
- struct CONTROLS *c;
+ struct fgCONTROLS *c;
c = ¤t_aircraft.controls;
FG_Elev_Trim += amt;
}
void fgElevTrimSet(double pos) {
- struct CONTROLS *c;
+ struct fgCONTROLS *c;
c = ¤t_aircraft.controls;
FG_Elev_Trim = pos;
}
void fgAileronMove(double amt) {
- struct CONTROLS *c;
+ struct fgCONTROLS *c;
c = ¤t_aircraft.controls;
FG_Aileron += amt;
}
void fgAileronSet(double pos) {
- struct CONTROLS *c;
+ struct fgCONTROLS *c;
c = ¤t_aircraft.controls;
FG_Aileron = pos;
}
void fgRudderMove(double amt) {
- struct CONTROLS *c;
+ struct fgCONTROLS *c;
c = ¤t_aircraft.controls;
FG_Rudder += amt;
}
void fgRudderSet(double pos) {
- struct CONTROLS *c;
+ struct fgCONTROLS *c;
c = ¤t_aircraft.controls;
FG_Rudder = pos;
void fgThrottleMove(int engine, double amt) {
int i;
- struct CONTROLS *c;
+ struct fgCONTROLS *c;
c = ¤t_aircraft.controls;
if ( engine == FG_Throttle_All ) {
void fgThrottleSet(int engine, double pos) {
int i;
- struct CONTROLS *c;
+ struct fgCONTROLS *c;
c = ¤t_aircraft.controls;
if ( engine == FG_Throttle_All ) {
/* $Log$
-/* Revision 1.3 1997/08/27 03:30:01 curt
-/* Changed naming scheme of basic shared structures.
+/* Revision 1.4 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.3 1997/08/27 03:30:01 curt
+ * Changed naming scheme of basic shared structures.
+ *
* Revision 1.2 1997/06/21 17:12:48 curt
* Capitalized subdirectory names.
*