From 854bc45e59499e8649dafa15e7ebbf411799825b Mon Sep 17 00:00:00 2001 From: curt Date: Sun, 26 Apr 1998 05:10:00 +0000 Subject: [PATCH] "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd. --- Astro/planets.cxx | 9 ++++++--- Astro/sky.cxx | 11 +++++++---- Astro/stars.cxx | 9 ++++++--- Astro/sun.cxx | 9 ++++++--- 4 files changed, 25 insertions(+), 13 deletions(-) diff --git a/Astro/planets.cxx b/Astro/planets.cxx index cf1616d6..890c1295 100644 --- a/Astro/planets.cxx +++ b/Astro/planets.cxx @@ -143,7 +143,7 @@ struct CelestialCoord fgCalculatePlanet(struct OrbElements planet, void fgPlanetsInit( void ) { - struct fgLIGHT *l; + fgLIGHT *l; int i; struct CelestialCoord pltPos; double magnitude; @@ -210,9 +210,12 @@ void fgPlanetsRender( void ) { /* $Log$ -/* Revision 1.3 1998/04/25 22:06:25 curt -/* Edited cvs log messages in source files ... bad bad bad! +/* Revision 1.4 1998/04/26 05:10:01 curt +/* "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd. /* + * Revision 1.3 1998/04/25 22:06:25 curt + * Edited cvs log messages in source files ... bad bad bad! + * * Revision 1.2 1998/04/24 00:45:02 curt * Wrapped "#include " in "#ifdef HAVE_CONFIG_H" * Fixed a bug when generating sky colors. diff --git a/Astro/sky.cxx b/Astro/sky.cxx index 829671ed..4f9e219b 100644 --- a/Astro/sky.cxx +++ b/Astro/sky.cxx @@ -113,7 +113,7 @@ void fgSkyVerticesInit( void ) { /* (Re)calculate the sky colors at each vertex */ void fgSkyColorsInit( void ) { - struct fgLIGHT *l; + fgLIGHT *l; float sun_angle, diff; float outer_param[3], outer_amt[3], outer_diff[3]; float middle_param[3], middle_amt[3], middle_diff[3]; @@ -260,7 +260,7 @@ void fgSkyInit( void ) { /* Draw the Sky */ void fgSkyRender( void ) { fgFLIGHT *f; - struct fgLIGHT *l; + fgLIGHT *l; struct fgVIEW *v; float /* inner_color[4], middle_color[4], diff, */ east_dot, dot, angle; int i; @@ -373,9 +373,12 @@ void fgSkyRender( void ) { /* $Log$ -/* Revision 1.3 1998/04/25 22:06:25 curt -/* Edited cvs log messages in source files ... bad bad bad! +/* Revision 1.4 1998/04/26 05:10:01 curt +/* "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd. /* + * Revision 1.3 1998/04/25 22:06:25 curt + * Edited cvs log messages in source files ... bad bad bad! + * * Revision 1.2 1998/04/24 00:45:03 curt * Wrapped "#include " in "#ifdef HAVE_CONFIG_H" * Fixed a bug when generating sky colors. diff --git a/Astro/stars.cxx b/Astro/stars.cxx index 3f2c9539..11de4126 100644 --- a/Astro/stars.cxx +++ b/Astro/stars.cxx @@ -224,7 +224,7 @@ int fgStarsInit( void ) { void fgStarsRender( void ) { fgFLIGHT *f; struct fgVIEW *v; - struct fgLIGHT *l; + fgLIGHT *l; struct fgTIME *t; int i; @@ -260,9 +260,12 @@ void fgStarsRender( void ) { /* $Log$ -/* Revision 1.3 1998/04/25 22:06:26 curt -/* Edited cvs log messages in source files ... bad bad bad! +/* Revision 1.4 1998/04/26 05:10:02 curt +/* "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd. /* + * Revision 1.3 1998/04/25 22:06:26 curt + * Edited cvs log messages in source files ... bad bad bad! + * * Revision 1.2 1998/04/24 00:45:03 curt * Wrapped "#include " in "#ifdef HAVE_CONFIG_H" * Fixed a bug when generating sky colors. diff --git a/Astro/sun.cxx b/Astro/sun.cxx index dc2fad3c..6b9b85e4 100644 --- a/Astro/sun.cxx +++ b/Astro/sun.cxx @@ -104,7 +104,7 @@ struct CelestialCoord fgCalculateSun (struct OrbElements params, /* Initialize the Sun */ void fgSunInit( void ) { - struct fgLIGHT *l; + fgLIGHT *l; struct fgTIME *t; struct fgVIEW *v; float xSun, ySun, zSun; @@ -192,9 +192,12 @@ void fgSunRender( void ) { /* $Log$ -/* Revision 1.3 1998/04/25 22:06:26 curt -/* Edited cvs log messages in source files ... bad bad bad! +/* Revision 1.4 1998/04/26 05:10:02 curt +/* "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd. /* + * Revision 1.3 1998/04/25 22:06:26 curt + * Edited cvs log messages in source files ... bad bad bad! + * * Revision 1.2 1998/04/24 00:45:04 curt * Wrapped "#include " in "#ifdef HAVE_CONFIG_H" * Fixed a bug when generating sky colors. -- 2.39.5