]> git.mxchange.org Git - flightgear.git/commit
#248: support enabling AI module at run-time
authorThorstenB <brehmt@gmail.com>
Mon, 30 Apr 2012 15:26:04 +0000 (17:26 +0200)
committerThorstenB <brehmt@gmail.com>
Mon, 30 Apr 2012 15:26:04 +0000 (17:26 +0200)
commit9b51c5e87e5ba217b36844e22ca708abbff8a5a8
treed7c4b7dd93c7f990c4fc14f4b18166af5871b460
parent10d2d9477813406eb18580a90856e774de3002ea
#248: support enabling AI module at run-time
Also adapt MP and traffic module to enable the AI module when required.
This makes /sim/ai/enabled an internal property: it can default to false
(in future), and can be enabled as soon as any user-level feature (traffic,
MP, local weather, ...) requires it.
src/AIModel/AIManager.cxx
src/AIModel/AIManager.hxx
src/MultiPlayer/multiplaymgr.cxx
src/Traffic/TrafficMgr.cxx