From: curt Date: Sat, 5 Dec 1998 15:53:59 +0000 (+0000) Subject: Renamed class fgFLIGHT to class FGState as per request by JSB. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=256aaa362f09f23b9437da25c1f0a6ebed312236;p=simgear.git Renamed class fgFLIGHT to class FGState as per request by JSB. --- diff --git a/Astro/moon.cxx b/Astro/moon.cxx index 694e9a7a..6ca80c5a 100644 --- a/Astro/moon.cxx +++ b/Astro/moon.cxx @@ -112,10 +112,10 @@ void Moon::updatePosition(fgTIME *t, Star *ourSun) geoRa, geoDec; fgAIRCRAFT *air; - fgFLIGHT *f; + FGState *f; air = ¤t_aircraft; - f = air->flight; + f = air->fdm_state; updateOrbElements(t); actTime = fgCalcActTime(t); diff --git a/Astro/sky.cxx b/Astro/sky.cxx index 434a0377..433ec7ed 100644 --- a/Astro/sky.cxx +++ b/Astro/sky.cxx @@ -255,7 +255,7 @@ void fgSkyInit( void ) { // Draw the Sky void fgSkyRender( void ) { - fgFLIGHT *f; + FGState *f; fgLIGHT *l; fgVIEW *v; float inner_color[4]; @@ -264,7 +264,7 @@ void fgSkyRender( void ) { double diff; int i; - f = current_aircraft.flight; + f = current_aircraft.fdm_state; l = &cur_light_params; v = ¤t_view; @@ -365,6 +365,9 @@ void fgSkyRender( void ) { // $Log$ +// Revision 1.16 1998/12/05 15:54:03 curt +// Renamed class fgFLIGHT to class FGState as per request by JSB. +// // Revision 1.15 1998/12/03 01:15:36 curt // Converted fgFLIGHT to a class. // Tweaks for Sun portability. diff --git a/Astro/stars.cxx b/Astro/stars.cxx index af910f77..35ce9aaf 100644 --- a/Astro/stars.cxx +++ b/Astro/stars.cxx @@ -210,13 +210,13 @@ int fgStarsInit( void ) { // Draw the Stars void fgStarsRender( void ) { - fgFLIGHT *f; + FGState *f; fgVIEW *v; fgLIGHT *l; fgTIME *t; int i; - f = current_aircraft.flight; + f = current_aircraft.fdm_state; l = &cur_light_params; t = &cur_time_params; v = ¤t_view; @@ -256,6 +256,9 @@ void fgStarsRender( void ) { // $Log$ +// Revision 1.24 1998/12/05 15:54:04 curt +// Renamed class fgFLIGHT to class FGState as per request by JSB. +// // Revision 1.23 1998/11/23 21:48:28 curt // Borland portability tweaks. //