]> git.mxchange.org Git - flightgear.git/commit
ATC/Traffic doesn’t crash reset.
authorJames Turner <zakalawe@mac.com>
Fri, 11 Dec 2015 18:11:46 +0000 (12:11 -0600)
committerJames Turner <zakalawe@mac.com>
Fri, 11 Dec 2015 18:11:59 +0000 (12:11 -0600)
commit8877b442f8f687c56f18600f7080533ca1b52dc5
tree6cd1a9256cd5f811ae90f23bc7d98600c82dc593
parent154464140528441f73da8a27d3e93ac04b72d277
ATC/Traffic doesn’t crash reset.

- remove some global headers from AI headers, to avoid pollution
- change how ATC owns the ‘player’ FGAIAircraft so reset works
- ensure AIAircraft controllers are cleared on unbind for reset
28 files changed:
src/AIModel/AIAircraft.cxx
src/AIModel/AIAircraft.hxx
src/AIModel/AIBallistic.cxx
src/AIModel/AIBase.cxx
src/AIModel/AIBase.hxx
src/AIModel/AICarrier.cxx
src/AIModel/AIEscort.cxx
src/AIModel/AIFlightPlan.cxx
src/AIModel/AIFlightPlanCreate.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx
src/AIModel/AIGroundVehicle.cxx
src/AIModel/AIManager.cxx
src/AIModel/AIManager.hxx
src/AIModel/AIMultiplayer.cxx
src/AIModel/AIShip.cxx
src/AIModel/AIWingman.cxx
src/ATC/GroundController.cxx
src/ATC/atc_mgr.cxx
src/ATC/atc_mgr.hxx
src/GUI/MapWidget.cxx
src/Main/fg_init.cxx
src/Network/RemoteXMLRequest.hxx
src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx
src/Traffic/SchedFlight.cxx
src/Traffic/Schedule.cxx
src/Traffic/Schedule.hxx
src/Traffic/TrafficMgr.cxx