Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss

<chotchkiss@namg.us.anritsu.com>
This commit is contained in:
curt
2009-09-15 18:31:28 +02:00
committed by Tim Moore
parent f1f01451cc
commit f28bfa6d62
2 changed files with 18 additions and 10 deletions
+9 -5
View File
@@ -58,11 +58,11 @@ struct CelestialCoord fgCalculateMoon(struct OrbElements params,
xv, yv, v, r, xh, yh, zh, xg, yg, zg, xe, ye, ze, xv, yv, v, r, xh, yh, zh, xg, yg, zg, xe, ye, ze,
Ls, Lm, D, F, mpar, gclat, rho, HA, g; Ls, Lm, D, F, mpar, gclat, rho, HA, g;
struct fgAIRCRAFT *a; fgAIRCRAFT *a;
struct fgFLIGHT *f; fgFLIGHT *f;
a = &current_aircraft; a = &current_aircraft;
f = &a->flight; f = a->flight;
/* calculate the angle between ecliptic and equatorial coordinate /* calculate the angle between ecliptic and equatorial coordinate
* system, in Radians */ * system, in Radians */
@@ -226,9 +226,13 @@ void fgMoonRender( void ) {
/* $Log$ /* $Log$
/* Revision 1.5 1998/02/02 20:53:21 curt /* Revision 1.6 1998/02/07 15:29:32 curt
/* To version 0.29 /* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
/* <chotchkiss@namg.us.anritsu.com>
/* /*
* Revision 1.5 1998/02/02 20:53:21 curt
* To version 0.29
*
* Revision 1.4 1998/01/27 00:47:46 curt * Revision 1.4 1998/01/27 00:47:46 curt
* Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message * Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
* system and commandline/config file processing code. * system and commandline/config file processing code.
+9 -5
View File
@@ -248,13 +248,13 @@ void fgSkyInit( void ) {
/* Draw the Sky */ /* Draw the Sky */
void fgSkyRender( void ) { void fgSkyRender( void ) {
struct fgFLIGHT *f; fgFLIGHT *f;
struct fgLIGHT *l; struct fgLIGHT *l;
struct fgVIEW *v; struct fgVIEW *v;
float /* inner_color[4], middle_color[4], diff, */ east_dot, dot, angle; float /* inner_color[4], middle_color[4], diff, */ east_dot, dot, angle;
int i; int i;
f = &current_aircraft.flight; f = current_aircraft.flight;
l = &cur_light_params; l = &cur_light_params;
v = &current_view; v = &current_view;
@@ -353,10 +353,14 @@ void fgSkyRender( void ) {
/* $Log$ /* $Log$
/* Revision 1.5 1998/01/27 00:47:48 curt /* Revision 1.6 1998/02/07 15:29:32 curt
/* Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message /* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
/* system and commandline/config file processing code. /* <chotchkiss@namg.us.anritsu.com>
/* /*
* Revision 1.5 1998/01/27 00:47:48 curt
* Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
* system and commandline/config file processing code.
*
* Revision 1.4 1998/01/26 15:54:28 curt * 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 * Added a "skirt" to try to help hide gaps between scenery and sky. This will
* have to be revisited in the future. * have to be revisited in the future.