+void
+fgDefaultWeatherValue (const char * propname, double value)
+{
+ unsigned int i;
+
+ SGPropertyNode * branch = fgGetNode("/environment/config/boundary", true);
+ vector<SGPropertyNode_ptr> entries = branch->getChildren("entry");
+ for (i = 0; i < entries.size(); i++) {
+ entries[i]->setDoubleValue(propname, value);
+ }
+
+ branch = fgGetNode("/environment/config/aloft", true);
+ entries = branch->getChildren("entry");
+ for (i = 0; i < entries.size(); i++) {
+ entries[i]->setDoubleValue(propname, value);
+ }
+}
+
+
+void
+fgExit (int status)
+{
+ SG_LOG(SG_GENERAL, SG_INFO, "Exiting FlightGear with status " << status);
+
+ globals->get_io()->shutdown_all();
+ exit(status);
+}
+
+