]> git.mxchange.org Git - flightgear.git/commit
Melchior FRANZ:
authorehofman <ehofman>
Thu, 19 Aug 2004 11:54:57 +0000 (11:54 +0000)
committerehofman <ehofman>
Thu, 19 Aug 2004 11:54:57 +0000 (11:54 +0000)
commit5c18572c64d971f97f2cfa6e0b407e4399c1fdcc
treead8b68951e2b38543c109d87e650d0716ba6516b
parent02d721f8c9a17cd0855c61574486c500e2f85fb0
Melchior FRANZ:

All necessary elements for an ADF gauge had been migrated from
Cockpit/kr_87.cxx to Instrumentation/adf.cxx. Migrating the sound
related elements was apparently planned, but not done yet. This
intermediate state broke the ident morse sound: it couldn't get
turned off and it always indicated "SF", regardless of the tuned-in
frequency. The following patches continue the migration:

adf-radio.diff     => Base/Aircraft/Instruments/adf-radio.xml:
---------------------------------------------------------------
* sets maximum volume to 1 (rather than 2); Not only is 1
  loud enough (and 2 unpleasantly noisy), it also prevents
  the knob from being turned to non-existant positions.  :-)
* fixes wrong use of /instrumentation/adf/ident
* the voice/ident selector(?) remains unchanged, but as it's
  not switched to "IDENT", there'll be no ident sound by default
  this is consistent with other sounds and DME.

radiostack.diff    => src/Cockpit/radiostack.[ch]xx:
---------------------------------------------------------------
* comment out use of FGKR_87 class. kr_87.[ch]xx is now no
  longer used. kr-87adf.xml would no longer work, either, but
  isn't used anywhere, anyway. Future adf radios have to use
  the adf instrument, using xml/Nasal for specific hardware
  implementation details.

adf.diff           => src/Instrumentation/adf.[ch]xx:
---------------------------------------------------------------
* adds ident morse sound capability using two new input
  properties:
  - /instrumentation/adf/volume-norm  (double)
  - /instrumentation/adf/ident-audible  (bool)
src/Cockpit/radiostack.cxx
src/Cockpit/radiostack.hxx
src/Instrumentation/adf.cxx
src/Instrumentation/adf.hxx