Mircea TheHonestCTO
a836cd3aed
fix: time-of-check-to-time-of-use (TOCTOU) race condition in AIMemory::removeInvisibleObjects; a bit of refactoring in RecruitHeroBehavior and some todo comments for later on
2025-09-25 17:09:42 +02:00
Mircea TheHonestCTO
b49ba08a45
more thread_local removal in NK2, still WIP
2025-09-05 18:10:14 +02:00
Mircea TheHonestCTO
7a40981a95
overall refactoring, HeroPtr adjustments, AiNodeStorage remove unnecessary callback
2025-09-04 00:07:12 +02:00
Mircea TheHonestCTO
13bd7ed8f4
WIP remove thread_local CCallback in HeroPtr
2025-09-01 04:49:21 +02:00
Mircea TheHonestCTO
fa677eb243
WIP remove thread_local CCallback * ccTl
2025-08-30 20:15:03 +02:00
Mircea TheHonestCTO
f7f09ff325
simplification: remove nullkiller->dangerHitMap->updateHitMap() from RecruitHeroBehavior, BuyArmyBehavior and BuildingBehavior. Now it's called only once before getting into those decomposers;
...
simplification: remove partialUpdate bool from Nullkiller:updateState as it depends on pathfinderInvalidated anyway;
restructure goal/RecruitHeroBehavior to allow easier testing
2025-08-20 03:08:02 +02:00
Mircea TheHonestCTO
bf3d5627e0
Bring back cbc in CAdventureAI and rename the rest to cc
2025-08-16 20:17:18 +02:00
Mircea TheHonestCTO
b8bf8714a1
consistent renaming of ai into aiGw or aiNk and cbc
2025-08-16 00:22:18 +02:00
Mircea TheHonestCTO
9a09654a0f
consistent renaming of ai into aiGw or aiNk and cbc
2025-08-15 18:30:28 +02:00
Mircea TheHonestCTO
306f01610d
AIGateway.cpp thread_local vars consistent renaming
2025-08-15 17:47:21 +02:00
Mircea TheHonestCTO
a9ecaca81f
squashed: BuildAnalyzer wip; Nulkiller decompose; Nulkiller makeTurnHelperPriorityPass; Nulkiller minor refactoring
2025-08-14 23:15:23 +02:00
Mircea TheHonestCTO
64324f4821
change namespace
2025-08-13 17:16:27 +02:00
Mircea TheHonestCTO
fec11fc9f5
revert file name without 2 to make it easier to compare new vs old
2025-08-13 17:05:30 +02:00
Mircea TheHonestCTO
ffad6c6a43
cloned Nullkiller into Nullkiller2
2025-08-13 14:41:15 +02:00