X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Ffg_init.hxx;h=6ed654e7cb774a5716a7f97f39ff6d7bd172e30b;hb=a2acc953ae337d45954382904e0d1ea6c63b48a0;hp=df407856a7ed73e551b1df50b459fa48c94d9227;hpb=df0228e019c03f43403f3c46067cf3af4bc08ef8;p=flightgear.git diff --git a/src/Main/fg_init.hxx b/src/Main/fg_init.hxx index df407856a..6ed654e7c 100644 --- a/src/Main/fg_init.hxx +++ b/src/Main/fg_init.hxx @@ -31,13 +31,28 @@ #endif +#ifdef HAVE_CONFIG +# include +#endif + +#include +#include + +#include STL_STRING + #include +SG_USING_STD(string); + // Read in configuration (file and command line) and just set fg_root bool fgInitFGRoot ( int argc, char **argv ); +// Return the current base package version +string fgBasePackageVersion(); + + // Read in configuration (file and command line) bool fgInitConfig ( int argc, char **argv ); @@ -59,13 +74,20 @@ void fgReInitSubsystems( void ); // find basic airport location info from airport database bool fgFindAirportID( const string& id, FGAirport *a ); -// Set current_options lon/lat given an airport id +// Set pos given an airport id bool fgSetPosFromAirportID( const string& id ); -// Set current_options lon/lat given an airport id and heading (degrees) +// Set position and heading given an airport id and heading (degrees) bool fgSetPosFromAirportIDandHdg( const string& id, double tgt_hdg ); +//find altitude given glideslope and offset distance or offset distance +//given glideslope and altitude +void fgSetPosFromGlideSlope(void); + +// Initialize various time dependent systems (lighting, sun position, etc.) +// returns a new instance of the SGTime class +SGTime *fgInitTime(); -#endif // _FG_INIT_H +#endif // _FG_INIT_HXX