Renamed class fgFLIGHT to class FGState as per request by JSB.

This commit is contained in:
curt 1998-12-05 15:53:59 +00:00 committed by Tim Moore
parent 2198498e29
commit 256aaa362f
3 changed files with 12 additions and 6 deletions

View File

@ -112,10 +112,10 @@ void Moon::updatePosition(fgTIME *t, Star *ourSun)
geoRa, geoDec; geoRa, geoDec;
fgAIRCRAFT *air; fgAIRCRAFT *air;
fgFLIGHT *f; FGState *f;
air = &current_aircraft; air = &current_aircraft;
f = air->flight; f = air->fdm_state;
updateOrbElements(t); updateOrbElements(t);
actTime = fgCalcActTime(t); actTime = fgCalcActTime(t);

View File

@ -255,7 +255,7 @@ void fgSkyInit( void ) {
// Draw the Sky // Draw the Sky
void fgSkyRender( void ) { void fgSkyRender( void ) {
fgFLIGHT *f; FGState *f;
fgLIGHT *l; fgLIGHT *l;
fgVIEW *v; fgVIEW *v;
float inner_color[4]; float inner_color[4];
@ -264,7 +264,7 @@ void fgSkyRender( void ) {
double diff; double diff;
int i; int i;
f = current_aircraft.flight; f = current_aircraft.fdm_state;
l = &cur_light_params; l = &cur_light_params;
v = &current_view; v = &current_view;
@ -365,6 +365,9 @@ void fgSkyRender( void ) {
// $Log$ // $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 // Revision 1.15 1998/12/03 01:15:36 curt
// Converted fgFLIGHT to a class. // Converted fgFLIGHT to a class.
// Tweaks for Sun portability. // Tweaks for Sun portability.

View File

@ -210,13 +210,13 @@ int fgStarsInit( void ) {
// Draw the Stars // Draw the Stars
void fgStarsRender( void ) { void fgStarsRender( void ) {
fgFLIGHT *f; FGState *f;
fgVIEW *v; fgVIEW *v;
fgLIGHT *l; fgLIGHT *l;
fgTIME *t; fgTIME *t;
int i; int i;
f = current_aircraft.flight; f = current_aircraft.fdm_state;
l = &cur_light_params; l = &cur_light_params;
t = &cur_time_params; t = &cur_time_params;
v = &current_view; v = &current_view;
@ -256,6 +256,9 @@ void fgStarsRender( void ) {
// $Log$ // $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 // Revision 1.23 1998/11/23 21:48:28 curt
// Borland portability tweaks. // Borland portability tweaks.
// //