X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Main%2Ffg_init.c;h=2fcf9acb7df332282fe179c40c8284c86faa10c7;hb=89a981160759f5992111f67e48bce6768bca6595;hp=973cbf99fb550c192d1362dcbcaa8477d15aef56;hpb=90e39d537ff92215a58b7ce21a013c7f18deea91;p=flightgear.git diff --git a/Main/fg_init.c b/Main/fg_init.c index 973cbf99f..2fcf9acb7 100644 --- a/Main/fg_init.c +++ b/Main/fg_init.c @@ -38,6 +38,7 @@ #include "../Math/fg_random.h" #include "../Scenery/mesh.h" #include "../Scenery/scenery.h" +#include "../Scenery/stars.h" #include "../Time/sunpos.h" #include "../Weather/weather.h" @@ -48,7 +49,7 @@ extern int show_hud; /* HUD state */ /* General house keeping initializations */ void fgInitGeneral( void ) { - struct general_params *g; + struct GENERAL *g; g = &general; @@ -72,7 +73,7 @@ void fgInitGeneral( void ) { void fgInitSubsystems( void ) { double cur_elev; - struct flight_params *f; + struct FLIGHT *f; f = ¤t_aircraft.flight; @@ -145,6 +146,9 @@ void fgInitSubsystems( void ) { /* Initialize the Cockpit subsystem */ fgCockpitInit( current_aircraft ); + /* Initialize the Stars subsystem */ + fgStarsInit(); + /* Initialize the Scenery Management subsystem */ fgSceneryInit(); @@ -184,9 +188,12 @@ void fgInitSubsystems( void ) { /* $Log$ -/* Revision 1.2 1997/08/25 20:27:23 curt -/* Merged in initial HUD and Joystick code. +/* Revision 1.3 1997/08/27 03:30:19 curt +/* Changed naming scheme of basic shared structures. /* + * Revision 1.2 1997/08/25 20:27:23 curt + * Merged in initial HUD and Joystick code. + * * Revision 1.1 1997/08/23 01:46:20 curt * Initial revision. *