1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

better resources and mines gathering; include TODOs for all the things that need to be investigated

This commit is contained in:
Mircea TheHonestCTO
2025-08-17 16:20:25 +02:00
parent 8789f83a90
commit daf24de3e9
11 changed files with 80 additions and 53 deletions

View File

@@ -68,10 +68,12 @@ void DeepDecomposer::decompose(TGoalVec & results, TSubgoal behavior, int depthL
if(subgoal->isElementar())
{
// need to get rid of priority control in behaviors like Startup to avoid this check.
// TODO: need to get rid of priority control in behaviors like Startup to avoid this check.
// 0 - goals directly from behavior
Goals::TSubgoal task = depth >= 1 ? aggregateGoals(0, subgoal) : subgoal;
// TODO: Mircea: Issue with CGameHandler::spawnWanderingMonsters, see getFreeTiles(tiles, true);
// danger not linked GraphPaths::addChainInfo, so spawning only with nearby unblocked
#if NKAI_TRACE_LEVEL >= 1
logAi->trace("Found task %s", task->toString());
#endif