X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Ffg_init.hxx;h=1210e3daaff2ee92604137a8a6fdf7cdb3c1c0b4;hb=535ed922647d638112e540ec59d1dd1e7663219d;hp=cee62e05f31345cfb35ee038ce575e28400104be;hpb=c90db01dc8d5462a3da22771ffa7c96f5ea31217;p=flightgear.git diff --git a/src/Main/fg_init.hxx b/src/Main/fg_init.hxx index cee62e05f..1210e3daa 100644 --- a/src/Main/fg_init.hxx +++ b/src/Main/fg_init.hxx @@ -31,20 +31,31 @@ #endif +// Read in configuration (file and command line) +bool fgInitConfig ( int argc, char **argv ); + + // General house keeping initializations -int fgInitGeneral ( void ); +bool fgInitGeneral ( void ); // This is the top level init routine which calls all the other // initialization routines. If you are adding a subsystem to flight // gear, its initialization call should located in this routine. -int fgInitSubsystems( void ); +bool fgInitSubsystems( void ); // Reset void fgReInitSubsystems( void ); +// Set current_options lon/lat given an airport id +bool fgSetPosFromAirportID( const string& id ); + +// Set current_options lon/lat given an airport id and heading (degrees) +bool fgSetPosFromAirportIDandHdg( const string& id, double tgt_hdg ); + + #endif // _FG_INIT_H