]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_init.hxx
Fix for the fix: check for a viewer.
[flightgear.git] / src / Main / fg_init.hxx
index 5329b03811ed279b1f80c4c3309773725b1455e3..beefcbea87eb774a532ee20f242da46b35fdf1f0 100644 (file)
@@ -34,11 +34,12 @@ class SGPropertyNode;
 // Return the current base package version
 std::string fgBasePackageVersion();
 
-void fgInitHome();
+bool fgInitHome();
 
 // Read in configuration (file and command line)
-int fgInitConfig ( int argc, char **argv );
+int fgInitConfig ( int argc, char **argv, bool reinit );
 
+int fgInitAircraft(bool reinit);
 
 // log various settings / configuration state
 void fgOutputSettings();
@@ -55,7 +56,7 @@ bool fgInitGeneral ();
 
 
 // Create all the subsystems needed by the sim
-void fgCreateSubsystems();
+void fgCreateSubsystems(bool duringReset);
 
 // called after the subsystems have been bound and initialised,
 // to peform final init
@@ -64,14 +65,8 @@ void fgPostInitSubsystems();
 // Reset: this is what the 'reset' command (and hence, GUI) is attached to
 void fgReInitSubsystems();
 
-/*
- * Search in the current directory, and in on directory deeper
- * for <aircraft>-set.xml configuration files and show the aircaft name
- * and the contents of the<description> tag in a sorted manner.
- *
- * @parampath the directory to search for configuration files
- */
-void fgShowAircraft(const SGPath &path);
+
+void fgStartNewReset();
 
 #endif // _FG_INIT_HXX