]> 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:46:24 +0000 (23:46 +0000)
committercurt <curt>
Tue, 6 May 2003 23:46:24 +0000 (23:46 +0000)
commit2119db35c3f596268e2ee21d3cd8c359a85cd1ed
treeccb9e1e0ed410e651a0eafb6d3ce73690bb9d027
parentf347d6d291192ef73cd6e7162a047382cd6370a6
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.
54 files changed:
src/ATC/AIEntity.cxx
src/ATC/AILocalTraffic.cxx
src/ATC/ATCdisplay.cxx
src/Aircraft/aircraft.cxx
src/Autopilot/newauto.hxx
src/Cockpit/cockpit.cxx
src/Cockpit/hud.cxx
src/Cockpit/panel.hxx
src/Cockpit/panel_io.cxx
src/Controls/controls.hxx
src/FDM/JSBSim/FGPropertyManager.cpp
src/FDM/JSBSim/FGPropertyManager.h
src/FDM/JSBSim/JSBSim.hxx
src/FDM/LaRCsim.cxx
src/FDM/YASim/FGFDM.hpp
src/FDM/YASim/Makefile.am
src/FDM/YASim/YASim.cxx
src/FDM/YASim/yasim-test.cpp
src/FDM/flight.cxx
src/GUI/dialog.hxx
src/GUI/gui.cxx
src/GUI/new_gui.hxx
src/GUI/prop_picker.cxx
src/GUI/prop_picker.hxx
src/Input/input.cxx
src/Input/input.hxx
src/Instrumentation/airspeed_indicator.hxx
src/Instrumentation/altimeter.hxx
src/Instrumentation/attitude_indicator.hxx
src/Instrumentation/dme.hxx
src/Instrumentation/gps.hxx
src/Instrumentation/heading_indicator.hxx
src/Instrumentation/mag_compass.hxx
src/Instrumentation/slip_skid_ball.hxx
src/Instrumentation/turn_indicator.hxx
src/Instrumentation/vertical_speed_indicator.hxx
src/Main/Makefile.am
src/Main/fg_commands.cxx
src/Main/fg_commands.hxx
src/Main/fg_init.cxx
src/Main/fg_props.cxx
src/Main/fg_props.hxx
src/Main/fgfs.hxx
src/Main/logger.hxx
src/Main/main.cxx
src/Main/viewer.cxx
src/Main/viewer.hxx
src/Model/acmodel.cxx
src/Model/loader.cxx
src/Model/loader.hxx
src/Model/model.cxx
src/Model/model.hxx
src/Model/modelmgr.cxx
src/Model/panelnode.cxx