1
0
Fork 0

Added information on enabling the http server.

This commit is contained in:
curt 2001-08-21 21:19:26 +00:00
parent c2e6992b5e
commit 90471b6fad
3 changed files with 24 additions and 34 deletions

View file

@ -4388,40 +4388,6 @@ SOURCE=.\src\GUI\mouse.cxx
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\src\GUI\net_dlg.cxx
!IF "$(CFG)" == "FlightGear - Win32 Release"
# PROP Intermediate_Dir "Release\Lib_GUI"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "FlightGear - Win32 Debug"
# PROP Intermediate_Dir "Debug\Lib_GUI"
# PROP Exclude_From_Build 1
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\src\GUI\net_dlg.hxx
!IF "$(CFG)" == "FlightGear - Win32 Release"
# PROP Intermediate_Dir "Release\Lib_GUI"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "FlightGear - Win32 Debug"
# PROP Intermediate_Dir "Debug\Lib_GUI"
# PROP Exclude_From_Build 1
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\src\GUI\sgVec3Slider.cxx SOURCE=.\src\GUI\sgVec3Slider.cxx
!IF "$(CFG)" == "FlightGear - Win32 Release" !IF "$(CFG)" == "FlightGear - Win32 Release"

View file

@ -88,3 +88,26 @@ Moving Map Example:
your current location. Atlas is a really nifty program with many your current location. Atlas is a really nifty program with many
neat options such as the ability to generate and use background neat options such as the ability to generate and use background
bitmaps that show the terrain, cities, lakes, oceans, rivers, etc. 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.

View file

@ -1186,6 +1186,7 @@ fgUsage ()
cout << endl; cout << endl;
cout << "Network Options:" << 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--enable-network-olk: enable Multipilot mode" << endl;
cout << "\t--disable-network-olk: disable Multipilot mode (default)" << endl; cout << "\t--disable-network-olk: disable Multipilot mode (default)" << endl;
cout << "\t--net-hud: Hud displays network info" << endl; cout << "\t--net-hud: Hud displays network info" << endl;