1
0
Fork 0
Commit graph

12 commits

Author SHA1 Message Date
ehofman
d57e589fde 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)
2004-08-19 11:55:18 +00:00
david
24fe2ef1e6 Use the new ADF radio logic (unfortunately, it does not yet support
ident).
2003-11-25 19:38:57 +00:00
david
b6d3f56829 Modified to work with changed "switch" layer. 2003-03-09 03:41:48 +00:00
david
f026a4db74 Patch from Julian Foad:
OK -- thanks.  I have now fixed up all the other XML files in the base
package that use "max" and "wrap".  Those affected are all in
Aircraft/Instruments/.  In these files I have also corrected the
indentation in some places, and corrected the frequency controls in
nav3.xml (which does not seem to be in use), and corrected a few obvious
hotspot position bugs.  Where the radios used wrapping to toggle the
ident button between 0 and 1, I have changed this to use
"property-toggle" instead.
2003-01-19 22:00:08 +00:00
j4strngs
7d224e6820 The new led font is now antialiased (`a la Andy) and has
twice the design size (character height) of the old one.
Advantages:
- displays . and : correctly with less space around, and digits
  with more space around (using Andy's improvements to plib)
- small text becomes much more legible (-> clock, AP-altitude)
- the font contains pretty much every character that can be
  displayed on a seven segment display, so it might be more
  useful for future instruments.
2002-11-02 00:23:46 +00:00
david
d1596cd80e Make knobs work on the standby frequency rather than the active
frequency.
2002-10-25 22:16:57 +00:00
curt
a6eca0a3e9 Make adf power on/off a seperate property. 2002-08-29 02:18:36 +00:00
curt
f4fc7844df Various property name changes corresponding to adf overhaul in code. 2002-07-03 21:38:14 +00:00
curt
c4e573ec58 Updates to adf property names. 2002-07-03 19:53:30 +00:00
curt
142df2295c Minor property name changes reflecting changes on the source code side. 2002-06-30 20:48:53 +00:00
curt
64155f6531 Specify LED font for radio displays. 2002-02-19 02:43:28 +00:00
j4strngs
b5537626f8 Instruments are now consolidated in a single directory.
Textures are now more organized and usefully named.
2001-12-12 14:20:38 +00:00