mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-13 15:34:37 +00:00
AI API V3 along with a new version of Aegis. Support for a JS shared component that can be used or not for each AI.
This was SVN commit r13225.
This commit is contained in:
@@ -111,11 +111,6 @@ public:
|
||||
componentManager.AddComponent(SYSTEM_ENTITY, CID_TerritoryManager, noParam);
|
||||
componentManager.AddComponent(SYSTEM_ENTITY, CID_WaterManager, noParam);
|
||||
|
||||
if (!skipAI)
|
||||
{
|
||||
componentManager.AddComponent(SYSTEM_ENTITY, CID_AIManager, noParam);
|
||||
}
|
||||
|
||||
// Add scripted system components:
|
||||
if (!skipScriptedComponents)
|
||||
{
|
||||
@@ -134,6 +129,12 @@ public:
|
||||
LOAD_SCRIPTED_COMPONENT("Timer");
|
||||
|
||||
#undef LOAD_SCRIPTED_COMPONENT
|
||||
|
||||
if (!skipAI)
|
||||
{
|
||||
componentManager.AddComponent(SYSTEM_ENTITY, CID_AIManager, noParam);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user