]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_init.hxx
Added static port system and a new altimeter model connected to it.
[flightgear.git] / src / Main / fg_init.hxx
index 75bdf100b931f93a04ddd0525674c88259991c94..caba67dc5c92a57215da592f73ebfa6b7b546741 100644 (file)
 #endif                                   
 
 
+#ifdef HAVE_CONFIG
+#  include <config.h>
+#endif
+
+#include <simgear/compiler.h>
+#include <simgear/timing/sg_time.hxx>
+
+#include STL_STRING
+
+#include <Airports/simple.hxx>
+
+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 );
 
@@ -53,13 +71,27 @@ bool fgInitSubsystems( void );
 void fgReInitSubsystems( void );
 
 
-// Set current_options lon/lat given an airport id
+// find basic airport location info from airport database
+bool fgFindAirportID( const string& id, FGAirport *a );
+
+// Set pos given an airport id
 bool fgSetPosFromAirportID( const string& id );
 
-// Set current_options lon/lat given an airport id and heading (degrees)
+// Set tower position given an airport id
+bool fgSetTowerPosFromAirportID( const string& id, double hdg );
+
+// 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_HXX
 
-#endif // _FG_INIT_H