]> git.mxchange.org Git - flightgear.git/commit
Kill off some globals.
authorJames Turner <zakalawe@mac.com>
Wed, 19 Sep 2012 17:17:44 +0000 (18:17 +0100)
committerJames Turner <zakalawe@mac.com>
Wed, 19 Sep 2012 17:17:44 +0000 (18:17 +0100)
commit029012b8b94f0719fc824f2b6afff43afe2cb9c2
tree6a2af102141f5aa04d9e0804ceba70cba87109e1
parent32248bf576f720789c99c1c5901280be0d4fe3ca
Kill off some globals.

Break some subsystem dependencies, by explicitly using properties to read the primary position, orientation and velocities. (Instead of directly accessing the primary model placement). This means a couple more globals can die.
src/Main/fg_init.cxx
src/Main/globals.cxx
src/Main/globals.hxx
src/Viewer/viewer.cxx
src/Viewer/viewmgr.cxx
src/Viewer/viewmgr.hxx