curt
111f2b7b86
Addition Irix tweaks.
2001-10-24 22:06:47 +00:00
curt
535d708ee0
Various MSVC patches.
2001-10-24 21:25:11 +00:00
curt
b6a259dc90
Fixes for win_ratio/aspect_ratio confusion. It was due to confusion in the
...
meaning of "win_ratio". I've removed win_ratio and added fov_ratio and
aspect_ratio, as it seems both are needed.
n.b. The multi-line changes in fgReshape comprise:
extracting common code,
removing an apparently arbitrary "+1" on the view height,
changing "set_win_ratio" to "set_aspect_ratio".
2001-10-24 20:28:28 +00:00
curt
2fbab0d702
Various floating point / initial value bug fixes from Christian Mayer.
2001-10-11 22:07:45 +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
3e968179c2
Patches from Dave Luffto pass the magneto and starter control movements
...
through the controls interface and the running and cranking flags through
the engine interface. This has no current effect on LaRCsim (other than
to make the code neater) but is necessary to add engine startup to JSBSim
which is now underway. I've also put in main.cxx which escaped getting
committed in the previous round of changes - adding this will add
the cranking sound to LaRCsim during engine startup.
2001-10-10 17:50:20 +00:00
curt
f02107a0cc
Tweaks ...
2001-10-05 20:27:43 +00:00
curt
646f93e618
Enclosed is the latest engine model update that supercedes the
...
one I sent yesterday. I have re-zipped all four files so you can
neglect the last lot but only io360.cxx has changed if you've
already committed. It's untested since I can't start the engine until
John has committed his update with separate properties. Should
work fine though.
2001-09-19 22:58:29 +00:00
curt
f2e89407d2
For ADA fdm turn on hud for center channel.
2001-09-19 22:27:08 +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
019b6d29fe
Fixed [simple] terrain following altitude hold mode to work again.
2001-08-31 18:07:23 +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
1f4788fbb5
- declared FGCondition class and subclasses
...
- declared FGConditional abstract base class
- declared fgReadCondition global function
2001-08-03 00:19:59 +00:00
curt
4de352cbe8
- added FGCondition class and subclasses
...
- implemented FGConditional abstract base class
- added fgReadCondition global function
2001-08-03 00:19:41 +00:00
curt
f725b12de5
- added optional min, max, and wrap parameters to property-adjust
2001-07-27 22:00:35 +00:00
curt
6d1c383814
Added protocol to output out complete control positions.
2001-07-27 14:23:01 +00:00
curt
58c936cc4e
- ensure that all throwables are caught
...
- use new sg_throwable::getFormattedMessage method
2001-07-24 23:51:57 +00:00
curt
ff91dbfd7b
- catch sg_exception instead of sg_io_exception
...
- use guiErrorMessage
- added new properties /sim/view/pilot/x-offset-m,
/sim/view/pilot/y-offset-m, and /sim/view/pilot/z-offset-m to
control pilot-position offset from CG
2001-07-24 23:51:47 +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
ddbd85aa7b
- catch sg_exception instead of sg_io_exception
...
- use guiErrorMessage
2001-07-24 23:50:08 +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
20f50d349f
CM:
...
I've updated the WeatherDatabase to be able to use only the n closest
stations. This can speed up the initalization dramatically.
To take a benefit from that you need:
- http://129.13.102.67/out/flight/current.txt.gz in
FG_ROOT/weather/current.txt.gz
- --prop:/environment/weather/working-type=internet
- --prop:/environment/weather/max-stations=what_ever_you_want
The WeatherCM stuff now publishes its data in the property system.
/environment/weather/wind-north-mps
/environment/weather/wind-east-mps
/environment/weather/wind-up-mps
/environment/weather/temperature-K
/environment/weather/air-pressure-Pa
/environment/weather/vapor-pressure-Pa
/environment/weather/air-density
are the new properties.
2001-07-19 22:10:14 +00:00
curt
4141c6f8bb
- moved main to mainLoop, and added top-level main to catch any missed
...
exceptions; we'll make it smarter later
2001-07-19 04:54:53 +00:00
curt
5abff48c8a
- catch exception from readProperties and exit
2001-07-19 04:53:13 +00:00
curt
7004475732
- catch exception from readProperties and show dialog
2001-07-19 04:51:05 +00:00
curt
76a94d8f02
Tweaks to base version check code.
2001-07-16 19:37:13 +00:00
curt
093960be31
Check for the proper version of the base package and exit gracefully if not
...
found.
2001-07-16 19:17:58 +00:00
curt
bbc2d1758e
- added /sim/temp/winding-ccw property
...
- added /sim/temp/full-screen property
- added /sim/fdm/data-logging property
2001-07-16 04:35:35 +00:00
curt
c5c5a83ab2
Use try/catch to flag FDM initialization errors.
2001-07-16 04:15:02 +00:00
curt
87fbd941ba
- added full doc comments for all functions
...
- added fgSetArchivable, fgSetReadable, and fgSetWritable functions
2001-07-12 23:36:04 +00:00
curt
6beb00f407
Made the following properties archivable:
...
- /sim/time/gmt
- /sim/view/offset-deg
- /sim/view/goal-offset-deg
- /sim/field-of-view
- /consumables/fuel/tank[0]/level-gal_us
- /consumables/fuel/tank[1]/level-gal_us
- /autopilot/locks/altitude
- /autopilot/settings/altitude-ft
- /autopilot/locks/glide-slope
- /autopilot/locks/terrain
- /autopilot/settings/climb-rate-fpm
- /autopilot/locks/heading
- /autopilot/settings/heading-bug-deg
- /autopilot/locks/wing-leveler
- /autopilot/locks/nav[0]
- /autopilot/locks/auto-throttle
- /autopilot/control-overrides/rudder
- /autopilot/control-overrides/elevator
- /autopilot/control-overrides/throttle
- /environment/visibility-m
- /environment/wind-north-fps
- /environment/wind-east-fps
- /environment/wind-down-fps
2001-07-12 23:35:56 +00:00
curt
c0309ef524
"Fix a bug" in mouse-pans-external view mode.
2001-07-12 20:03:37 +00:00
curt
e2dd3ac3e5
MSVC tweaks.
2001-07-12 17:55:44 +00:00
curt
1e474b4773
Restructured the audio initialization order and don't attempt to continue
...
loading while intro music is being played.
2001-07-11 06:01:55 +00:00
curt
347d951bca
Fixed a problem with recentering/snaping the view direction to forward so
...
the panel can come back.
2001-07-11 06:00:55 +00:00
curt
968b9fcb9c
- /sim/model/h-rotation renamed to /sim/model/heading-offset-deg
...
- /sim/model/p-rotation renamed to /sim/model/roll-offset-deg
- /sim/model/r-rotation renamed to /sim/model/pitch-offset-deg
- /sim/model/x-offset += "-m"
- /sim/model/y-offset += "-m"
- /sim/model/z-offset += "-m"
2001-07-09 16:17:28 +00:00
curt
5f12c963d6
- modified to take advantage of SGCommandState to cache property nodes
...
and other information and avoid expensive lookups in the main loop.
2001-07-09 16:17:20 +00:00
curt
589eb42699
Fixed a typo, tank2 -> tank[1]
2001-07-09 15:50:36 +00:00
curt
4520173d9b
Allow other routines to increment/decrement goal_view_offset while keeping it
...
in the allowable 0-360 range.
2001-07-08 23:37:14 +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
4503cbb8b7
Oops, typo.
2001-07-02 22:14:09 +00:00
curt
1d486add56
Tweaks.
2001-07-02 22:12:22 +00:00
curt
41260ee546
Fixed a bug with warp variable initialization. fgTie() was nuking out the
...
initial value.
2001-07-02 16:44:02 +00:00
curt
1b8f9cd1b4
- modified to support new prototype for command functions, with extra
...
SGCommandState parameter
- changed SGPropertyNode::UNKNOWN to SGPropertyNode::UNSPECIFIED
2001-06-29 03:47:39 +00:00
curt
c3131e5e42
input.cxx: cleaned up some warnings.
...
fg_props.cxx: fixed a type "if (axisLong = 0) {" ...
2001-06-26 22:05:11 +00:00
curt
7a723244a0
- modified to use the new /sim/freeze property
2001-06-26 22:00:10 +00:00