From 5bf6d83d2d9a260f24509c864d4070e16dd9897b Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 10 Dec 1997 22:37:34 +0000 Subject: [PATCH] Prepended "fg" on the name of all global structures that didn't have it yet. i.e. "struct WEATHER {}" became "struct fgWEATHER {}" --- Scenery/astro.c | 12 ++++++++---- Scenery/orbits.c | 10 +++++++--- Scenery/sun.c | 10 +++++++--- 3 files changed, 22 insertions(+), 10 deletions(-) diff --git a/Scenery/astro.c b/Scenery/astro.c index 8ebe0623..6246a713 100644 --- a/Scenery/astro.c +++ b/Scenery/astro.c @@ -68,9 +68,9 @@ void fgAstroInit() { /* Render Astronomical Objects */ void fgAstroRender() { - struct FLIGHT *f; + struct fgFLIGHT *f; struct fgLIGHT *l; - struct VIEW *v; + struct fgVIEW *v; struct fgTIME *t; double angle; @@ -121,9 +121,13 @@ void fgAstroRender() { /* $Log$ -/* Revision 1.2 1997/12/09 04:25:33 curt -/* Working on adding a global lighting params structure. +/* Revision 1.3 1997/12/10 22:37:49 curt +/* Prepended "fg" on the name of all global structures that didn't have it yet. +/* i.e. "struct WEATHER {}" became "struct fgWEATHER {}" /* + * Revision 1.2 1997/12/09 04:25:33 curt + * Working on adding a global lighting params structure. + * * Revision 1.1 1997/11/25 23:20:22 curt * Initial revision. * diff --git a/Scenery/orbits.c b/Scenery/orbits.c index 5ed85c9f..4e10843a 100644 --- a/Scenery/orbits.c +++ b/Scenery/orbits.c @@ -119,7 +119,7 @@ void fgReadOrbElements(struct OrbElements *dest, FILE *src) void fgSolarSystemInit(struct fgTIME t) { - struct GENERAL *g; + struct fgGENERAL *g; char path[80]; int i; FILE *data; @@ -170,9 +170,13 @@ void fgSolarSystemUpdate(struct OrbElements *planet, struct fgTIME t) /* $Log$ -/* Revision 1.3 1997/11/25 23:20:44 curt -/* Changed planets.dat Planets.dat +/* Revision 1.4 1997/12/10 22:37:51 curt +/* Prepended "fg" on the name of all global structures that didn't have it yet. +/* i.e. "struct WEATHER {}" became "struct fgWEATHER {}" /* + * Revision 1.3 1997/11/25 23:20:44 curt + * Changed planets.dat Planets.dat + * * Revision 1.2 1997/11/25 19:25:36 curt * Changes to integrate Durk's moon/sun code updates + clean up. * diff --git a/Scenery/sun.c b/Scenery/sun.c index f4ae4e9b..9702ffed 100644 --- a/Scenery/sun.c +++ b/Scenery/sun.c @@ -145,7 +145,7 @@ void fgSunInit() /* Draw the Sun */ void fgSunRender() { - struct VIEW *v; + struct fgVIEW *v; struct fgTIME *t; GLfloat color[4] = { 0.85, 0.65, 0.05, 1.0 }; /* double x_2, x_4, x_8, x_10; */ @@ -201,9 +201,13 @@ void fgSunRender() { /* $Log$ -/* Revision 1.3 1997/12/09 05:11:56 curt -/* Working on tweaking lighting. +/* Revision 1.4 1997/12/10 22:37:53 curt +/* Prepended "fg" on the name of all global structures that didn't have it yet. +/* i.e. "struct WEATHER {}" became "struct fgWEATHER {}" /* + * Revision 1.3 1997/12/09 05:11:56 curt + * Working on tweaking lighting. + * * Revision 1.2 1997/11/25 19:25:39 curt * Changes to integrate Durk's moon/sun code updates + clean up. * -- 2.39.5