2119db35c3
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. |
||
---|---|---|
.. | ||
.cvsignore | ||
airspeed_indicator.cxx | ||
airspeed_indicator.hxx | ||
altimeter.cxx | ||
altimeter.hxx | ||
attitude_indicator.cxx | ||
attitude_indicator.hxx | ||
dme.cxx | ||
dme.hxx | ||
gps.cxx | ||
gps.hxx | ||
gyro.cxx | ||
gyro.hxx | ||
heading_indicator.cxx | ||
heading_indicator.hxx | ||
instrument_mgr.cxx | ||
instrument_mgr.hxx | ||
mag_compass.cxx | ||
mag_compass.hxx | ||
Makefile.am | ||
README | ||
slip_skid_ball.cxx | ||
slip_skid_ball.hxx | ||
turn_indicator.cxx | ||
turn_indicator.hxx | ||
vertical_speed_indicator.cxx | ||
vertical_speed_indicator.hxx |
src/Instrumentation/ - gauge and avionics support code This directory contains code to support gauges, avionics, and other instruments in FlightGear. The file instrument_mgr.[ch]xx contains a subsystem group that holds all of the individual instruments. Every instrument should extend FGSubsystem, and then should be added to the group in the FGInstrumentMgr constructor. Code is gradually moving into here from other areas, especially the src/Cockpit/ directory. Eventually, there will be an XML configuration file to select what instrumentation modules should be available, so that different aircraft can have appropriate support.