1
0
Fork 0

Capitalized subdirectory names.

This commit is contained in:
curt 1997-06-21 17:12:38 +00:00
parent 0688c54540
commit 450a307fc2
18 changed files with 118 additions and 54 deletions

View file

@ -24,7 +24,7 @@
#---------------------------------------------------------------------------
TARGET = libaircraft.a
TARGET = libAircraft.a
CFILES = aircraft.c
HFILES = aircraft.h
@ -61,12 +61,15 @@ clean:
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.
#

View file

@ -27,8 +27,8 @@
#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 */
@ -51,9 +51,12 @@ void aircraft_debug(int type);
/* $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.
*

View file

@ -24,7 +24,7 @@
#---------------------------------------------------------------------------
TARGET = libcontrols.a
TARGET = libControls.a
CFILES = controls.c
HFILES = controls.h
@ -61,12 +61,15 @@ clean:
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.
#

View file

@ -25,7 +25,7 @@
#include "controls.h"
#include "../aircraft/aircraft.h"
#include "../Aircraft/aircraft.h"
void fgControlsInit() {
@ -167,7 +167,10 @@ void fgThrottleSet(int engine, double pos) {
/* $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.
*
*/

View file

@ -24,7 +24,7 @@
#---------------------------------------------------------------------------
TARGET=libflight.a
TARGET=libFlight.a
CFILES = flight.c
OFILES = $(CFILES:.c=.o)
@ -57,7 +57,7 @@ clean:
# 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
@ -66,6 +66,9 @@ 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.
#

View file

@ -28,7 +28,7 @@
#define FLIGHT_H
#include "slew/slew.h"
#include "Slew/slew.h"
#include "LaRCsim/ls_interface.h"
@ -407,9 +407,12 @@ int fgFlightModelUpdate(int model, struct flight_params *f, int multiloop);
/* $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.
*

View file

@ -11,7 +11,7 @@
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
@ -56,6 +56,9 @@ clean:
#---------------------------------------------------------------------------
# $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()
#

View file

@ -236,7 +236,7 @@ $Original log: LaRCsim.c,v $
#include "ls_cockpit.h"
#include "ls_interface.h"
#include "../flight.h"
#include "../../aircraft/aircraft.h"
#include "../../Aircraft/aircraft.h"
/* global variable declarations */
@ -909,6 +909,9 @@ int fgLaRCsim_2_Flight (struct flight_params *f) {
/* 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.
*

View file

@ -63,6 +63,7 @@ GLenum GLTKkey(int k, GLenum mask) {
return GL_TRUE;
case TK_s:
c->throttle[0] += 0.05;
return GL_TRUE;
case TK_ESCAPE:
tkQuit();
}
@ -74,10 +75,13 @@ GLenum GLTKkey(int k, GLenum mask) {
/* $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.
*

View file

@ -30,7 +30,7 @@
#include <GL/glut.h>
#include "GLUTkey.h"
#include "../aircraft/aircraft.h"
#include "../Aircraft/aircraft.h"
extern double fogDensity;
extern double goal_view_offset;
@ -152,9 +152,12 @@ void GLUTspecialkey(int k, int x, int y) {
/* $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
*

View file

@ -37,10 +37,10 @@
#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
@ -336,14 +336,17 @@ GLint fgRunwayHack(double width, double length) {
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();
}
@ -534,9 +537,12 @@ int main( int argc, char *argv[] ) {
/* $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
*

View file

@ -24,7 +24,7 @@
#---------------------------------------------------------------------------
TARGET=proto
TARGET=fgfs0
CC = gcc
@ -66,10 +66,10 @@ LIBS = $(INTERFACE_LIBS) $(GRAPHICS_LIBS) -lm -lfl
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
#---------------------------------------------------------------------------
@ -89,22 +89,25 @@ clean:
# 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.
#

View file

@ -31,7 +31,7 @@
#include "gltk.h"
#endif
#include "../scenery/mesh.h"
#include "../Scenery/mesh.h"
#include "../mat3/mat3.h"
@ -108,9 +108,12 @@ GLint mesh2GL(struct mesh *m) {
/* $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
*

View file

@ -24,7 +24,7 @@
#---------------------------------------------------------------------------
TARGET = libscenery.a
TARGET = libScenery.a
CFILES = scanner.c parser.c common.c mesh.c
HFILES =
@ -89,6 +89,9 @@ mesh.o: mesh.c mesh.h common.h
#---------------------------------------------------------------------------
# $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.
#

View file

@ -27,8 +27,8 @@
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
@ -51,8 +51,17 @@ clean:
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.
#

View file

@ -24,7 +24,7 @@
#---------------------------------------------------------------------------
TARGET=libslew.a
TARGET=libSlew.a
CFILES = slew.c
OFILES = $(CFILES:.c=.o)
@ -57,12 +57,15 @@ clean:
# 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.
#

View file

@ -28,8 +28,8 @@
#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
@ -90,9 +90,12 @@ void fgSlewUpdate() {
/* $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.
*

View file

@ -24,7 +24,7 @@
#---------------------------------------------------------------------------
TARGET = libtimer.a
TARGET = libTimer.a
CFILES = fg_timer.c
HFILES = fg_timer.h
@ -64,6 +64,9 @@ fg_timer.o: fg_timer.c 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.
#