X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Ffg_init.hxx;h=8b741c26136ca131d833df2238277e95bdffa487;hb=88bfaca2b3d4034321ac786f06b074e5590735ee;hp=b0399099a43ff94d921632f9f824d72acb1a6696;hpb=875227057c65245cfd4aa6fbc819c6d5b77cad27;p=flightgear.git diff --git a/src/Main/fg_init.hxx b/src/Main/fg_init.hxx index b0399099a..8b741c261 100644 --- a/src/Main/fg_init.hxx +++ b/src/Main/fg_init.hxx @@ -30,15 +30,19 @@ // forward decls class SGPropertyNode; +class SGPath; // Return the current base package version -std::string fgBasePackageVersion(); +std::string fgBasePackageVersion(const SGPath& path); bool fgInitHome(); // Read in configuration (file and command line) int fgInitConfig ( int argc, char **argv, bool reinit ); +void fgInitAircraftPaths(bool reinit); + +int fgInitAircraft(bool reinit); // log various settings / configuration state void fgOutputSettings(); @@ -60,13 +64,16 @@ void fgCreateSubsystems(bool duringReset); // called after the subsystems have been bound and initialised, // to peform final init void fgPostInitSubsystems(); - -// Reset: this is what the 'reset' command (and hence, GUI) is attached to -void fgReInitSubsystems(); +// Re-position: when only location is changing, we can do considerably +// less work than a full re-init. +void fgStartReposition(); void fgStartNewReset(); +// setup the package system including the global root +void fgInitPackageRoot(); + #endif // _FG_INIT_HXX