/* This is a record containing all the info for the aircraft currently
being operated */
-struct aircraft_params current_aircraft;
+struct AIRCRAFT current_aircraft;
/* This is a record containing global housekeeping information */
-struct general_params general;
+struct GENERAL general;
/* This is a record containing current weather info */
-struct weather_params current_weather;
+struct WEATHER current_weather;
/* view parameters */
static GLfloat win_ratio = 1.0;
**************************************************************************/
static void fgInitVisuals() {
- struct weather_params *w;
+ struct WEATHER *w;
w = ¤t_weather;
static void fgUpdateViewParams() {
struct fgCartesianPoint view_pos /*, alt_up */;
- struct flight_params *f;
- struct time_params *t;
+ struct FLIGHT *f;
+ struct fgTIME *t;
MAT3mat R, TMP, UP, LOCAL, VIEW;
MAT3vec vec, view_up, forward, view_forward, local_up, nup, nsun;
double sun_angle, temp, ambient, diffuse, sky;
**************************************************************************/
void fgUpdateTimeDepCalcs(int multi_loop) {
- struct flight_params *f;
- struct time_params *t;
+ struct FLIGHT *f;
+ struct fgTIME *t;
int i;
f = ¤t_aircraft.flight;
double cur_elev;
double joy_x, joy_y;
int joy_b1, joy_b2;
- struct flight_params *f;
+ struct FLIGHT *f;
f = ¤t_aircraft.flight;
**************************************************************************/
int main( int argc, char *argv[] ) {
- struct flight_params *f;
+ struct FLIGHT *f;
f = ¤t_aircraft.flight;
/* $Log$
-/* Revision 1.10 1997/08/25 20:27:22 curt
-/* Merged in initial HUD and Joystick code.
+/* Revision 1.11 1997/08/27 03:30:16 curt
+/* Changed naming scheme of basic shared structures.
/*
+ * Revision 1.10 1997/08/25 20:27:22 curt
+ * Merged in initial HUD and Joystick code.
+ *
* Revision 1.9 1997/08/22 21:34:39 curt
* Doing a bit of reorganizing and house cleaning.
*