Added information on enabling the http server.
This commit is contained in:
parent
c2e6992b5e
commit
90471b6fad
3 changed files with 24 additions and 34 deletions
|
@ -4388,40 +4388,6 @@ SOURCE=.\src\GUI\mouse.cxx
|
|||
# End 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
|
||||
|
||||
!IF "$(CFG)" == "FlightGear - Win32 Release"
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue