when building with the c++ compiler.
../Include/general.h ../Main/views.h ../Main/../Include/types.h \
../Main/../Flight/flight.h ../Main/../Math/mat3.h \
../Main/../Time/fg_time.h
+old_astro.o: old_astro.c ../XGL/xgl.h old_astro.h stars.h moon.h \
+ orbits.h ../Time/fg_time.h ../Time/../Include/types.h \
+ ../Time/../Flight/flight.h ../Time/../Flight/Slew/slew.h \
+ ../Time/../Flight/LaRCsim/ls_interface.h \
+ ../Time/../Flight/LaRCsim/../flight.h planets.h sun.h \
+ ../Include/constants.h ../Include/general.h ../Main/views.h \
+ ../Main/../Include/types.h ../Main/../Flight/flight.h \
+ ../Main/../Math/mat3.h ../Main/../Time/fg_time.h \
+ ../Aircraft/aircraft.h ../Aircraft/../Flight/flight.h \
+ ../Aircraft/../Controls/controls.h \
+ ../Aircraft/../Controls/../Include/limits.h
orbits.o: orbits.c orbits.h ../Time/fg_time.h \
../Time/../Include/types.h ../Time/../Flight/flight.h \
../Time/../Flight/Slew/slew.h \
}
-void fgMoonInit() {
+void fgMoonInit( void ) {
struct fgLIGHT *l;
static int dl_exists = 0;
/* Draw the moon */
-void fgMoonRender() {
+void fgMoonRender( void ) {
struct fgLIGHT *l;
GLfloat white[4] = { 1.0, 1.0, 1.0, 1.0 };
/* $Log$
-/* Revision 1.1 1998/01/07 03:16:16 curt
-/* Moved from .../Src/Scenery/ to .../Src/Astro/
+/* Revision 1.2 1998/01/19 18:40:16 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:16 curt
+ * Moved from .../Src/Scenery/ to .../Src/Astro/
+ *
* Revision 1.16 1998/01/06 01:20:24 curt
* Tweaks to help building with MSVC++
*
/* Initialize the Moon Display management Subsystem */
-void fgMoonInit();
+void fgMoonInit( void );
/* Draw the Stars */
-void fgMoonRender();
+void fgMoonRender( void );
struct CelestialCoord fgCalculateMoon(struct OrbElements Params,
struct OrbElements sunParams,
/* $Log$
-/* Revision 1.1 1998/01/07 03:16:16 curt
-/* Moved from .../Src/Scenery/ to .../Src/Astro/
+/* 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:16 curt
+ * Moved from .../Src/Scenery/ to .../Src/Astro/
+ *
* Revision 1.4 1997/12/11 04:43:56 curt
* Fixed sun vector and lighting problems. I thing the moon is now lit
* correctly.
/* Calculate the sky structure vertices */
-void fgSkyVerticesInit() {
+void fgSkyVerticesInit( void ) {
float theta;
int i;
/* (Re)calculate the sky colors at each vertex */
-void fgSkyColorsInit() {
+void fgSkyColorsInit( void ) {
struct fgLIGHT *l;
float sun_angle, diff;
float outer_param[3], outer_amt[3], outer_diff[3];
/* Initialize the sky structure and colors */
-void fgSkyInit() {
+void fgSkyInit( void ) {
printf("Initializing the sky\n");
fgSkyVerticesInit();
/* Draw the Sky */
-void fgSkyRender() {
+void fgSkyRender( void ) {
struct fgFLIGHT *f;
struct fgLIGHT *l;
struct fgVIEW *v;
/* $Log$
-/* Revision 1.1 1998/01/07 03:16:19 curt
-/* Moved from .../Src/Scenery/ to .../Src/Astro/
+/* 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/
+ *
* Revision 1.11 1997/12/30 22:22:38 curt
* Further integration of event manager.
*
/* (Re)generate the display list */
-void fgSkyInit();
+void fgSkyInit( void );
/* (Re)calculate the sky colors at each vertex */
-void fgSkyColorsInit();
+void fgSkyColorsInit( void );
/* Draw the Sky */
-void fgSkyRender();
+void fgSkyRender( void );
/* $Log$
-/* Revision 1.1 1998/01/07 03:16:19 curt
-/* Moved from .../Src/Scenery/ to .../Src/Astro/
+/* 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/
+ *
* Revision 1.2 1997/12/22 23:45:49 curt
* First stab at sunset/sunrise sky glow effects.
*
/* Initialize the Star Management Subsystem */
-void fgStarsInit() {
+void fgStarsInit( void ) {
FILE *fd;
struct fgGENERAL *g;
struct CelestialCoord pltPos;
/* Draw the Stars */
-void fgStarsRender() {
+void fgStarsRender( void ) {
struct fgFLIGHT *f;
struct fgVIEW *v;
struct fgLIGHT *l;
/* $Log$
-/* Revision 1.1 1998/01/07 03:16:20 curt
-/* Moved from .../Src/Scenery/ to .../Src/Astro/
+/* 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/
+ *
* Revision 1.24 1997/12/30 22:22:39 curt
* Further integration of event manager.
*
#define FG_MIN_STAR_MAG 0.738750 /* magnitude of weakest star we'll display */
/* Initialize the Star Management Subsystem */
-void fgStarsInit();
+void fgStarsInit( void );
/* Draw the Stars */
-void fgStarsRender();
+void fgStarsRender( void );
extern struct OrbElements pltOrbElements[9];
extern struct fgTIME cur_time_params;
/* $Log$
-/* Revision 1.1 1998/01/07 03:16:20 curt
-/* Moved from .../Src/Scenery/ to .../Src/Astro/
+/* 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/
+ *
* Revision 1.6 1997/10/25 03:18:29 curt
* Incorporated sun, moon, and planet position and rendering code contributed
* by Durk Talsma.
/* Initialize the Sun */
-void fgSunInit() {
+void fgSunInit( void ) {
static int dl_exists = 0;
printf(" Initializing the Sun\n");
/* Draw the Sun */
-void fgSunRender() {
+void fgSunRender( void ) {
struct fgVIEW *v;
struct fgTIME *t;
struct fgLIGHT *l;
/* $Log$
-/* Revision 1.1 1998/01/07 03:16:20 curt
-/* Moved from .../Src/Scenery/ to .../Src/Astro/
+/* 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/
+ *
* Revision 1.12 1998/01/05 18:44:36 curt
* Add an option to advance/decrease time from keyboard.
*
extern struct OrbElements pltOrbElements[9];
/* Initialize the Sun */
-void fgSunInit();
+void fgSunInit( void );
/* Draw the Sun */
-void fgSunRender();
+void fgSunRender( void );
#endif /* SUN_H */
/* $Log$
-/* Revision 1.1 1998/01/07 03:16:21 curt
-/* Moved from .../Src/Scenery/ to .../Src/Astro/
+/* 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/
+ *
* Revision 1.3 1997/12/11 04:43:56 curt
* Fixed sun vector and lighting problems. I thing the moon is now lit
* correctly.