**************************************************************************/
-#ifndef AIRCRAFT_H
-#define AIRCRAFT_H
+#ifndef _AIRCRAFT_H
+#define _AIRCRAFT_H
#include <Flight/flight.h>
#include <Controls/controls.h>
void fgAircraftOutputCurrent(struct fgAIRCRAFT *a);
-#endif /* AIRCRAFT_H */
+#endif /* _AIRCRAFT_H */
/* $Log$
-/* Revision 1.8 1998/01/19 19:26:57 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.9 1998/01/22 02:59:23 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.8 1998/01/19 19:26:57 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
+ * Revision 1.7 1997/12/10 22:37:38 curt
+ * Prepended "fg"AIRCRAFT_H */
+
+
+/* $Log$
+/* Revision 1.9 1998/01/22 02:59:23 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
+/*
+ * Revision 1.8 1998/01/19 19:26:57 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.7 1997/12/10 22:37:38 curt
* Prepended "fg" on the name of all global structures that didn't have it yet.
* i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
**************************************************************************/
-#ifndef _MOON_H_
-#define _MOON_H_
+#ifndef _MOON_H
+#define _MOON_H
#include <Astro/orbits.h>
extern struct OrbElements pltOrbElements[9];
-#endif /* _MOON_H_ */
+#endif /* _MOON_H */
/* $Log$
-/* Revision 1.3 1998/01/19 19:26:58 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.4 1998/01/22 02:59:27 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.3 1998/01/19 19:26:58 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.2 1998/01/19 18:40:17 curt
* Tons of little changes to clean up the code and to remove fatal errors
* when building with the c++ compiler.
**************************************************************************/
+#include <math.h>
#include <string.h>
#include <Astro/orbits.h>
do
{
E1 = E0 - (E0 - e * sin(E0) - M) / (1 - e * cos(E0));
- diff = abs(E0 - E1);
+ diff = fabs(E0 - E1);
E0 = E1;
}
while (diff > fgDegToRad(0.001));
/* $Log$
-/* Revision 1.2 1998/01/19 19:26:58 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.3 1998/01/22 02:59:27 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.2 1998/01/19 19:26:58 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.1 1998/01/07 03:16:17 curt
* Moved from .../Src/Scenery/ to .../Src/Astro/
*
**************************************************************************/
-#ifndef ORBITS_H
-#define ORBITS_H
+#ifndef _ORBITS_H
+#define _ORBITS_H
#include <stdio.h>
void fgSolarSystemUpdate(struct OrbElements *planets, struct fgTIME t);
-#endif /* ORBITS_H */
+#endif /* _ORBITS_H */
/* $Log$
-/* Revision 1.2 1998/01/19 19:26:58 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.3 1998/01/22 02:59:27 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.2 1998/01/19 19:26:58 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.1 1998/01/07 03:16:17 curt
* Moved from .../Src/Scenery/ to .../Src/Astro/
*
**************************************************************************/
-#ifndef PLANETS_H
-#define PLANETS_H
+#ifndef _PLANETS_H
+#define _PLANETS_H
struct CelestialCoord fgCalculatePlanet(struct OrbElements planet,
/* $Log$
-/* Revision 1.1 1998/01/07 03:16:18 curt
-/* Moved from .../Src/Scenery/ to .../Src/Astro/
+/* Revision 1.2 1998/01/22 02:59:28 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.1 1998/01/07 03:16:18 curt
+ * Moved from .../Src/Scenery/ to .../Src/Astro/
+ *
* Revision 1.3 1997/12/30 16:36:53 curt
* Merged in Durk's changes ...
*
**************************************************************************/
+#ifndef _SKY_H
+#define _SKY_H
+
+
/* (Re)generate the display list */
void fgSkyInit( void );
void fgSkyRender( void );
+#endif /* _SKY_H */
+
+
/* $Log$
-/* Revision 1.2 1998/01/19 18:40:17 curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.3 1998/01/22 02:59:28 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.2 1998/01/19 18:40:17 curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
* Revision 1.1 1998/01/07 03:16:19 curt
* Moved from .../Src/Scenery/ to .../Src/Astro/
*
**************************************************************************/
-#ifndef STARS_H
-#define STARS_H
+#ifndef _STARS_H
+#define _STARS_H
#define FG_MAX_STARS 500
extern struct OrbElements pltOrbElements[9];
extern struct fgTIME cur_time_params;
-#endif /* STARS_H */
+#endif /* _STARS_H */
/* $Log$
-/* Revision 1.2 1998/01/19 18:40:18 curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.3 1998/01/22 02:59:28 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.2 1998/01/19 18:40:18 curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
* Revision 1.1 1998/01/07 03:16:20 curt
* Moved from .../Src/Scenery/ to .../Src/Astro/
*
**************************************************************************/
-#ifndef SUN_H
-#define SUN_H
+#ifndef _SUN_H
+#define _SUN_H
struct SunPos fgCalcSunPos(struct OrbElements sunParams);
void fgSunRender( void );
-#endif /* SUN_H */
+#endif /* _SUN_H */
/* $Log$
-/* Revision 1.2 1998/01/19 18:40:19 curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.3 1998/01/22 02:59:29 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.2 1998/01/19 18:40:19 curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
* Revision 1.1 1998/01/07 03:16:21 curt
* Moved from .../Src/Scenery/ to .../Src/Astro/
*
**************************************************************************/
+#ifndef _COCKPIT_H
+#define _COCKPIT_H
+
+
#include <Cockpit/hud.h>
void fgCockpitUpdate( void );
+#endif /* _COCKPIT_H */
+
+
/* $Log$
-/* Revision 1.4 1998/01/19 19:27:01 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.5 1998/01/22 02:59:29 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.4 1998/01/19 19:27:01 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.3 1998/01/19 18:40:19 curt
* Tons of little changes to clean up the code and to remove fatal errors
* when building with the c++ compiler.
**************************************************************************/
-#ifndef HUD_H
-#define HUD_H
+#ifndef _HUD_H
+#define _HUD_H
#include <Aircraft/aircraft.h>
void fgUpdateHUD2( struct HUD *hud );
-#endif /* HUD_H */
+#endif /* _HUD_H */
/* $Log$
-/* Revision 1.5 1998/01/19 19:27:01 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.6 1998/01/22 02:59:30 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.5 1998/01/19 19:27:01 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.4 1998/01/19 18:40:21 curt
* Tons of little changes to clean up the code and to remove fatal errors
* when building with the c++ compiler.
**************************************************************************/
-#ifndef CONTROLS_H
-#define CONTROLS_H
+#ifndef _CONTROLS_H
+#define _CONTROLS_H
#include "../Include/limits.h"
void fgThrottleSet(int engine, double pos);
-
-#endif /* CONTROLS_H */
+#endif /* _CONTROLS_H */
/* $Log$
-/* Revision 1.8 1998/01/19 18:40:22 curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.9 1998/01/22 02:59:31 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.8 1998/01/19 18:40:22 curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
* Revision 1.7 1997/12/15 23:54:36 curt
* Add xgl wrappers for debugging.
* Generate terrain normals on the fly.
**************************************************************************/
-#ifndef FLIGHT_H
-#define FLIGHT_H
+#ifndef _FLIGHT_H
+#define _FLIGHT_H
#include <Flight/Slew/slew.h>
int fgFlightModelUpdate(int model, struct fgFLIGHT *f, int multiloop);
-#endif /* FLIGHT_H */
+#endif /* _FLIGHT_H */
/* $Log$
-/* Revision 1.11 1998/01/19 19:27:03 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.12 1998/01/22 02:59:32 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.11 1998/01/19 19:27:03 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.10 1997/12/10 22:37:43 curt
* Prepended "fg" on the name of all global structures that didn't have it yet.
* i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
**************************************************************************/
+#ifndef _JOYSTICK_H
+#define _JOYSTICK_H
+
+
int fgJoystickInit( int joy_num );
int fgJoystickRead( double *joy_x, double *joy_y, int *joy_b1, int *joy_b2 );
+#endif /* _JOYSTICK_H */
+
+
/* $Log$
-/* Revision 1.1 1997/08/29 18:06:55 curt
-/* Initial revision.
+/* Revision 1.2 1998/01/22 02:59:36 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.1 1997/08/29 18:06:55 curt
+ * Initial revision.
+ *
*/
$Header$
$Log$
+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.
--------------------------------------------------------------------------*/
+
+#ifndef _LS_COCKPIT_H
+#define _LS_COCKPIT_H
+
+
typedef struct {
float long_stick, lat_stick, rudder_pedal;
float long_trim;
#define SB_extend cockpit_.sb_extend
#define SB_retract cockpit_.sb_retract
#define Gear_sel_up cockpit_.gear_sel_up
+
+
+#endif /* _LS_COCKPIT_H */
--------------------------------------------------------------------------*/
+#ifndef _LS_CONSTANTS
+#define _LS_CONSTANTS
+
+
#ifndef CONSTANTS
#define CONSTANTS -1
#endif
+
+#endif /* _LS_CONSTANTS_H */
+
+
/*------------------------- end of ls_constants.h -------------------------*/
--------------------------------------------------------------------------*/
+
+#ifndef _LS_GENERIC_H
+#define _LS_GENERIC_H
+
+
typedef struct {
/*================== Mass properties and geometry values ==================*/
extern GENERIC generic_; /* usually defined in ls_main.c */
+
+#endif /* _LS_GENERIC_H */
+
+
/*--------------------------- end of ls_generic.h ------------------------*/
$Header$
$Log$
+Revision 1.3 1998/01/22 02:59:33 curt
+Changed #ifdef FILE_H to #ifdef _FILE_H
+
Revision 1.2 1998/01/06 01:20:17 curt
Tweaks to help building with MSVC++
--------------------------------------------------------------------------*/
+
+
+#ifndef _LS_SIM_CONTROL_H
+#define _LS_SIM_CONTROL_H
+
+
#include <stdio.h>
#ifndef SIM_CONTROL
#endif
+
+#endif /* _LS_SIM_CONTROL_H */
+
+
/*------------------------ end of ls_sim_control.h ----------------------*/
$Header$
$Log$
+Revision 1.2 1998/01/22 02:59:34 curt
+Changed #ifdef FILE_H to #ifdef _FILE_H
+
Revision 1.1 1997/05/29 00:10:00 curt
Initial Flight Gear revision.
--------------------------------------------------------------------------*/
+#ifndef _LS_SYM_H
+#define _LS_SYM_H
+
+
/* Return codes */
#define SYM_NOT_LOADED -2
and error message is printed on stderr. */
+#endif /* _LS_SYM_H */
**************************************************************************/
-#ifndef GLUTKEY_H
-#define GLUTKEY_H
+#ifndef _GLUTKEY_H
+#define _GLUTKEY_H
#ifdef GLUT
void GLUTspecialkey(int k, int x, int y);
-#endif /* GLUTKEY_H */
+#endif /* _GLUTKEY_H */
/* $Log$
-/* Revision 1.5 1997/07/23 21:52:23 curt
-/* Put comments around the text after an #endif for increased portability.
+/* Revision 1.6 1998/01/22 02:59:36 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.5 1997/07/23 21:52:23 curt
+ * Put comments around the text after an #endif for increased portability.
+ *
* Revision 1.4 1997/06/02 03:40:06 curt
* A tiny bit more view tweaking.
*
FGLIBS = -lAircraft -lAstro -lCockpit -lControls -lFlight \
-lJoystick -lLaRCsim -lSlew -lScenery -lTime -lWeather -lMath \
- -lc \
$(NULL)
LCDEFS = -DGLUT
LLDFLAGS =
LDLIBS = $(FGLIBS) $(FG_DEBUG_LIBS) \
- $(INTERFACE_LIBS) $(GRAPHICS_LIBS) -lm -lfl
+ $(INTERFACE_LIBS) $(GRAPHICS_LIBS) -lm
include $(FG_ROOT_SRC)/commondefs
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.43 1998/01/22 02:59:37 curt
+# Changed #ifdef FILE_H to #ifdef _FILE_H
+#
# Revision 1.42 1998/01/21 21:11:34 curt
# Misc. tweaks.
#
/* Initial Position at (P13) GLOBE airport */
FG_Longitude = ( -398391.28 / 3600.0 ) * DEG_TO_RAD;
FG_Latitude = ( 120070.41 / 3600.0 ) * DEG_TO_RAD;
+ FG_Runway_altitude = (3234.5 + 300);
FG_Altitude = FG_Runway_altitude + 3.758099;
/* Initial Position at (SEZ) SEDONA airport */
- /* FG_Longitude = -111.774176 * DEG_TO_RAD; */
- /* FG_Latitude = 34.834343 * DEG_TO_RAD; */
- /* FG_Runway_altitude = 4827; */
+ /* FG_Longitude = (-111.7884614 + 0.02) * DEG_TO_RAD; */
+ /* FG_Latitude = ( 34.8486289 - 0.04) * DEG_TO_RAD; */
+ /* FG_Runway_altitude = (4827 + 800); */
/* FG_Altitude = FG_Runway_altitude + 3.758099; */
-
- /* Initial Position SE of (SEZ) SEDONA airport */
- /* FG_Longitude = -111.724176 * DEG_TO_RAD; */
- /* FG_Latitude = 34.744343 * DEG_TO_RAD; */
- /* FG_Runway_altitude = 7427; */
- /* FG_Altitude = FG_Runway_altitude + 3.758099; */
-
+
/* Initial Position at (HSP) Hot Springs, VA */
- FG_Longitude = (-79.8338964 /*+ 0.02*/) * DEG_TO_RAD;
- FG_Latitude = ( 37.9514564 /*+ 0.05*/) * DEG_TO_RAD;
- FG_Runway_altitude = (792 /*+ 1500*/);
- FG_Altitude = FG_Runway_altitude + 3.758099;
+ /* FG_Longitude = (-79.8338964 + 0.02) * DEG_TO_RAD; */
+ /* FG_Latitude = ( 37.9514564 + 0.05) * DEG_TO_RAD; */
+ /* FG_Runway_altitude = (792 + 1500); */
+ /* FG_Altitude = FG_Runway_altitude + 3.758099; */
/* Initial Position at (ANE) Anoka County airport */
/* FG_Longitude = -93.2113889 * DEG_TO_RAD; */
/* FG_Altitude = FG_Runway_altitude + 3.758099; */
/* Initial Position north of the city of Globe */
- /* FG_Longitude = ( -398673.28 / 3600.0 ) * DEG_TO_RAD; */
+ /* FGto do the install_Longitude = ( -398673.28 / 3600.0 ) * DEG_TO_RAD; */
/* FG_Latitude = ( 120625.64 / 3600.0 ) * DEG_TO_RAD; */
/* FG_Longitude = ( -397867.44 / 3600.0 ) * DEG_TO_RAD; */
/* FG_Latitude = ( 119548.21 / 3600.0 ) * DEG_TO_RAD; */
/* FG_Longitude = ( 88128.00 / 3600.0 ) * DEG_TO_RAD; */
/* FG_Latitude = ( 93312.00 / 3600.0 ) * DEG_TO_RAD; */
-
- printf("Initial position is: (%.4f, %.4f, %.2f)\n",
+ printf("Initial position is: (%.4f, %.4f, %.2f)\n",
FG_Longitude * RAD_TO_DEG, FG_Latitude * RAD_TO_DEG,
FG_Altitude * FEET_TO_METER);
/* $Log$
-/* Revision 1.33 1998/01/21 21:11:34 curt
-/* Misc. tweaks.
+/* Revision 1.34 1998/01/22 02:59:37 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.33 1998/01/21 21:11:34 curt
+ * Misc. tweaks.
+ *
* Revision 1.32 1998/01/19 19:27:08 curt
* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
* This should simplify things tremendously.
**************************************************************************/
-#ifndef FG_INIT_H
-#define FG_INIT_H
+#ifndef _FG_INIT_H
+#define _FG_INIT_H
/* General house keeping initializations */
void fgInitSubsystems( void );
-#endif /* FG_INIT_H */
+#endif /* _FG_INIT_H */
/* $Log$
-/* Revision 1.1 1997/08/23 01:46:20 curt
-/* Initial revision.
+/* Revision 1.2 1998/01/22 02:59:38 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.1 1997/08/23 01:46:20 curt
+ * Initial revision.
+ *
*/
**************************************************************************/
-#ifndef VIEWS_H
-#define VIEWS_H
+#ifndef _VIEWS_H
+#define _VIEWS_H
#include <Include/types.h>
void fgViewUpdate(struct fgFLIGHT *f, struct fgVIEW *v, struct fgLIGHT *l);
-#endif /* VIEWS_H */
+#endif /* _VIEWS_H */
/* $Log$
-/* Revision 1.6 1998/01/19 19:27:10 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.7 1998/01/22 02:59:38 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.6 1998/01/19 19:27:10 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.5 1997/12/22 04:14:32 curt
* Aligned sky with sun so dusk/dawn effects can be correct relative to the sun.
*
# (Log is kept at end of this file)
#---------------------------------------------------------------------------
+
ARLIBRARY = libScenery.a
TARGETS = $(ARLIBRARY)
-CFILES = common.c geometry.c mesh.c obj.c scenery.c tilemgr.c tileutils.c
+CFILES = common.c geometry.c mesh.c obj.c scenery.c texload.c \
+ tilemgr.c tileutils.c
CXXFILES =
LDIRT = $(FG_ROOT_LIB)/$(ARLIBRARY)
**************************************************************************/
-#ifndef COMMON_H
-#define COMMON_H
+#ifndef _COMMON_H
+#define _COMMON_H
/* Maximum length for an identifier */
char *strip_quotes(char *s);
-#endif /* COMMON_H */
+#endif /* _COMMON_H */
/* $Log$
-/* Revision 1.3 1997/07/23 21:52:24 curt
-/* Put comments around the text after an #endif for increased portability.
+/* Revision 1.4 1998/01/22 02:59:40 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.3 1997/07/23 21:52:24 curt
+ * Put comments around the text after an #endif for increased portability.
+ *
* Revision 1.2 1997/05/23 15:40:41 curt
* Added GNU copyright headers.
*
**************************************************************************/
-#ifndef GEOMETRY_H
-#define GEOMETRY_H
+#ifndef _GEOMETRY_H
+#define _GEOMETRY_H
#define VRML_BOX 0
int vrmlFreeGeometry( void );
-#endif /* GEOMETRY_H */
+#endif /* _GEOMETRY_H */
/* $Log$
-/* Revision 1.3 1998/01/19 18:40:36 curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.4 1998/01/22 02:59:40 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.3 1998/01/19 18:40:36 curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
* Revision 1.2 1997/07/23 21:52:25 curt
* Put comments around the text after an #endif for increased portability.
*
**************************************************************************/
-#ifndef MESH_H
-#define MESH_H
+#ifndef _MESH_H
+#define _MESH_H
#include <GL/glut.h>
GLint mesh_to_OpenGL(struct MESH *m);
-#endif /* MESH_H */
+#endif /* _MESH_H */
/* $Log$
-/* Revision 1.8 1998/01/19 18:40:37 curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.9 1998/01/22 02:59:41 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.8 1998/01/19 18:40:37 curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
* Revision 1.7 1997/08/27 03:30:29 curt
* Changed naming scheme of basic shared structures.
*
**************************************************************************/
-#ifndef OBJ_H
-#define OBJ_H
+#ifndef _OBJ_H
+#define _OBJ_H
#ifdef WIN32
GLint fgObjLoad(char *file, struct fgCartesianPoint *ref);
-#endif /* OBJ_H */
+#endif /* _OBJ_H */
/* $Log$
-/* Revision 1.3 1998/01/19 19:27:17 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.4 1998/01/22 02:59:41 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.3 1998/01/19 19:27:17 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.2 1998/01/13 00:23:10 curt
* Initial changes to support loading and management of scenery tiles. Note,
* there's still a fair amount of work left to be done.
**************************************************************************/
-#ifndef SCENERY_H
-#define SCENERY_H
+#ifndef _SCENERY_H
+#define _SCENERY_H
#include <Include/types.h>
void fgSceneryRender( void );
-#endif /* SCENERY_H */
+#endif /* _SCENERY_H */
/* $Log$
-/* Revision 1.14 1998/01/19 19:27:17 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.15 1998/01/22 02:59:41 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.14 1998/01/19 19:27:17 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.13 1998/01/19 18:40:38 curt
* Tons of little changes to clean up the code and to remove fatal errors
* when building with the c++ compiler.
**************************************************************************/
+#ifndef _TILEMGR_H
+#define _TILEMGR_H
+
+
/* Initialize the Tile Manager subsystem */
void fgTileMgrInit( void );
void fgTileMgrRender( void );
+#endif /* _TILEMGR_H */
+
+
/* $Log$
-/* Revision 1.3 1998/01/19 18:40:38 curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.4 1998/01/22 02:59:42 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.3 1998/01/19 18:40:38 curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
* Revision 1.2 1998/01/13 00:23:11 curt
* Initial changes to support loading and management of scenery tiles. Note,
* there's still a fair amount of work left to be done.
**************************************************************************/
-#ifndef TILEUTILS_H
-#define TILEUTILS_H
+#ifndef _TILEUTILS_H
+#define _TILEUTILS_H
struct bucket {
int width, int height);
-#endif /* TILEUTILS_H */
+#endif /* _TILEUTILS_H */
/* $Log$
-/* Revision 1.5 1998/01/14 02:19:05 curt
-/* Makde offset_bucket visible to outside.
+/* Revision 1.6 1998/01/22 02:59:42 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.5 1998/01/14 02:19:05 curt
+ * Makde offset_bucket visible to outside.
+ *
* Revision 1.4 1998/01/13 00:23:12 curt
* Initial changes to support loading and management of scenery tiles. Note,
* there's still a fair amount of work left to be done.
**************************************************************************/
-#ifndef SLEW_H
-#define SLEW_H
+#ifndef _SLEW_H
+#define _SLEW_H
/* reset flight params to a specific position */
void fgSlewUpdate( void );
-#endif /* SLEW_H */
+#endif /* _SLEW_H */
/* $Log$
-/* Revision 1.3 1998/01/19 18:40:30 curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.4 1998/01/22 02:59:34 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.3 1998/01/19 18:40:30 curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
* Revision 1.2 1997/07/23 21:52:20 curt
* Put comments around the text after an #endif for increased portability.
*
**************************************************************************/
+#ifndef _EVENT_H
+#define _EVENT_H
+
+
#define FG_EVENT_SUSP 0
#define FG_EVENT_READY 1
#define FG_EVENT_QUEUED 2
void fgEventProcess( void );
+#endif /* _EVENT_H */
+
+
/* $Log$
-/* Revision 1.2 1998/01/19 18:40:39 curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.3 1998/01/22 02:59:43 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.2 1998/01/19 18:40:39 curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
* Revision 1.1 1997/12/30 04:19:22 curt
* Initial revision.
*
**************************************************************************/
-#ifndef FG_TIME_H
-#define FG_TIME_H
+#ifndef _FG_TIME_H
+#define _FG_TIME_H
#ifdef WIN32
void fgTimeUpdate(struct fgFLIGHT *f, struct fgTIME *t);
-#endif /* FG_TIME_H */
+#endif /* _FG_TIME_H */
/* $Log$
-/* Revision 1.13 1998/01/19 19:27:20 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.14 1998/01/22 02:59:43 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.13 1998/01/19 19:27:20 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.12 1998/01/05 18:44:37 curt
* Add an option to advance/decrease time from keyboard.
*
**************************************************************************/
-#ifndef FG_TIMER_H
-#define FG_TIMER_H
+#ifndef _FG_TIMER_H
+#define _FG_TIMER_H
extern unsigned long int fgSimTime;
int fgGetTimeInterval( void );
-#endif /* FG_TIMER_H */
+#endif /* _FG_TIMER_H */
/* $Log$
-/* Revision 1.3 1998/01/19 18:40:40 curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.4 1998/01/22 02:59:43 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.3 1998/01/19 18:40:40 curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
* Revision 1.2 1997/07/23 21:52:27 curt
* Put comments around the text after an #endif for increased portability.
*
*/
-#ifndef SUNPOS_H
-#define SUNPOS_H
+#ifndef _SUNPOS_H
+#define _SUNPOS_H
#include <time.h>
void fgSunPosition(time_t ssue, double *lon, double *lat);
-#endif /* SUNPOS_H */
+#endif /* _SUNPOS_H */
**************************************************************************/
-#ifndef WEATHER_H
-#define WEATHER_H
+#ifndef _WEATHER_H
+#define _WEATHER_H
/* holds the current weather values */
void fgWeatherUpdate( void );
-#endif /* WEATHER_H */
+#endif /* _WEATHER_H */
/* $Log$
-/* Revision 1.7 1998/01/19 18:40:41 curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.8 1998/01/22 02:59:44 curt
+/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
+ * Revision 1.7 1998/01/19 18:40:41 curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
* Revision 1.6 1997/12/30 22:22:47 curt
* Further integration of event manager.
*