]> git.mxchange.org Git - flightgear.git/commit
Restructure option/config handling code, to avoid multiple scans & parses for special...
authorJames Turner <zakalawe@mac.com>
Sun, 16 Oct 2011 17:35:40 +0000 (18:35 +0100)
committerJames Turner <zakalawe@mac.com>
Sun, 16 Oct 2011 17:35:40 +0000 (18:35 +0100)
commitb1c7495fec8d0ae6db3a411bbdd55d53c2a7e8cc
tree8c410e684ce4c759e057b8985f372d57a23a308f
parent3d544fbc1f9e50e96da349788d2fe802115e6072
Restructure option/config handling code, to avoid multiple scans & parses for special options (fg-root/fg-aircraft/aircraft). Push most of the code into a new Options class, inside options.cxx, and clean up various call-sites as a result.
src/Main/bootstrap.cxx
src/Main/fg_init.cxx
src/Main/fg_init.hxx
src/Main/fgviewer.cxx
src/Main/globals.cxx
src/Main/globals.hxx
src/Main/main.cxx
src/Main/options.cxx
src/Main/options.hxx