Ivan Savenko
|
af801c1824
Try to fix possible freezes on AI actions
|
3 weeks ago |
Ivan Savenko
|
7845e70bdd
Merge pull request #6673 from MichalZr6/fix_levelup_queries
|
1 month ago |
Mircea TheHonestCTO
|
30f8636ca1
NK2: PriorityEvaluator.cpp adjustments
|
2 months ago |
Michał Zaremba
|
ca2ef33b20
Fix level-up dialog queries sent too early
|
2 months ago |
Mircea TheHonestCTO
|
f27965b43a
NK2: import order to fix build + logs
|
2 months ago |
Mircea TheHonestCTO
|
15aceb8134
NK2: fix ExplorationBehavior: scanMap was inactive, now it's used for MAIN heroes
|
2 months ago |
Mircea TheHonestCTO
|
2926c01bfa
Merge branch 'refs/heads/beta' into feature/nullkiller2-part2-speed
|
2 months ago |
Mircea TheHonestCTO
|
38d18d748e
NK2: log as errors makeTurn failures;
|
2 months ago |
Ivan Savenko
|
4c66867702
Fix reset of AI settings on Launcher start. Rename config keys to reset
|
2 months ago |
Ivan Savenko
|
caed361f47
Fix crash on AI termination
|
2 months ago |
Mircea TheHonestCTO
|
acd62e86d5
nullkiller2: Add battleEnded() callback and also clean from battleResultsApplied() to fully mirror what was added in NK1
|
3 months ago |
Mircea TheHonestCTO
|
45e3e48fba
nullkiller2: Add battleEnded() callback to AIGateway for NK2 AI but leave it deactivated because it crashes NK during computer turns if it fights
|
3 months ago |
Mircea TheHonestCTO
|
bb7588852b
refactor AIMemory replacing `getObj` with `getObjInstance` to avoid unnecessary visibility filtering when just a simple iteration over objs is desired
|
5 months ago |
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
|
5 months ago |
Mircea TheHonestCTO
|
b8eb49bc82
finished removing thread local from NK2
|
6 months ago |
Mircea TheHonestCTO
|
2f1c6946e3
remove unused TODO parameter from `toString()` calls; adjust `ObjectIdRef` constructor usage for clarity and consistency
|
6 months ago |
Mircea TheHonestCTO
|
3aed53de3d
more thread_local removal work
|
6 months ago |
Mircea TheHonestCTO
|
16cdee82fd
removed operator bool() from HeroPtr so we can consistently use isVerified() like in most of the other places
|
6 months ago |
Mircea TheHonestCTO
|
9cdf74fb42
add pathfinderTurnStorageMisses to track how bucket size should be adjusted; modfied nk2ai-settings.json to simulate 3 clearer AI difficulty levels
|
6 months ago |
Mircea TheHonestCTO
|
7a40981a95
overall refactoring, HeroPtr adjustments, AiNodeStorage remove unnecessary callback
|
6 months ago |
Mircea TheHonestCTO
|
13bd7ed8f4
WIP remove thread_local CCallback in HeroPtr
|
6 months ago |
Mircea TheHonestCTO
|
fa677eb243
WIP remove thread_local CCallback * ccTl
|
6 months ago |
Mircea TheHonestCTO
|
e2c80f03a1
remove thread_local AIGateway * aiGwTl
|
6 months ago |
Mircea TheHonestCTO
|
1e2ed620f7
thread local refactoring
|
6 months ago |
Mircea TheHonestCTO
|
1b0b15063f
fix nullptr thread_local gw and cc: introduce SET_GLOBAL_STATE_TBB for tbb:parallel_for
|
6 months ago |
Mircea TheHonestCTO
|
f7f09ff325
simplification: remove nullkiller->dangerHitMap->updateHitMap() from RecruitHeroBehavior, BuyArmyBehavior and BuildingBehavior. Now it's called only once before getting into those decomposers;
|
6 months ago |
Mircea TheHonestCTO
|
bf3d5627e0
Bring back cbc in CAdventureAI and rename the rest to cc
|
7 months ago |
Mircea TheHonestCTO
|
725f5300cc
AIGateway cbc static methods refactoring
|
7 months ago |
Mircea TheHonestCTO
|
af14b67bd0
AIGateway cbc static methods refactoring
|
7 months ago |
Mircea TheHonestCTO
|
b8bf8714a1
consistent renaming of ai into aiGw or aiNk and cbc
|
7 months ago |