1
0
Fork 0
Commit graph

10 commits

Author SHA1 Message Date
mfranz
a51165f775 This code was correct (apart from the doubled binding). The problem is
that the --dme option sets the switch position correctly, but the
preferences.xml file is read after that and sets the switch back to 1.
And then we do *correctly* get nav1. Ideally, we would only let
preferences set the switch position if it wasn't set before, but
for now lets just comment that out there.
2006-03-10 15:36:17 +00:00
david
ff83826bfc Remove setup action -- it overwrites a DME frequency specified on the
command line.
2006-03-10 14:41:50 +00:00
david
be1a0a1c9e I made a minor change to one file in the c172p that accommodates a
feature I added to the navcom-kx155.xml and the dme.xml in the
Instruments folder.  I wanted to leave the frequencies, etc. on these
dark until there was voltage applied to
/systems/electrical/outputs/nav.  This was accomplished by adding a
param and property alias  pointing to the appropriate value.  Since the
c172p "always" applies 28 volts, this made no change in the c172p, but
allowed me to model the avionics master and battery master realisticly
in pa24-electrical.nas.  I put in comments explaining this at the change
points.

There is a useful  "help > aircraft help" that walks you through the
start procedure and lists the key bindings as well as the key to "light
up" the hot spots.
2006-02-12 17:31:21 +00:00
mfranz
5a12cd5d22 before the big instrumentation rewrite dme.cxx cared for the initial
mode according to the switch position. Now dme.cxx is more generic
and can't make these settings any more -- and doesn't. So the dme
didn't display anything even if the knob was on.

The initialization has now to be done in the dme.xml file.
(Button-less actions are fired at init time and then thrown away.)
2006-02-02 00:07:11 +00:00
curt
789560ea22 Roy Vegard Ovesen:
I've finished the emigration of the radiostack, and I've also removed it
completely. It turned out that the comm radio is completely implemented in
the ATC subsystem. I've changed the affected ATC files to point
to /instrumentation/com, but I guess that the maintainer of the ATC code
should decide wether to make it configureable, and how.

I also had to change some files in Network and Main. The changes in network
should be obvious, but the changes in Main were a bit suspect. The files
included radiostack.hxx, but they weren't directly depending on
radiostack-hxx. They were depending on other files that were included by
radiostack.hxx. I got it to compile, but I'm not sure if I included the
correct directly depending file.

For the data directory I changed every occurrence of /radios/
with /instrumentation/ with this simple one-liner that I found on the net:

find -name '*.xml' -type f | xargs perl -pi -e
's/\/radios\//\/instrumentation\//g'

Instead of me sending all the files that got changed by this I suggest that
you execute the one-liner yourself. Of course I can not guarantee that this
will work perfectly, but I considered hand editing to be not an option (I'm
lazy). I don't want to test every aircraft to see if everything still works,
I think it's better to wait and see if anyone complaints about broken nav
radios/instruments.
2004-12-03 21:25:48 +00:00
david
426631620a Use the new DME support under /instrumentation/ instead of the old
support under /radios/.

The display now goes dark when the switch is turned off.

The switch position is now handled entirely within the XML -- the C++
code is generic, so that other DME receiver types can also be
modelled.
2003-03-09 04:13:18 +00:00
david
b6d3f56829 Modified to work with changed "switch" layer. 2003-03-09 03:41:48 +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
curt
246bd8f7db This one should use the LED font as well. 2002-02-20 04:07:56 +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