]> git.mxchange.org Git - flightgear.git/commitdiff
Added information on enabling the http server.
authorcurt <curt>
Tue, 21 Aug 2001 21:19:26 +0000 (21:19 +0000)
committercurt <curt>
Tue, 21 Aug 2001 21:19:26 +0000 (21:19 +0000)
FlightGear.dsp
docs-mini/README.IO
src/Main/options.cxx

index 974c3168eaaa35077de9766a40422ec7b06ce3f4..b8d6c5c9b9db101eaba72023cba9ac11a4f55574 100644 (file)
@@ -4388,40 +4388,6 @@ SOURCE=.\src\GUI\mouse.cxx
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=.\src\GUI\net_dlg.cxx\r
-\r
-!IF  "$(CFG)" == "FlightGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_GUI"\r
-# PROP Exclude_From_Build 1\r
-\r
-!ELSEIF  "$(CFG)" == "FlightGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_GUI"\r
-# PROP Exclude_From_Build 1\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\src\GUI\net_dlg.hxx\r
-\r
-!IF  "$(CFG)" == "FlightGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_GUI"\r
-# PROP Exclude_From_Build 1\r
-\r
-!ELSEIF  "$(CFG)" == "FlightGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_GUI"\r
-# PROP Exclude_From_Build 1\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
 SOURCE=.\src\GUI\sgVec3Slider.cxx\r
 \r
 !IF  "$(CFG)" == "FlightGear - Win32 Release"\r
index 61db580bd10e5778ec80f9783f99b1449ceaf0d1..6e838c6e9ce47911aa950c25d2a9215c81282969 100644 (file)
@@ -88,3 +88,26 @@ Moving Map Example:
     your current location.  Atlas is a really nifty program with many
     neat options such as the ability to generate and use background
     bitmaps that show the terrain, cities, lakes, oceans, rivers, etc.
+
+
+HTTP Server Example
+
+    You can now interact with a running copy of FlightGear using your
+    web browser.  You can view all the key internal variables and even
+    change the ones that are writable.  If you have support in your
+    favorite [scripting] language for interacting with an http server,
+    you should be able to use this as a mechanism to interface your
+    script with FlightGear.
+
+    Start up fgfs with the --httpd=<port#> option:
+
+    For example:
+
+        fgfs --httpd=5500
+
+    Now point your web browser to:
+
+        http://host.domain.name:5500/
+
+    When a value is displayed, you can click on it to bring up a form
+    to assign it a new value.
index 822a1a1a17a1ca8336e97956c7a65ec21a1f86ec..e781d5c08c8f99c0c06d4b44cb247a09620ee1e1 100644 (file)
@@ -1186,6 +1186,7 @@ fgUsage ()
     cout << endl;
 
     cout << "Network Options:" << endl;
+    cout << "\t--httpd=port:  enable http server on the specified port" << endl;
     cout << "\t--enable-network-olk:  enable Multipilot mode" << endl;
     cout << "\t--disable-network-olk:  disable Multipilot mode (default)" << endl;
     cout << "\t--net-hud:  Hud displays network info" << endl;