]> git.mxchange.org Git - flightgear.git/commit
This is step "1" of probably "many" in the process of separating out the
authorcurt <curt>
Tue, 6 May 2003 23:54:17 +0000 (23:54 +0000)
committercurt <curt>
Tue, 6 May 2003 23:54:17 +0000 (23:54 +0000)
commit198b88ca9b4a4b123b2e9ccdc85ea17eeaea70c6
treeb54f532aafb94feb1b5d4dae032ac909ed0e043a
parent2119db35c3f596268e2ee21d3cd8c359a85cd1ed
This is step "1" of probably "many" in the process of separating out the
scene management code and organizing it within simgear.  My strategy is
to identify the code I want to move, and break it's direct flightgear
dependencies.  Then it will be free to move over into the simgear package.

- Moved some property specific code into simgear/props/
- Split out the condition code from fgfs/src/Main/fg_props and put it
  in it's own source file in simgear/props/
- Created a scene subdirectory for scenery, model, and material property
  related code.
- Moved location.[ch]xx into simgear/scene/model/
- The location and condition code had dependencies on flightgear's global
  state (all the globals-> stuff, the flightgear property tree, etc.)  SimGear
  code can't depend on it so that data has to be passed as parameters to the
  functions/methods/constructors.
- This need to pass data as function parameters had a dramatic cascading
  effect throughout the FlightGear code.
22 files changed:
src/MultiPlayer/mpplayer.cxx
src/Network/atc610x.cxx
src/Network/generic.cxx
src/Network/httpd.cxx
src/Network/native_ctrls.cxx
src/Network/props.cxx
src/Objects/apt_signs.hxx
src/Objects/matlib.hxx
src/Objects/newmat.cxx
src/Objects/newmat.hxx
src/Objects/obj.hxx
src/Objects/pt_lights.hxx
src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx
src/Sound/fg_fx.cxx
src/Sound/fg_sound.cxx
src/Sound/fg_sound.hxx
src/Systems/electrical.hxx
src/Systems/pitot.hxx
src/Systems/static.hxx
src/Systems/vacuum.hxx
src/WeatherCM/FGLocalWeatherDatabase.h