]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/util.hxx
set /sim/fg-current to current working directory; getcwd() is defined in
[flightgear.git] / src / Main / util.hxx
index 093e7d69e7e78cd571a25e613e691c7a94dcd02b..a3dba939abc2783455affea66dd867b5bf25c307 100644 (file)
@@ -1,5 +1,5 @@
 // util.hxx - general-purpose utility functions.
-// Copyright (C) 2002  Curtis L. Olson  - curt@me.umn.edu
+// Copyright (C) 2002  Curtis L. Olson  - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -13,7 +13,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
 extern void fgDefaultWeatherValue (const char * propname, double value);
 
 
+/**
+ * Set up a plausible wind layout, boundary and aloft,
+ * based on just a few parameters.
+ *
+ * @param min_hdg Minimal wind heading
+ * @param max_hdg Maximal wind heading
+ * @param speed Windspeed in knots
+ * @param gust Wind gust variation in knots
+ */
+extern void fgSetupWind (double min_hdg, double max_hdg,
+                         double speed, double gust);
+
 /**
  * Clean up and exit FlightGear.
  *