]> git.mxchange.org Git - flightgear.git/commit
Finish what was committed in a broken state yesterday.
authorehofman <ehofman>
Mon, 20 Sep 2004 13:21:51 +0000 (13:21 +0000)
committerehofman <ehofman>
Mon, 20 Sep 2004 13:21:51 +0000 (13:21 +0000)
commit986492d72d0e84c2ba2dfdad366f5c7414ee6ac9
tree206389a1a53667166e6b0e93ce57fe503716d3ee
parent3b3600fd2141e599910dcdf3d76778a94274df72
Finish what was committed in a broken state yesterday.
Split up main.cxx into a program manegement part (which remains in
main.cxx) and a render part (the new renderer.?xx files). Also turn
the renderer into a small class of it's own. At this time not really
exctining because most of the stuff is still global, but it allows us
to slowly migrate some of the global definitions into the new class.

The FGRenderer class is now managed by globals, so to get the renderer
just call gloabals->get_renderer()

At some pijt it might be a good idea to also turn the remaining code in
main into a class of it's own. With a bit of luck we end up with a more
robust, and better maintainable code.
15 files changed:
src/GUI/gui_funcs.cxx
src/GUI/gui_local.cxx
src/Main/Makefile.am
src/Main/globals.cxx
src/Main/globals.hxx
src/Main/main.cxx
src/Main/main.hxx
src/Main/renderer.cxx
src/Main/renderer.hxx
src/Model/acmodel.hxx
src/MultiPlayer/mpplayer.hxx
src/Scenery/hitlist.hxx
src/Scenery/scenery.hxx
src/Scenery/tileentry.hxx
src/Scenery/tilemgr.hxx