]> git.mxchange.org Git - flightgear.git/commit
Roy Vegard Ovesen:
authorehofman <ehofman>
Sat, 13 Nov 2004 15:00:00 +0000 (15:00 +0000)
committerehofman <ehofman>
Sat, 13 Nov 2004 15:00:00 +0000 (15:00 +0000)
commit2c72f131639d4c2c2f1de7cff65f7ceab95f61c4
treeff434f06427fabcee4f2323bd8b58e628857402e
parent2df4a3b68576492a54adc11d503914558791bfc7
Roy Vegard Ovesen:

We have decided that hardcoded initialization of instruments and systems is
bad. So we remove them.

Hardcoded initialization is bad because it can't be overridden from config
files or from the command line. We prefer to do it through config files that
should be, eventually, aircraft specific (*-set.xml), not global
(preferences.xml).
17 files changed:
src/Instrumentation/adf.cxx
src/Instrumentation/airspeed_indicator.cxx
src/Instrumentation/altimeter.cxx
src/Instrumentation/attitude_indicator.cxx
src/Instrumentation/clock.cxx
src/Instrumentation/dme.cxx
src/Instrumentation/encoder.cxx
src/Instrumentation/gps.cxx
src/Instrumentation/heading_indicator.cxx
src/Instrumentation/kr_87.cxx
src/Instrumentation/slip_skid_ball.cxx
src/Instrumentation/transponder.cxx
src/Instrumentation/turn_indicator.cxx
src/Instrumentation/vertical_speed_indicator.cxx
src/Systems/pitot.cxx
src/Systems/static.cxx
src/Systems/vacuum.cxx