2 // fg_init.hxx -- Flight Gear top level initialization routines
4 // Written by Curtis Olson, started August 1997.
6 // Copyright (C) 1997 Curtis L. Olson - http://www.flightgear.org/~curt
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License as
10 // published by the Free Software Foundation; either version 2 of the
11 // License, or (at your option) any later version.
13 // This program is distributed in the hope that it will be useful, but
14 // WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29 #include <simgear/misc/sg_path.hxx>
34 // Return the current base package version
35 std::string fgBasePackageVersion();
39 // Read in configuration (file and command line)
40 int fgInitConfig ( int argc, char **argv, bool reinit );
42 void fgInitAircraftPaths(bool reinit);
44 int fgInitAircraft(bool reinit);
46 // log various settings / configuration state
47 void fgOutputSettings();
49 // Initialize the localization
50 SGPropertyNode *fgInitLocale(const char *language);
52 // Init navaids and waypoints
56 // General house keeping initializations
57 bool fgInitGeneral ();
60 // Create all the subsystems needed by the sim
61 void fgCreateSubsystems(bool duringReset);
63 // called after the subsystems have been bound and initialised,
64 // to peform final init
65 void fgPostInitSubsystems();
67 // Re-position: when only location is changing, we can do considerably
68 // less work than a full re-init.
69 void fgStartReposition();
71 void fgStartNewReset();
73 #endif // _FG_INIT_HXX