]> git.mxchange.org Git - flightgear.git/commit
Make magavr a regular subsystem.
authorJames Turner <zakalawe@mac.com>
Mon, 17 Sep 2012 23:58:27 +0000 (00:58 +0100)
committerJames Turner <zakalawe@mac.com>
Mon, 17 Sep 2012 23:58:27 +0000 (00:58 +0100)
commit505796e349db709c7fbcebf069bf5ddea4fa79bf
treefba7ac8d099b4d1a4daeb2a16bbd8ee90b52385c
parent9f5790c84391fc611d32d17a6834763ca8c9b5fd
Make magavr a regular subsystem.

Remove various hacks and make magvar work like a normal subsystem, as part of the environment manager. Fix the remaining users of the globals->get_mag accessor, and hence kill off the global pointer.
src/Environment/CMakeLists.txt
src/Environment/environment_mgr.cxx
src/Environment/magvarmanager.cxx [new file with mode: 0644]
src/Environment/magvarmanager.hxx [new file with mode: 0644]
src/Instrumentation/heading_indicator.cxx
src/Instrumentation/heading_indicator_fg.cxx
src/Main/fg_props.cxx
src/Main/globals.cxx
src/Main/globals.hxx
src/Main/main.cxx