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
curt
7fd44010e1
- /autopilot/locks/altitude now returns true only for FG_ALTITUDE_LOCK
...
- added /autopilot/locks/terrain (bool)
- added /sim/time/warp and /sim/time/warp-delta (both long)
- added /sim/freeze property (bool)
- added /sim/rendering/textures property (bool)
2001-06-26 21:59:59 +00:00
curt
aa5ad5ad6e
- added property-multiply command with argument 'factor'
...
- added confirm dialog for exit command
- added tile-cache-reload command
- added lighting-update command
2001-06-26 21:59:49 +00:00
curt
66280d99a9
Moved DEFAULT_AP_HEADING_LOCK to newauto.hxx
...
it was defined in both fg_props.cxx and newauto.cxx
This is I believe where it belongs. (NHV)
2001-06-26 20:14:13 +00:00
curt
af2a0da64c
Patches contributed by Norman Vine to do ultra-hires tiled screen dumps.
2001-06-26 18:23:07 +00:00
curt
b97673d877
- added Alex Perry's patch to support more sophisticated hat switches
...
for the view axes
2001-06-20 20:52:10 +00:00
curt
4be7feddf6
Changed help message to --config= rather than --file=
2001-06-18 20:17:43 +00:00
curt
d839e84f99
Cleaned up various warning messages.
2001-06-14 22:18:01 +00:00
curt
bd0b5085db
Fixed an data initialization problem that was causing MSVC grief.
2001-06-12 18:45:23 +00:00
curt
9337a5446c
Added David's 'real' patch rather than my guess at it.
2001-06-12 16:25:36 +00:00
curt
80bc1edcd5
removed fgHasValue
...
removed fgGetValue
added fgHasNode
2001-06-12 05:17:49 +00:00
curt
6a9051883c
changed SGValue::Type references to SGPropertyNode::Type
2001-06-12 05:17:33 +00:00
curt
7f6d4b0a01
Irix Mips compiler tweaks.
2001-06-06 23:31:48 +00:00
curt
a54e10ac12
Part of David's command binding updates.
2001-06-05 22:13:26 +00:00
curt
dacb644ae7
- replace FGBFI::update with fgUpdateProps
...
- switched to properties for calculating RPM for model selector
- no longer includes bfi.hxx
- no longer includes keyboard.hxx
2001-06-05 22:12:28 +00:00
curt
286817978d
- added load and save commands
...
- added panel-load command
- added preferences-load command
2001-06-05 22:12:17 +00:00
curt
cdfd5cada4
- removed all reference to BFI; use fgInitProps instead
2001-06-05 22:12:08 +00:00
curt
f7c1a37611
File no longer used.
2001-06-05 22:11:56 +00:00
curt
f367e6d432
- removed bfi.cxx and bfi.hxx
...
- removed keyboard.cxx and keyboard.hxx
2001-06-05 22:11:37 +00:00
curt
b75e1af838
More tweaks related to David's input patches.
2001-06-04 21:38:44 +00:00
curt
96be3ad601
- no longer include Joystick/joystick.hxx
...
- include Input/input.hxx
- register GLUTkeyup and GLUTspecialkeyup with glut
- comment out call to fgJoystickRead
- comment out call to fgJoystickInit
- add call to FGInput::update to replace fgJoystickRead
2001-06-04 21:08:06 +00:00
curt
c9616e8c10
- added declarations for GLUTkeyup and GLUTspecialkeyup to capture
...
key-release events
2001-06-04 21:07:54 +00:00
curt
523cc794df
- implemented GLUTkeyup and GLUTspecialkeyup
2001-06-04 21:07:39 +00:00
curt
d2a20a3824
- no longer include joystick.hxx
2001-06-04 21:07:27 +00:00
curt
d00ea4540f
- removed Joystick library
2001-06-04 21:07:16 +00:00
curt
a6e0a69637
Removed cloud layers added for testing.
2001-06-04 20:48:43 +00:00