]> git.mxchange.org Git - flightgear.git/log
flightgear.git
22 years ago- added support for conditions in FGBinding
curt [Fri, 3 Aug 2001 00:19:03 +0000 (00:19 +0000)]
- added support for conditions in FGBinding
- switched to a vector of binding pointers, to avoid copying
- removed FGBinding copy constructor implementation

22 years ago- changed comments to proper doc formatting
curt [Fri, 3 Aug 2001 00:18:21 +0000 (00:18 +0000)]
- changed comments to proper doc formatting
- added support for conditions and group layers
- have all panel components but FGPanel itself derived from
  FGConditional

22 years ago- added support for conditions
curt [Fri, 3 Aug 2001 00:17:58 +0000 (00:17 +0000)]
- added support for conditions
- added support for group layers

22 years agoRemove cached intersection code so that we can support intersecting with
curt [Tue, 31 Jul 2001 19:54:29 +0000 (19:54 +0000)]
Remove cached intersection code so that we can support intersecting with
dynamic objects.

22 years agoMSVC tweak.
curt [Mon, 30 Jul 2001 22:54:20 +0000 (22:54 +0000)]
MSVC tweak.

22 years agoVarious MSVC tweaks and warning fixes.
curt [Mon, 30 Jul 2001 22:53:53 +0000 (22:53 +0000)]
Various MSVC tweaks and warning fixes.

22 years agoinitialize marker_xs.
curt [Mon, 30 Jul 2001 22:30:05 +0000 (22:30 +0000)]
initialize marker_xs.

22 years agoMinor fix for Irix.
curt [Mon, 30 Jul 2001 22:06:33 +0000 (22:06 +0000)]
Minor fix for Irix.

22 years ago- implemented DME ETE and speed
curt [Mon, 30 Jul 2001 16:26:46 +0000 (16:26 +0000)]
- implemented DME ETE and speed
- modified DME distance to return nautical miles rather than meters
- modified to use /panel/dme/switch-position to select DME frequency

22 years ago- declared new methods for getting DME ETE and speed
curt [Mon, 30 Jul 2001 16:26:25 +0000 (16:26 +0000)]
- declared new methods for getting DME ETE and speed

22 years ago- modified switch layers to use layer[0] and layer[1] rather than
curt [Mon, 30 Jul 2001 16:26:02 +0000 (16:26 +0000)]
- modified switch layers to use layer[0] and layer[1] rather than
  layer1 and layer2; panel config changes required

22 years ago- added support for reporting SGPropertyNode::NONE type
curt [Fri, 27 Jul 2001 22:00:48 +0000 (22:00 +0000)]
- added support for reporting SGPropertyNode::NONE type

22 years ago- added optional min, max, and wrap parameters to property-adjust
curt [Fri, 27 Jul 2001 22:00:35 +0000 (22:00 +0000)]
- added optional min, max, and wrap parameters to property-adjust

22 years ago- fixed typos relating to nav frequency properties
curt [Fri, 27 Jul 2001 22:00:25 +0000 (22:00 +0000)]
- fixed typos relating to nav frequency properties

22 years ago- modified readAction to use FGBinding
curt [Fri, 27 Jul 2001 22:00:17 +0000 (22:00 +0000)]
- modified readAction to use FGBinding

22 years ago- modified PanelAction to use FGBinding, like keyboard and joystick
curt [Fri, 27 Jul 2001 21:59:53 +0000 (21:59 +0000)]
- modified PanelAction to use FGBinding, like keyboard and joystick
  events
- removed all classes derived from PanelAction (no longer needed)

22 years agoAdded protocol to output out complete control positions.
curt [Fri, 27 Jul 2001 14:23:01 +0000 (14:23 +0000)]
Added protocol to output out complete control positions.

22 years agoUpdated Alex Perry's email address.
curt [Thu, 26 Jul 2001 23:12:35 +0000 (23:12 +0000)]
Updated Alex Perry's email address.

22 years agoUpdates.
curt [Thu, 26 Jul 2001 17:17:11 +0000 (17:17 +0000)]
Updates.

22 years agoTracking source changes ...
curt [Thu, 26 Jul 2001 17:16:34 +0000 (17:16 +0000)]
Tracking source changes ...

22 years ago- ensure that all throwables are caught
curt [Tue, 24 Jul 2001 23:51:57 +0000 (23:51 +0000)]
- ensure that all throwables are caught
- use new sg_throwable::getFormattedMessage method

22 years ago- catch sg_exception instead of sg_io_exception
curt [Tue, 24 Jul 2001 23:51:47 +0000 (23:51 +0000)]
- 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

22 years ago- catch sg_exception instead of sg_io_exception
curt [Tue, 24 Jul 2001 23:51:36 +0000 (23:51 +0000)]
- catch sg_exception instead of sg_io_exception
- use new sg_throwable::getFormattedMessage method

22 years ago- removed some verbose output
curt [Tue, 24 Jul 2001 23:50:52 +0000 (23:50 +0000)]
- removed some verbose output

22 years ago- added guiErrorMessage
curt [Tue, 24 Jul 2001 23:50:44 +0000 (23:50 +0000)]
- added guiErrorMessage

22 years ago- added guiErrorMessage (sends both to log and dialog, if GUI active)
curt [Tue, 24 Jul 2001 23:50:34 +0000 (23:50 +0000)]
- added guiErrorMessage (sends both to log and dialog, if GUI active)

22 years ago- catch sg_exception instead of sg_io_exception
curt [Tue, 24 Jul 2001 23:50:08 +0000 (23:50 +0000)]
- catch sg_exception instead of sg_io_exception
- use guiErrorMessage

22 years agoTweaks.
curt [Tue, 24 Jul 2001 01:02:59 +0000 (01:02 +0000)]
Tweaks.

22 years agoInitial revision.
curt [Mon, 23 Jul 2001 22:17:47 +0000 (22:17 +0000)]
Initial revision.

22 years agoMulti-engine throttle fixes.
curt [Mon, 23 Jul 2001 20:32:31 +0000 (20:32 +0000)]
Multi-engine throttle fixes.

22 years agoAdded recent ground effect modeling changes.
curt [Mon, 23 Jul 2001 20:31:59 +0000 (20:31 +0000)]
Added recent ground effect modeling changes.

22 years ago- added get_gear_down and set_gear_down (bool)
curt [Mon, 23 Jul 2001 20:31:40 +0000 (20:31 +0000)]
- added get_gear_down and set_gear_down (bool)

22 years ago- added property /controls/gear-down
curt [Mon, 23 Jul 2001 20:31:33 +0000 (20:31 +0000)]
- added property /controls/gear-down

22 years ago- fixed typo that prevented ADF needle from being offset by aircraft
curt [Mon, 23 Jul 2001 20:31:11 +0000 (20:31 +0000)]
- fixed typo that prevented ADF needle from being offset by aircraft
  heading

22 years agoInitial revision.
curt [Sun, 22 Jul 2001 20:01:25 +0000 (20:01 +0000)]
Initial revision.

22 years agoMove FGControls declaration to globals.hxx
curt [Sun, 22 Jul 2001 19:51:16 +0000 (19:51 +0000)]
Move FGControls declaration to globals.hxx

22 years agoMake the tile loader more tolerant of situations where the cache is full,
curt [Fri, 20 Jul 2001 22:25:12 +0000 (22:25 +0000)]
Make the tile loader more tolerant of situations where the cache is full,
but no entries qualify for removal.  It will keep trying to schedule the
tile(s) until an entry frees up.  Entries in the cache do not qualify for
removal if they are in the process of being loaded.

22 years agoCM:
curt [Thu, 19 Jul 2001 22:10:14 +0000 (22:10 +0000)]
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.

22 years ago- don't set computer sound volume -- that's up to the user
curt [Thu, 19 Jul 2001 04:55:58 +0000 (04:55 +0000)]
- don't set computer sound volume -- that's up to the user

22 years ago- moved main to mainLoop, and added top-level main to catch any missed
curt [Thu, 19 Jul 2001 04:54:53 +0000 (04:54 +0000)]
- moved main to mainLoop, and added top-level main to catch any missed
  exceptions; we'll make it smarter later

22 years ago- catch exception from readProperties and exit
curt [Thu, 19 Jul 2001 04:53:13 +0000 (04:53 +0000)]
- catch exception from readProperties and exit

22 years ago- catch exception from readProperties and show dialog
curt [Thu, 19 Jul 2001 04:51:05 +0000 (04:51 +0000)]
- catch exception from readProperties and show dialog

22 years agoFix include order for FreeBSD. Actually this is the published order for
curt [Mon, 16 Jul 2001 23:12:39 +0000 (23:12 +0000)]
Fix include order for FreeBSD.  Actually this is the published order for
Linux, but linux seems to be more tolerant of the includes being out of order.

22 years agoTweaks to base version check code.
curt [Mon, 16 Jul 2001 19:37:13 +0000 (19:37 +0000)]
Tweaks to base version check code.

22 years agoCheck for the proper version of the base package and exit gracefully if not
curt [Mon, 16 Jul 2001 19:17:58 +0000 (19:17 +0000)]
Check for the proper version of the base package and exit gracefully if not
found.

22 years agoCenter display upon leaving mouse mode until we can come up with a more
curt [Mon, 16 Jul 2001 04:44:49 +0000 (04:44 +0000)]
Center display upon leaving mouse mode until we can come up with a more
comprehensive solution.

22 years ago- added /sim/temp/winding-ccw property
curt [Mon, 16 Jul 2001 04:35:35 +0000 (04:35 +0000)]
- added /sim/temp/winding-ccw property
- added /sim/temp/full-screen property
- added /sim/fdm/data-logging property

22 years ago- removed hard-coded bindings for ^R (toggle winding-ccw), W (toggle
curt [Mon, 16 Jul 2001 04:35:15 +0000 (04:35 +0000)]
- removed hard-coded bindings for ^R (toggle winding-ccw), W (toggle
  3DFX full-screen mode), Shift-F10 (toggle FDM data logging)

22 years ago- make certain UVW velocities don't overright airspeed-kt at startup
curt [Mon, 16 Jul 2001 04:34:46 +0000 (04:34 +0000)]
- make certain UVW velocities don't overright airspeed-kt at startup

22 years agoUse try/catch to flag FDM initialization errors.
curt [Mon, 16 Jul 2001 04:15:02 +0000 (04:15 +0000)]
Use try/catch to flag FDM initialization errors.

22 years agoUse throw to report config file load errors.
curt [Mon, 16 Jul 2001 04:14:34 +0000 (04:14 +0000)]
Use throw to report config file load errors.

22 years agoAdded base package changes.
curt [Fri, 13 Jul 2001 22:40:10 +0000 (22:40 +0000)]
Added base package changes.

22 years agoPrepairing for 0.7.8 release.
curt [Fri, 13 Jul 2001 22:11:01 +0000 (22:11 +0000)]
Prepairing for 0.7.8 release.

22 years agoUpdated so load/save will work.
curt [Fri, 13 Jul 2001 21:45:48 +0000 (21:45 +0000)]
Updated so load/save will work.

22 years agoUpdated config file from Bernie.
curt [Fri, 13 Jul 2001 17:05:29 +0000 (17:05 +0000)]
Updated config file from Bernie.

22 years agoMore work on the external view panning.
curt [Fri, 13 Jul 2001 16:50:35 +0000 (16:50 +0000)]
More work on the external view panning.

22 years agoUpdates ...
curt [Fri, 13 Jul 2001 16:41:49 +0000 (16:41 +0000)]
Updates ...

22 years agoSynced with latest JSBSim.
curt [Fri, 13 Jul 2001 16:41:23 +0000 (16:41 +0000)]
Synced with latest JSBSim.

22 years agoNuked the segfault on exit bug everyone was seeing. The material lib could
curt [Fri, 13 Jul 2001 05:15:29 +0000 (05:15 +0000)]
Nuked the segfault on exit bug everyone was seeing.  The material lib could
have multiple ptrs to individual entries (aliases) but the destructor was
trying to delete every ptr so it would delete already freed memory for aliases.
I implimented a simple ref counting scheme (similar to the plib mechanism) to
track references to material lib entries and only "delete" them when the last
reference is removed.

22 years agoMost recent changes blew up LaRCsim so we are reverting to a previous
curt [Fri, 13 Jul 2001 05:13:29 +0000 (05:13 +0000)]
Most recent changes blew up LaRCsim so we are reverting to a previous
version.

22 years agoFix a comment.
curt [Fri, 13 Jul 2001 05:12:53 +0000 (05:12 +0000)]
Fix a comment.

22 years agoWe check if the ptr is NULL before deleting it, so set it to NULL after
curt [Fri, 13 Jul 2001 05:12:30 +0000 (05:12 +0000)]
We check if the ptr is NULL before deleting it, so set it to NULL after
deleting it.

22 years agoJust being a tad more careful with setting the ptr to NULL after deleting
curt [Fri, 13 Jul 2001 05:11:46 +0000 (05:11 +0000)]
Just being a tad more careful with setting the ptr to NULL after deleting
it.

22 years agoLeave view as is when leaving mouse pans view mode.
curt [Thu, 12 Jul 2001 23:36:31 +0000 (23:36 +0000)]
Leave view as is when leaving mouse pans view mode.

22 years ago- added full doc comments for all functions
curt [Thu, 12 Jul 2001 23:36:04 +0000 (23:36 +0000)]
- added full doc comments for all functions
- added fgSetArchivable, fgSetReadable, and fgSetWritable functions

22 years agoMade the following properties archivable:
curt [Thu, 12 Jul 2001 23:35:56 +0000 (23:35 +0000)]
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

22 years ago- modified set_V_(north|east|down) to use set_Velocities_Local, so
curt [Thu, 12 Jul 2001 23:35:36 +0000 (23:35 +0000)]
- modified set_V_(north|east|down) to use set_Velocities_Local, so
  that overrides in JSBSim will work (i.e. properties can be set)
- modified set_(u|v|w)Body to use set_Velocities_Wind_Body, so
  that overrides in JSBSim will work (i.e. properties can be set)

22 years agoMade the following properties archivable:
curt [Thu, 12 Jul 2001 23:35:18 +0000 (23:35 +0000)]
Made the following properties archivable:
- /position/latitude-deg
- /position/longitude-deg
- /position/altitude-ft
- /orientation/roll-deg
- /orientation/pitch-deg
- /orientation/heading-deg
- /velocities/speed-north-fps
- /velocities/speed-east-fps
- /velocities/speed-down-fps
(TODO: add rotational velocities)

22 years ago- removed /controls/brakes/all property (no longer needed, since we
curt [Thu, 12 Jul 2001 23:34:57 +0000 (23:34 +0000)]
- removed /controls/brakes/all property (no longer needed, since we
  can bind a single input to multiple properties)
Made the following properties archivable:
- /controls/aileron
- /controls/elevator
- /controls/elevator-trim
- /controls/rudder
- /controls/flaps
- /controls/throttle[*]
- /controls/mixture[*]
- /controls/propellor-pitch[*]
- /controls/brakes[*]

22 years agoMade the following properties archivable:
curt [Thu, 12 Jul 2001 23:34:38 +0000 (23:34 +0000)]
Made the following properties archivable:
- /steam/airspeed-kt
- /steam/altitude-ft
- /steam/altimeter-datum-mb
- /steam/turn-rate
- /steam/slip-skid
- /steam/vertical-speed-fpm
- /steam/gyro-compass-deg
- /steam/adf-deg
- /steam/gyro-compass-error-deg
- /steam/mag-compass-deg

22 years agoMade the following properties archivable:
curt [Thu, 12 Jul 2001 23:34:27 +0000 (23:34 +0000)]
Made the following properties archivable:
- /radios/nav[0]/frequencies/selected-mhz
- /radios/nav[0]/standby-mhz
- /radios/nav[0]/radials/selected-deg
- /radios/nav[0]/volume
- /radios/nav[0]/ident
- /radios/nav[1]/frequencies/selected-mhz
- /radios/nav[1]/standby-mhz
- /radios/nav[1]/radials/selected-deg
- /radios/nav[1]/volume
- /radios/nav[1]/ident
- /radios/adf/frequencies/selected-khz
- /radios/adf/frequencies/standby-khz
- /radios/adf/rotation-deg
- /radios/adf/volume
- /radios/adf/ident

22 years agoMade the following properties archivable:
curt [Thu, 12 Jul 2001 23:34:16 +0000 (23:34 +0000)]
Made the following properties archivable:
- /sim/panel/visibility
- /sim/panel/x-offset
- /sim/panel/y-offset

22 years ago"Fix a bug" in mouse-pans-external view mode.
curt [Thu, 12 Jul 2001 20:03:37 +0000 (20:03 +0000)]
"Fix a bug" in mouse-pans-external view mode.

22 years agoMSVC tweaks.
curt [Thu, 12 Jul 2001 17:55:44 +0000 (17:55 +0000)]
MSVC tweaks.

22 years agosync with latest JSBSim ...
curt [Thu, 12 Jul 2001 17:55:27 +0000 (17:55 +0000)]
sync with latest JSBSim ...

22 years agoUpdates ...
curt [Thu, 12 Jul 2001 17:48:57 +0000 (17:48 +0000)]
Updates ...

22 years agoBegin stubbing in some wrapper code in preparation for runway lighting.
curt [Thu, 12 Jul 2001 15:03:49 +0000 (15:03 +0000)]
Begin stubbing in some wrapper code in preparation for runway lighting.

22 years agoRestructured code a bit to split out the bits that create objects on the
curt [Thu, 12 Jul 2001 15:03:09 +0000 (15:03 +0000)]
Restructured code a bit to split out the bits that create objects on the
fly.  More work needs to be done.
Added apt_signs.[ch]xx

22 years agoRemoved FGControls.{cpp,h}
curt [Wed, 11 Jul 2001 23:53:45 +0000 (23:53 +0000)]
Removed FGControls.{cpp,h}

22 years agoFix a dialog box cancel problem.
curt [Wed, 11 Jul 2001 23:51:31 +0000 (23:51 +0000)]
Fix a dialog box cancel problem.

22 years ago- move data structure allocation into constructor (it doesn't belong
curt [Wed, 11 Jul 2001 18:54:50 +0000 (18:54 +0000)]
- move data structure allocation into constructor (it doesn't belong
  in init)
- free data structures in destructor
- ensure that interpolation tables are allocated before any searching
  is done; otherwise, starting at some locations (such as CYYZ) causes
  a segfault

22 years agoShuffled around and restructured the terrain elevation interesection code
curt [Wed, 11 Jul 2001 15:51:21 +0000 (15:51 +0000)]
Shuffled around and restructured the terrain elevation interesection code
to make it usable by the threaded tile loader for placing objects at ground
level at load time.

22 years agoAttempt to fix a segfault on exit, although I don't think this quite
curt [Wed, 11 Jul 2001 15:50:18 +0000 (15:50 +0000)]
Attempt to fix a segfault on exit, although I don't think this quite
does it.  We'll have to dig deeper.

22 years agoRestructured the audio initialization order and don't attempt to continue
curt [Wed, 11 Jul 2001 06:01:55 +0000 (06:01 +0000)]
Restructured the audio initialization order and don't attempt to continue
loading while intro music is being played.

22 years agoFixed a problem with recentering/snaping the view direction to forward so
curt [Wed, 11 Jul 2001 06:00:55 +0000 (06:00 +0000)]
Fixed a problem with recentering/snaping the view direction to forward so
the panel can come back.

22 years ago20010710 sync with JSBSim.
curt [Tue, 10 Jul 2001 15:56:38 +0000 (15:56 +0000)]
20010710 sync with JSBSim.

22 years ago- /sim/model/h-rotation renamed to /sim/model/heading-offset-deg
curt [Mon, 9 Jul 2001 16:17:28 +0000 (16:17 +0000)]
- /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"

22 years ago- modified to take advantage of SGCommandState to cache property nodes
curt [Mon, 9 Jul 2001 16:17:20 +0000 (16:17 +0000)]
- modified to take advantage of SGCommandState to cache property nodes
  and other information and avoid expensive lookups in the main loop.

22 years agoFixed a typo, tank2 -> tank[1]
curt [Mon, 9 Jul 2001 15:50:36 +0000 (15:50 +0000)]
Fixed a typo, tank2 -> tank[1]

22 years agoFixed a typo ...
curt [Mon, 9 Jul 2001 12:58:08 +0000 (12:58 +0000)]
Fixed a typo ...

22 years agoFix a bug with old-style binary scenery compatibilty where no ground lighting
curt [Sun, 8 Jul 2001 23:38:56 +0000 (23:38 +0000)]
Fix a bug with old-style binary scenery compatibilty where no ground lighting
was generated.

22 years agoVarious cleanups, jettison plib-1.2.0 support, remove a potential memory
curt [Sun, 8 Jul 2001 23:38:16 +0000 (23:38 +0000)]
Various cleanups, jettison plib-1.2.0 support, remove a potential memory
leak.

22 years agoAllow other routines to increment/decrement goal_view_offset while keeping it
curt [Sun, 8 Jul 2001 23:37:14 +0000 (23:37 +0000)]
Allow other routines to increment/decrement goal_view_offset while keeping it
in the allowable 0-360 range.

22 years agoUntweak my button tweak.
curt [Sun, 8 Jul 2001 23:30:44 +0000 (23:30 +0000)]
Untweak my button tweak.

22 years agoAdded "/sim/startup/browser-app" as a property.
curt [Sun, 8 Jul 2001 23:30:17 +0000 (23:30 +0000)]
Added "/sim/startup/browser-app" as a property.
Added auto coordination to the --help output.

22 years agoAdded "/sim/startup/browser-app" as a property.
curt [Sun, 8 Jul 2001 23:29:48 +0000 (23:29 +0000)]
Added "/sim/startup/browser-app" as a property.

23 years agoUpdated to work with current property naming convention.
curt [Fri, 6 Jul 2001 21:38:28 +0000 (21:38 +0000)]
Updated to work with current property naming convention.

23 years agoUse the new plib-1.4.1 sound interface to set a maximum of 6 concurrent
curt [Tue, 3 Jul 2001 23:07:57 +0000 (23:07 +0000)]
Use the new plib-1.4.1 sound interface to set a maximum of 6 concurrent
sounds (rather than the default 3).

23 years agogcc-3.0 fixes.
curt [Tue, 3 Jul 2001 22:39:16 +0000 (22:39 +0000)]
gcc-3.0 fixes.

23 years agoRather than create an SGTime structure and trigger a spurious
curt [Tue, 3 Jul 2001 16:45:34 +0000 (16:45 +0000)]
Rather than create an SGTime structure and trigger a spurious
"*** NO TIMEZONE" error message, just grab the modified julian date
directly.