]> git.mxchange.org Git - flightgear.git/commit
Roy Vegard Ovesen:
authorcurt <curt>
Fri, 3 Dec 2004 21:21:16 +0000 (21:21 +0000)
committercurt <curt>
Fri, 3 Dec 2004 21:21:16 +0000 (21:21 +0000)
commit634e79353f72dab2d6b76dcca3788437403fb6a0
tree321d0946f37e5d4b23bbe288394aa2a97be1ce5b
parent8ba9f4e3a4fd51e0652e8b73120e3b3a77701d2d
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.
17 files changed:
src/ATC/AIPlane.cxx
src/ATC/ATC.cxx
src/ATC/ATCmgr.cxx
src/ATC/approach.cxx
src/Cockpit/Makefile.am
src/Cockpit/radiostack.cxx [deleted file]
src/Cockpit/radiostack.hxx [deleted file]
src/Instrumentation/navradio.cxx
src/Instrumentation/navradio.hxx
src/Main/fg_init.cxx
src/Main/main.cxx
src/Main/renderer.cxx
src/Network/ATC-Inputs.cxx
src/Network/ATC-Inputs.hxx
src/Network/atlas.cxx
src/Network/native_gui.cxx
src/Network/opengc.cxx