]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/util.hxx
Attempt #1 to sort out confusion between left / right / parking brake
[flightgear.git] / src / Main / util.hxx
index 91c34a1b95b18b1c9dade82f6a852631b63b2757..093e7d69e7e78cd571a25e613e691c7a94dcd02b 100644 (file)
 #endif
 
 
+/**
+ * Initialize a single value through all existing weather levels.
+ *
+ * This function is useful mainly from the command-line.
+ *
+ * @param propname The name of the subproperty to initialized.
+ * @param value The initial value.
+ */
+extern void fgDefaultWeatherValue (const char * propname, double value);
+
+
+/**
+ * Clean up and exit FlightGear.
+ *
+ * This function makes sure that network connections and I/O streams
+ * are cleaned up.
+ *
+ * @param status The exit status to pass to the operating system.
+ */
+extern void fgExit (int status = 0);
+
+
 /**
  * Move a value towards a target.
  *