1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00
Commit Graph

2336 Commits

Author SHA1 Message Date
Mircea TheHonestCTO
b8eb49bc82 finished removing thread local from NK2 2025-09-12 19:25:56 +02:00
Mircea TheHonestCTO
2f1c6946e3 remove unused TODO parameter from toString() calls; adjust ObjectIdRef constructor usage for clarity and consistency 2025-09-12 15:39:49 +02:00
Mircea TheHonestCTO
3aed53de3d more thread_local removal work 2025-09-12 15:33:34 +02:00
Mircea TheHonestCTO
76a4a59662 simplify TRADE goal description in AbstractGoal.cpp without thread_local CCallback 2025-09-12 15:33:12 +02:00
Mircea TheHonestCTO
fe39537a5d ResourceTrader comment for later on 2025-09-12 08:10:54 +02:00
Mircea TheHonestCTO
6df299d892 ResourceTrader improvements and testing finished 2025-09-12 08:08:18 +02:00
Mircea TheHonestCTO
1b5cacfc13 ResourceTrader improvements and testing WIP 2025-09-10 01:42:56 +02:00
Mircea TheHonestCTO
e7e88533cb fix vtable / cmake for NK2 testing 2025-09-09 03:46:18 +02:00
Mircea TheHonestCTO
765780bdf8 fix CI build 2025-09-08 17:05:21 +02:00
Mircea TheHonestCTO
aea43de201 extract trading logic into ResourceTrader, test preparation WIP 2025-09-08 16:44:26 +02:00
Mircea TheHonestCTO
3c5d94fda3 leave TODO for 2 potential bugs regarding whirlpool exploration and not only 2025-09-08 16:43:07 +02:00
Mircea TheHonestCTO
162e3dbd39 log adjustment 2025-09-07 17:09:45 +02:00
Mircea TheHonestCTO
6f33bfe302 feature: improve trading logic within makeTurn pass to avoid thousands of microtransactions; to focus on now's requirements but with long term in mind; to get some gold for the army as well (compared to 0 as before) 2025-09-07 15:08:20 +02:00
Mircea TheHonestCTO
16cdee82fd removed operator bool() from HeroPtr so we can consistently use isVerified() like in most of the other places 2025-09-06 06:41:50 +02:00
Mircea TheHonestCTO
b49ba08a45 more thread_local removal in NK2, still WIP 2025-09-05 18:10:14 +02:00
Mircea TheHonestCTO
844d6c0b78 AIPathfinder remove unused init method 2025-09-05 05:08:24 +02:00
Mircea TheHonestCTO
9cdf74fb42 add pathfinderTurnStorageMisses to track how bucket size should be adjusted; modfied nk2ai-settings.json to simulate 3 clearer AI difficulty levels 2025-09-05 03:49:09 +02:00
Mircea TheHonestCTO
13b0a7ad4e fix: regression: priority pass skip should not verify a new hero to be recruited if it's valid, of course it doesn't exist at that point 2025-09-04 19:54:39 +02:00
Mircea TheHonestCTO
2e49d6aca9 fix: skip pass and priority pass if hero is not valid anymore to as extra checks for lost heroes 2025-09-04 00:56:36 +02:00
Mircea TheHonestCTO
7a40981a95 overall refactoring, HeroPtr adjustments, AiNodeStorage remove unnecessary callback 2025-09-04 00:07:12 +02:00
Mircea TheHonestCTO
19076ee29d fix AINodeStorage::calculateChainInfo using invalid/unverified/lost heroes which lead to multiple issues down the line in makeTurn 2025-09-04 00:03:42 +02:00
Mircea TheHonestCTO
47edbb7825 fix Cannot get object with id %d. Object was removed. Game crashing if AI loses a hero in a fight where humans don't see the map 2025-09-02 11:08:31 +02:00
Mircea TheHonestCTO
13bd7ed8f4 WIP remove thread_local CCallback in HeroPtr 2025-09-01 04:49:21 +02:00
Mircea TheHonestCTO
5a8ffdeb8b Merge branch 'develop' into feature/nullkiller2 2025-09-01 04:26:01 +02:00
Mircea TheHonestCTO
fa677eb243 WIP remove thread_local CCallback * ccTl 2025-08-30 20:15:03 +02:00
Ivan Savenko
589c5a8989 Merge pull request #5563 from kambala-decapitator/conan-v2
migrate to Conan v2
2025-08-30 21:09:18 +03:00
Mircea TheHonestCTO
e2c80f03a1 remove thread_local AIGateway * aiGwTl 2025-08-30 18:10:33 +02:00
Mircea TheHonestCTO
3aedb44280 todo to investigate 2025-08-30 12:10:34 +02:00
Mircea TheHonestCTO
ebdd044838 delete unused code 2025-08-30 08:51:44 +02:00
Mircea TheHonestCTO
d081c6c54e nothing to trigger CI/CD again, dummy download failure in the last run 2025-08-30 08:44:54 +02:00
Mircea TheHonestCTO
9994bf035e Merge branch 'develop' into feature/nullkiller2 2025-08-30 08:07:44 +02:00
Mircea TheHonestCTO
9698c58c0a comment out SetGlobalState logs for now, left for local inspection 2025-08-30 07:59:05 +02:00
Mircea TheHonestCTO
1e2ed620f7 thread local refactoring 2025-08-30 07:27:07 +02:00
Mircea TheHonestCTO
deeb995d77 cleanup unnecessary AIGateway reference in CGoal.h 2025-08-30 07:13:46 +02:00
Mircea TheHonestCTO
e5724578b5 cleanup 2025-08-30 07:04:23 +02:00
Mircea TheHonestCTO
98e0a3de6e revert fix for nullptr w NK2AI_TRACE_LEVEL due to thread local issues 2025-08-30 06:55:30 +02:00
Mircea TheHonestCTO
12076a03fd NK2AI_TRACE_LEVEL 0 -> 2 because it should be safe now after the thread local fix 2025-08-30 06:53:26 +02:00
Mircea TheHonestCTO
1b0b15063f fix nullptr thread_local gw and cc: introduce SET_GLOBAL_STATE_TBB for tbb:parallel_for 2025-08-30 06:52:48 +02:00
Andrey Filipenkov
a3f08c2217 [conan] add MSVC support
also removes all mentions of vcpkg and cross-building from Linux
2025-08-28 16:05:11 +03:00
Mircea TheHonestCTO
0fc166b404 fix: simplify NK2AI_TRACE_LEVEL 2 to avoid crash on some maps 2025-08-28 01:52:55 +02:00
Mircea TheHonestCTO
38e1122cd7 BuildAnalyzer.cpp fix addBuildingToBuild after cleanup 2025-08-27 04:12:54 +02:00
Mircea TheHonestCTO
7c64d2a93e move *TRACE_LEVEL to 0 2025-08-25 19:59:41 +02:00
Mircea TheHonestCTO
3905b2ec1c maximum logging for BattleAI, NK and NK2 2025-08-25 18:24:56 +02:00
Mircea TheHonestCTO
b1621cdf29 rename nkai-settings.json into nk2ai-settings.json for Nullkiller2 2025-08-24 23:39:34 +02:00
Mircea TheHonestCTO
dba7ddfba6 fix 1 #include towards Nullkiller when in NK2AI 2025-08-24 23:33:04 +02:00
Mircea TheHonestCTO
3cd4d11447 revert 2 extra renames done by IDE 2025-08-24 22:39:19 +02:00
Mircea TheHonestCTO
d113bc28d9 AINodeStorage.h NKAI #define to NK2AI 2025-08-24 22:35:27 +02:00
Mircea TheHonestCTO
54b3d17bcf AINodeStorage.h NKAI #define to NK2AI 2025-08-24 21:15:34 +02:00
Opuszek
10a4a3adee Fixes build warning in Potential Targets 2025-08-24 14:42:42 +02:00
Mircea TheHonestCTO
44ef0c02ef fix nullkiller2 .cpp includes for testing 2025-08-24 13:43:28 +02:00