david
1779e8b8bd
Patches from Cameron Moore to fix setting cloud altitude from
...
properties or the command line.
2002-01-16 16:56:49 +00:00
david
f29978fb42
Added fullscreen to globals, and fixed compile bug for 3DFX cards.
2002-01-06 16:51:31 +00:00
david
3cbc6f21c7
Renamed fgParseOptions(int,string) to fgParseArgs, and modified the
...
function to allow property files as non-option parameters after the
options have finished (and added "--" to terminate options). It's now
possible to do something like
fgfs denver-am.fgd
or even
fgfs at-lax.fgd in-c310.fgd around-sunset.fgd
This works the same way as the --config option, but will be friendlier
for GUIs, where start-up situation files can now be associated easily
with FlightGear.
2002-01-04 20:58:48 +00:00
curt
40c45ee57e
Added help text for the --aircraft=name option.
2002-01-02 16:19:39 +00:00
david
18b1b4f7af
Added --trace-read=<property> and --trace-write=<property> options.
...
These will log trace messages whenever a specific property value is
read or written through the property manager. They do not cause
FlightGear to poll bound values, so if a class variable that is bound
is changed directly, no trace message will be displayed.
These options are also useful in conjunction with a debugger.
--trace-read will cause the private SimGear SGPropertyNode::trace_read
method to be invoked, and --trace-write will cause the private SimGear
SGPropertyNode::trace_write method to be invoked; in a debugger
session, a user can set breakpoints on these methods then get a
backtrace to see what specific points in the code are reading or
writing properties.
2001-12-12 03:49:48 +00:00
david
519224d9fc
Modified initial property parsing order to be more intuitive. It now
...
works like this:
1. Parse preferences.xml, which will usually specify a default
aircraft using the /sim/aircraft property.
2. If /sim/aircraft is specified and not empty, parse the properties
in $FG_ROOT/Aircraft/{/sim/aircraft}-set.xml to set up a default
aircraft.
3. During command-line parsing, whenever the --aircraft option appears
set /sim/aircraft appropriately and parse the properties in
$FG_ROOT/Aircraft/{/sim/aircraft}-set.xml. Any --config, --prop, or
--aircraft options afterwards will take precedence.
2001-12-11 19:27:37 +00:00
curt
5c0fa275d7
Tweaks to how we load aircraft defaults and definition file to make things
...
more intuitive. We switch to an include in the preferences.xml to include
the default model, and then if the user specifies --aircraft=, that is
expanded immediately so portions can be overwritten by subsequent command
line options.
2001-12-10 16:29:20 +00:00
curt
470292a434
Small tweaks to initialization sequence and logic so we can default to
...
a top level aircraft def file (c172-set.xml)
preferences.xml or --aircraft= or any other property setting mechanism can
be used to set the property "/sim/aircraft". After all options and config
files are parsed, the contents of /sim/aircraft is expanded into a *-set.xml
file and loaded.
2001-12-09 05:19:50 +00:00
curt
75478ea4f7
Added --aircraft= option back in, but now it refers to a top level aircraft
...
config file that pulls in the proper fdm, aero model, panel, 3d model, etc.
for the aircraft.
2001-12-07 17:37:15 +00:00
curt
d8e7b7b9ff
Changed --aircraft= to --aero= to make way for a high level aircraft definition
...
that will tie together fdm, aero model, 3d model, sounds, etc. into one
top level config file.
2001-12-06 23:10:50 +00:00
curt
06c4076cf5
Fixed a typo in --opengc parsing.
2001-12-05 04:54:54 +00:00
curt
a69e2cc976
Added Network/opengc.cxx Network/opengc.hxx Network/opengc_data.hxx
...
This is John Wojnaroski's initial implimentation of an interface to the
OpenGC glass cockpit displays.
2001-11-30 23:56:28 +00:00
curt
3d1e802b84
Format tweaks.
2001-11-20 22:03:58 +00:00
curt
daabe407aa
Add the "null" flight model which is a better name for what the "external"
...
flightmodel used to be called.
Fixed wind (it was 180 degrees off).
2001-11-12 04:49:06 +00:00
curt
b85be56a55
Changes to support Dave Luff's initial ATC/ATIS module.
2001-11-07 17:55:28 +00:00
curt
ca29586a45
Fixed a few spelling/grammer mistakes in the command line help output.
2001-10-10 17:55:29 +00:00
curt
a691a3a3f6
Changes to better support arbitrary external flight models.
2001-09-04 14:38:15 +00:00
curt
a6ab6f0117
Fixed option help (Tony Peden).
2001-08-31 23:55:58 +00:00
curt
90471b6fad
Added information on enabling the http server.
2001-08-21 21:19:26 +00:00
curt
c2e6992b5e
Added httpd protocol so you can interface to a running copy of FlightGear
...
via a web browser, see README.IO for more details.
2001-08-21 21:13:55 +00:00
curt
6d1c383814
Added protocol to output out complete control positions.
2001-07-27 14:23:01 +00:00
curt
c6711fb877
- catch sg_exception instead of sg_io_exception
...
- use new sg_throwable::getFormattedMessage method
2001-07-24 23:51:36 +00:00
curt
43cf7b07fd
Tweaks.
2001-07-24 01:02:59 +00:00
curt
96b88e539f
Move FGControls declaration to globals.hxx
2001-07-22 19:51:16 +00:00
curt
5abff48c8a
- catch exception from readProperties and exit
2001-07-19 04:53:13 +00:00
curt
90634ffc23
Added "/sim/startup/browser-app" as a property.
...
Added auto coordination to the --help output.
2001-07-08 23:30:17 +00:00
curt
72a95d570c
** Properties Renamed
...
- /autopilot/locks/nav1 => /autopilot/locks/nav[0]
- /autopilot/settings/altitude += "-ft"
- /autopilot/settings/climb-rate += "-fpm"
- /autopilot/settings/heading-bug += "-deg"
- /consumables/fuel/tank1/level => /consumables/fuel/tank[0]/level-gal_us
- /consumables/fuel/tank2/level => /consumables/fuel/tank[1]/level-gal_us
- /engines/engine0/cht => /engines/engine[0]/cht-degf
- /engines/engine0/egt => /engines/engine[0]/egt-degf
- /engines/engine0/fuel-flow => /engines/engine[0]/fuel-flow-gph
- /engines/engine0/mp => /engines/engine[0]/mp-osi
- /engines/engine0/rpm => /engines/engine[0]/rpm
- /environment/clouds/altitude += "-ft"
- /environment/magnetic-dip += "-deg"
- /environment/magnetic-varation += "-deg"
- /environment/visibility += "-m"
- /environment/wind-down += "-fps"
- /environment/wind-east += "-fps"
- /environment/wind-north += "-fps"
- /orientation/heading += "-deg"
- /orientation/heading-magnetic += "-deg"
- /orientation/pitch += "-deg"
- /orientation/roll += "-deg"
- /position/altitude += "-ft"
- /position/altitude-agl += "-ft"
- /position/latitude += "-deg"
- /position/longitude += "-deg"
- /radios/adf/frequencies/selected += "-khz"
- /radios/adf/frequencies/standby += "-khz"
- /radios/adf/rotation += "-deg"
- /radios/nav1/* => /radios/nav[0]/*
- /radios/nav2/* => /radios/nav[1]/*
- /radios/nav[*]/dme/distance += "-nm"
- /radios/nav[*]/frequencies/selected += "-mhz"
- /radios/nav[*]/frequencies/standby += "-mhz"
- /radios/nav[*]/radials/actual += "-deg"
- /radios/nav[*]/radials/selected += "-deg"
- /sim/view/goal-offset += "-deg"
- /sim/view/offset += "-deg"
- /steam/adf += "-deg"
- /steam/airspeed += "-kt"
- /steam/altitude += "-ft"
- /steam/gyro-compass += "-deg"
- /steam/gyro-compass-error += "-deg"
- /steam/mag-compass += "-deg"
- /steam/vertical-speed += "-fpm"
- /velocities/airspeed += "-kt"
- /velocities/side-slip += "-rad"
- /velocities/speed-down += "-fps"
- /velocities/speed-east += "-fps"
- /velocities/speed-north += "-fps"
- /velocities/uBody += "-fps"
- /velocities/vBody += "-fps"
- /velocities/wBody += "-fps"
- /velocities/vertical-speed += "-fps"
2001-07-02 22:27:24 +00:00
curt
7a723244a0
- modified to use the new /sim/freeze property
2001-06-26 22:00:10 +00:00
curt
4be7feddf6
Changed help message to --config= rather than --file=
2001-06-18 20:17:43 +00:00
curt
f99f670aed
- renamed /sim/startup/view-offset to /sim/view/offset
2001-06-01 17:53:20 +00:00
curt
69a4aa083d
Trying to fix ascii file parsing and line terminator handling.
2001-05-18 16:09:39 +00:00
curt
f1b1077d93
More fg -> sg namespace changes in simgear.
2001-03-25 14:20:12 +00:00
curt
182fd42b40
SG-ified logstream.
2001-03-24 06:03:11 +00:00
curt
5ea9c04c64
SG_ namespace.
2001-03-24 04:56:46 +00:00
curt
17c96ae69e
SG_ namespace
2001-03-24 04:48:44 +00:00
curt
17f3d48e03
FG_ to SG_ namespace changes.
2001-03-24 02:36:45 +00:00
curt
1bf3001749
FG_ to SG_ namespace changes.
2001-03-24 00:18:01 +00:00
curt
5958389026
FG_ to SG_ namespace changes.
2001-03-23 22:59:18 +00:00
curt
4cf4edcfb4
Julian Foad: fixes to meters/feet confusion. (Also length of "--vNorth="
...
is 9 not 8.) Note that the initial altitude setting was placing us way below
the ground, but as it doesn't seem to have caused us problems, it's probably
redundant!
2001-03-17 21:06:43 +00:00
curt
95e27e8cb9
Working on vor audio ident (morse).
...
Fixed a bug in Network/props.cxx with the cd command.
Fixed a typo in options.cxx
2001-03-09 02:41:04 +00:00
curt
5ca3ea8ecf
A small patch (a few lines) to add a --file option to
...
FlightGear, a long-standing request from Norm, and to get the UIUC
--aircraft-dir option working again.
2001-03-06 19:11:28 +00:00
curt
e85cf6cc10
Fixed a couple property manager typos.
2001-03-03 00:04:03 +00:00
curt
29dede4c1a
Tony's patches to allow you to position yourself at an offset from the
...
default location (i.e. end of the runway.) This allows you to start
up on final and things like that.
2001-03-02 23:27:22 +00:00
curt
2c9443c698
Fixed a problem with autodetecting if we need to draw our own mouse cursor
...
on voodoo-1/2 cards.
2001-02-26 13:58:33 +00:00
curt
d1a50b5667
Fixes to get back support for Voodoo-1/2 cards and the voodoo-in-a-window
...
hack.
2001-02-02 22:39:13 +00:00
curt
a4d27fe7bc
Added a specific "altas" format for output which includes a proprietary string
...
to convey the radio stack settings.
2001-01-31 22:21:36 +00:00
curt
2cd7473384
Fixed --enable-freeze.
2001-01-31 15:59:16 +00:00
curt
1a0a65b2a5
Fixes to iochannel parsing which had gotten broke at some point.
...
Fixed --disable-skyblend
2001-01-26 00:21:36 +00:00
curt
1bc2a66b1c
Fixed a couple property manager typo's.
2001-01-22 20:39:25 +00:00
curt
e9b492af4f
More tweaking of position reset logic.
2001-01-17 23:30:35 +00:00