]> git.mxchange.org Git - flightgear.git/commit
Break upwards dependency on Traffic in the AI code
authorJames Turner <zakalawe@mac.com>
Wed, 21 Nov 2012 14:49:34 +0000 (14:49 +0000)
committerJames Turner <zakalawe@mac.com>
Wed, 21 Nov 2012 14:49:34 +0000 (14:49 +0000)
commitbca6e9e8901f47cb868b2ad4d6795164e7961fa0
tree6a533784b86d0424fadb0d82dbfc5b1b428efd60
parent77ca03da4dfbe693f91414dbcd353589881333f5
Break upwards dependency on Traffic in the AI code

AIManager had unfortunate code to pass some state to the traffic-manager; this is no longer required since traffic schedules hold onto their AI-Aircraft directly as needed.
src/AIModel/AIManager.cxx
src/AIModel/AIManager.hxx
src/Traffic/Schedule.cxx
src/Traffic/Schedule.hxx
src/Traffic/TrafficMgr.cxx
src/Traffic/TrafficMgr.hxx