From: curt Date: Sat, 7 Feb 1998 15:29:31 +0000 (+0000) Subject: Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f28bfa6d6251c1323ccfa57549447b4b4cf34f83;p=simgear.git Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss --- diff --git a/Astro/moon.c b/Astro/moon.c index 4717c695..11c63667 100644 --- a/Astro/moon.c +++ b/Astro/moon.c @@ -58,11 +58,11 @@ struct CelestialCoord fgCalculateMoon(struct OrbElements params, xv, yv, v, r, xh, yh, zh, xg, yg, zg, xe, ye, ze, Ls, Lm, D, F, mpar, gclat, rho, HA, g; - struct fgAIRCRAFT *a; - struct fgFLIGHT *f; + fgAIRCRAFT *a; + fgFLIGHT *f; a = ¤t_aircraft; - f = &a->flight; + f = a->flight; /* calculate the angle between ecliptic and equatorial coordinate * system, in Radians */ @@ -226,9 +226,13 @@ void fgMoonRender( void ) { /* $Log$ -/* Revision 1.5 1998/02/02 20:53:21 curt -/* To version 0.29 +/* Revision 1.6 1998/02/07 15:29:32 curt +/* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss +/* /* + * Revision 1.5 1998/02/02 20:53:21 curt + * To version 0.29 + * * Revision 1.4 1998/01/27 00:47:46 curt * Incorporated Paul Bleisch's new debug message * system and commandline/config file processing code. diff --git a/Astro/sky.c b/Astro/sky.c index 15cdf775..0244236a 100644 --- a/Astro/sky.c +++ b/Astro/sky.c @@ -248,13 +248,13 @@ void fgSkyInit( void ) { /* Draw the Sky */ void fgSkyRender( void ) { - struct fgFLIGHT *f; + fgFLIGHT *f; struct fgLIGHT *l; struct fgVIEW *v; float /* inner_color[4], middle_color[4], diff, */ east_dot, dot, angle; int i; - f = ¤t_aircraft.flight; + f = current_aircraft.flight; l = &cur_light_params; v = ¤t_view; @@ -353,10 +353,14 @@ void fgSkyRender( void ) { /* $Log$ -/* Revision 1.5 1998/01/27 00:47:48 curt -/* Incorporated Paul Bleisch's new debug message -/* system and commandline/config file processing code. +/* Revision 1.6 1998/02/07 15:29:32 curt +/* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss +/* /* + * Revision 1.5 1998/01/27 00:47:48 curt + * Incorporated Paul Bleisch's new debug message + * system and commandline/config file processing code. + * * Revision 1.4 1998/01/26 15:54:28 curt * Added a "skirt" to try to help hide gaps between scenery and sky. This will * have to be revisited in the future.