From: curt Date: Tue, 15 Sep 1998 04:27:27 +0000 (+0000) Subject: Changes for new Astro code. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6f91b7db686b50aecc0cc0276cdebfc4d23c144d;p=flightgear.git Changes for new Astro code. --- diff --git a/Main/GLUTkey.cxx b/Main/GLUTkey.cxx index 904172e5d..00fbd831c 100644 --- a/Main/GLUTkey.cxx +++ b/Main/GLUTkey.cxx @@ -38,8 +38,9 @@ #include #include -#include -#include +// #include +// #include +#include #include #include // Added autopilot.h to list, Jeff Goeke-Smith #include @@ -62,7 +63,8 @@ // Force an update of the sky and lighting parameters static void local_update_sky_and_lighting_params( void ) { - fgSunInit(); + // fgSunInit(); + SolarSystem::theSolarSystem->rebuild(); cur_light_params.Update(); fgSkyColorsInit(); } @@ -345,9 +347,12 @@ void GLUTspecialkey(int k, int x, int y) { /* $Log$ -/* Revision 1.21 1998/08/29 13:09:25 curt -/* Changes to event manager from Bernie Bright. +/* Revision 1.22 1998/09/15 04:27:27 curt +/* Changes for new Astro code. /* + * Revision 1.21 1998/08/29 13:09:25 curt + * Changes to event manager from Bernie Bright. + * * Revision 1.20 1998/08/24 20:11:12 curt * Added i/I to toggle full vs. minimal HUD. * Added a --hud-tris vs --hud-culled option. diff --git a/Main/GLUTmain.cxx b/Main/GLUTmain.cxx index b53080a2e..a4e7ac902 100644 --- a/Main/GLUTmain.cxx +++ b/Main/GLUTmain.cxx @@ -53,11 +53,12 @@ #include #include -#include -#include +//#include +//#include #include #include -#include +//#include +#include #ifdef ENABLE_AUDIO_SUPPORT # include