#---------------------------------------------------------------------------
-TARGET = libaircraft.a
+TARGET = libAircraft.a
CFILES = aircraft.c
HFILES = aircraft.h
aircraft.o: aircraft.c aircraft.h
$(CC) $(CFLAGS) $(INCLUDES) -c aircraft.c
-aircraft.h: ../flight/flight.h ../controls/controls.h
+aircraft.h: ../Flight/flight.h ../Controls/controls.h
touch aircraft.h
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.3 1997/06/21 17:12:42 curt
+# Capitalized subdirectory names.
+#
# Revision 1.2 1997/05/23 15:40:29 curt
# Added GNU copyright headers.
#
#ifndef AIRCRAFT_H
#define AIRCRAFT_H
-#include "../flight/flight.h"
-#include "../controls/controls.h"
+#include "../Flight/flight.h"
+#include "../Controls/controls.h"
/* Define a structure containing all the parameters for an aircraft */
/* $Log$
-/* Revision 1.2 1997/05/23 15:40:30 curt
-/* Added GNU copyright headers.
+/* Revision 1.3 1997/06/21 17:12:42 curt
+/* Capitalized subdirectory names.
/*
+ * Revision 1.2 1997/05/23 15:40:30 curt
+ * Added GNU copyright headers.
+ *
* Revision 1.1 1997/05/16 15:58:25 curt
* Initial revision.
*
#---------------------------------------------------------------------------
-TARGET = libcontrols.a
+TARGET = libControls.a
CFILES = controls.c
HFILES = controls.h
controls.h: ../limits.h
touch controls.h
-controls.o: controls.c controls.h ../aircraft/aircraft.h
+controls.o: controls.c controls.h ../Aircraft/aircraft.h
$(CC) $(CFLAGS) $(INCLUDES) -c controls.c
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.4 1997/06/21 17:12:47 curt
+# Capitalized subdirectory names.
+#
# Revision 1.3 1997/05/31 19:16:27 curt
# Elevator trim added.
#
#include "controls.h"
-#include "../aircraft/aircraft.h"
+#include "../Aircraft/aircraft.h"
void fgControlsInit() {
/* $Log$
-/* Revision 1.1 1997/05/31 19:24:04 curt
-/* Initial revision.
+/* Revision 1.2 1997/06/21 17:12:48 curt
+/* Capitalized subdirectory names.
/*
+ * Revision 1.1 1997/05/31 19:24:04 curt
+ * Initial revision.
+ *
*/
#---------------------------------------------------------------------------
-TARGET=libflight.a
+TARGET=libFlight.a
CFILES = flight.c
OFILES = $(CFILES:.c=.o)
# Secondary Targets
#---------------------------------------------------------------------------
-flight.h: slew/slew.h LaRCsim/ls_interface.h
+flight.h: Slew/slew.h LaRCsim/ls_interface.h
touch flight.h
flight.o: flight.c flight.h
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.4 1997/06/21 17:12:48 curt
+# Capitalized subdirectory names.
+#
# Revision 1.3 1997/05/29 02:32:25 curt
# Starting to build generic flight model interface.
#
#define FLIGHT_H
-#include "slew/slew.h"
+#include "Slew/slew.h"
#include "LaRCsim/ls_interface.h"
/* $Log$
-/* Revision 1.4 1997/05/29 22:39:57 curt
-/* Working on incorporating the LaRCsim flight model.
+/* Revision 1.5 1997/06/21 17:12:49 curt
+/* Capitalized subdirectory names.
/*
+ * Revision 1.4 1997/05/29 22:39:57 curt
+ * Working on incorporating the LaRCsim flight model.
+ *
* Revision 1.3 1997/05/29 02:32:25 curt
* Starting to build generic flight model interface.
*
TARGET = libLaRCsim.a
LaRCsimFILES = atmos_62.c ls_accel.c ls_aux.c ls_geodesy.c ls_gravity.c \
- ls_step.c ls_model.c default_model_routines.c ls_init.c ls_sync.c \
+ ls_step.c ls_model.c default_model_routines.c ls_init.c ls_sync.c
NavionFILES = navion_aero.c navion_engine.c navion_gear.c navion_init.c
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.3 1997/06/21 17:12:50 curt
+# Capitalized subdirectory names.
+#
# Revision 1.2 1997/06/17 16:52:02 curt
# Timer interval stuff now uses gettimeofday() instead of ftime()
#
#include "ls_cockpit.h"
#include "ls_interface.h"
#include "../flight.h"
-#include "../../aircraft/aircraft.h"
+#include "../../Aircraft/aircraft.h"
/* global variable declarations */
/* Flight Gear Modification Log
*
* $Log$
+ * Revision 1.8 1997/06/21 17:12:50 curt
+ * Capitalized subdirectory names.
+ *
* Revision 1.7 1997/05/31 19:16:28 curt
* Elevator trim added.
*
return GL_TRUE;
case TK_s:
c->throttle[0] += 0.05;
+ return GL_TRUE;
case TK_ESCAPE:
tkQuit();
}
/* $Log$
-/* Revision 1.2 1997/05/23 15:40:24 curt
-/* Added GNU copyright headers.
-/* Fog now works!
+/* Revision 1.3 1997/06/21 17:12:52 curt
+/* Capitalized subdirectory names.
/*
+ * Revision 1.2 1997/05/23 15:40:24 curt
+ * Added GNU copyright headers.
+ * Fog now works!
+ *
* Revision 1.1 1997/05/21 15:57:49 curt
* Renamed due to added GLUT support.
*
#include <GL/glut.h>
#include "GLUTkey.h"
-#include "../aircraft/aircraft.h"
+#include "../Aircraft/aircraft.h"
extern double fogDensity;
extern double goal_view_offset;
/* $Log$
-/* Revision 1.11 1997/06/18 04:10:31 curt
-/* A couple more runway tweaks ...
+/* Revision 1.12 1997/06/21 17:12:52 curt
+/* Capitalized subdirectory names.
/*
+ * Revision 1.11 1997/06/18 04:10:31 curt
+ * A couple more runway tweaks ...
+ *
* Revision 1.10 1997/06/18 02:21:23 curt
* Hacked in a runway
*
#include "GLTKkey.h"
#endif
-#include "../aircraft/aircraft.h"
-#include "../scenery/scenery.h"
+#include "../Aircraft/aircraft.h"
+#include "../Scenery/scenery.h"
#include "../mat3/mat3.h"
-#include "../timer/fg_timer.h"
+#include "../Timer/fg_timer.h"
#define DEG_TO_RAD 0.017453292
static void fgSceneryDraw() {
static float z = 32.35;
+ glPushMatrix();
+
glCallList(terrain);
- /* z -= 0.01; */
printf("*** Drawing runway at %.2f\n", z);
- glTranslatef( -398391.28, 120070.41, z);
+ glTranslatef( -398391.28, 120070.41, 32.35);
glRotatef(170.0, 0.0, 0.0, 1.0);
glCallList(runway);
+
+ glPopMatrix();
}
/* $Log$
-/* Revision 1.19 1997/06/18 04:10:31 curt
-/* A couple more runway tweaks ...
+/* Revision 1.20 1997/06/21 17:12:53 curt
+/* Capitalized subdirectory names.
/*
+ * Revision 1.19 1997/06/18 04:10:31 curt
+ * A couple more runway tweaks ...
+ *
* Revision 1.18 1997/06/18 02:21:24 curt
* Hacked in a runway
*
#---------------------------------------------------------------------------
-TARGET=proto
+TARGET=fgfs0
CC = gcc
CFILES = GLmain.c $(INTERFACE_FILES) mesh2GL.c
OFILES = $(CFILES:.c=.o)
-AFILES = ../aircraft/libaircraft.a ../controls/libcontrols.a \
- ../flight/libflight.a ../flight/LaRCsim/libLaRCsim.a \
- ../flight/slew/libslew.a ../mat3/libmat3.a ../scenery/libscenery.a \
- ../timer/libtimer.a
+AFILES = ../Aircraft/libAircraft.a ../Controls/libControls.a \
+ ../Flight/libFlight.a ../Flight/LaRCsim/libLaRCsim.a \
+ ../Flight/Slew/libSlew.a ../mat3/libmat3.a ../Scenery/libScenery.a \
+ ../Timer/libTimer.a
#---------------------------------------------------------------------------
# Secondary Targets
#---------------------------------------------------------------------------
-GLmain.o: GLmain.c GLUTkey.h ../aircraft/aircraft.h ../scenery/scenery.h \
- ../timer/fg_timer.h
+GLmain.o: GLmain.c GLUTkey.h ../Aircraft/aircraft.h ../Scenery/scenery.h \
+ ../Timer/fg_timer.h
$(CC) $(CFLAGS) $(INCLUDES) -c GLmain.c
-GLUTkey.o: GLUTkey.c GLUTkey.h ../aircraft/aircraft.h
+GLUTkey.o: GLUTkey.c GLUTkey.h ../Aircraft/aircraft.h
$(CC) $(CFLAGS) $(INCLUDES) -c GLUTkey.c
-GLTKkey.o: GLTKkey.c GLTKkey.h ../aircraft/aircraft.h
+GLTKkey.o: GLTKkey.c GLTKkey.h ../Aircraft/aircraft.h
$(CC) $(CFLAGS) $(INCLUDES) -c GLTKkey.c
-mesh2GL.o: mesh2GL.c ../scenery/mesh.h
+mesh2GL.o: mesh2GL.c ../Scenery/mesh.h
$(CC) $(CFLAGS) $(INCLUDES) -c mesh2GL.c
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.13 1997/06/21 17:12:54 curt
+# Capitalized subdirectory names.
+#
# Revision 1.12 1997/06/16 19:32:51 curt
# Starting to add general timer support.
#
#include "gltk.h"
#endif
-#include "../scenery/mesh.h"
+#include "../Scenery/mesh.h"
#include "../mat3/mat3.h"
/* $Log$
-/* Revision 1.20 1997/06/18 04:10:32 curt
-/* A couple more runway tweaks ...
+/* Revision 1.21 1997/06/21 17:12:54 curt
+/* Capitalized subdirectory names.
/*
+ * Revision 1.20 1997/06/18 04:10:32 curt
+ * A couple more runway tweaks ...
+ *
* Revision 1.19 1997/06/18 02:21:24 curt
* Hacked in a runway
*
#---------------------------------------------------------------------------
-TARGET = libscenery.a
+TARGET = libScenery.a
CFILES = scanner.c parser.c common.c mesh.c
HFILES =
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.6 1997/06/21 17:12:55 curt
+# Capitalized subdirectory names.
+#
# Revision 1.5 1997/05/31 19:16:29 curt
# Elevator trim added.
#
CC = gcc
-SUBSUBDIRS = flight/LaRCsim flight/slew
-SUBDIRS = aircraft controls flight mat3 scenery timer
+SUBSUBDIRS = Flight/LaRCsim Flight/Slew
+SUBDIRS = Aircraft Controls Flight mat3 Scenery Timer
MAIN = OpenGL
done
+tar: clean
+ (cd ../..; \
+ tar cvf prototype-0.04.tar FlightGear/COPYING FlightGear/Docs \
+ FlightGear/Scenery/mesa-e.scn FlightGear/Src FlightGear/Thanks)
+
+
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.7 1997/06/21 17:12:38 curt
+# Capitalized subdirectory names.
+#
# Revision 1.6 1997/06/16 19:32:50 curt
# Starting to add general timer support.
#
#---------------------------------------------------------------------------
-TARGET=libslew.a
+TARGET=libSlew.a
CFILES = slew.c
OFILES = $(CFILES:.c=.o)
# Secondary Targets
#---------------------------------------------------------------------------
-slew.o: slew.c slew.h ../../aircraft/aircraft.h ../../controls/controls.h
+slew.o: slew.c slew.h ../../Aircraft/aircraft.h ../../Controls/controls.h
$(CC) $(CFLAGS) $(INCLUDES) -c slew.c
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.2 1997/06/21 17:12:51 curt
+# Capitalized subdirectory names.
+#
# Revision 1.1 1997/05/29 02:29:42 curt
# Moved to their own directory.
#
#include "slew.h"
#include "../flight.h"
-#include "../../aircraft/aircraft.h"
-#include "../../controls/controls.h"
+#include "../../Aircraft/aircraft.h"
+#include "../../Controls/controls.h"
#ifndef M_PI
/* $Log$
-/* Revision 1.3 1997/05/29 22:40:00 curt
-/* Working on incorporating the LaRCsim flight model.
+/* Revision 1.4 1997/06/21 17:12:51 curt
+/* Capitalized subdirectory names.
/*
+ * Revision 1.3 1997/05/29 22:40:00 curt
+ * Working on incorporating the LaRCsim flight model.
+ *
* Revision 1.2 1997/05/29 12:30:19 curt
* Some initial mods to work better in a timer environment.
*
#---------------------------------------------------------------------------
-TARGET = libtimer.a
+TARGET = libTimer.a
CFILES = fg_timer.c
HFILES = fg_timer.h
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.2 1997/06/21 17:12:55 curt
+# Capitalized subdirectory names.
+#
# Revision 1.1 1997/06/16 19:24:19 curt
# Initial revision.
#