Ivan Savenko
|
417ea6451a
Remove ConstTransitivePtr from hero and town instances
|
7 months ago |
kdmcser
|
9dc07b00ff
record swap info, if A swap to B,not allow A <-> B in both side
|
6 months ago |
kdmcser
|
1210f0bf99
fix hang in AI's turn
|
6 months ago |
Ivan Savenko
|
96d691b40c
Fix crash on closing game during background image upscaling
|
7 months ago |
Ivan Savenko
|
dff37ce81f
Fix freeze if AI initiates large number of async requests during turn
|
7 months ago |
Ivan Savenko
|
4a6a8f9496
Merge pull request #5496 from IvanSavenko/std_thread
|
8 months ago |
Ivan Savenko
|
9f713a0914
Rename int3::valid to isValid for consistency
|
8 months ago |
Ivan Savenko
|
0200e871c3
Code cleanup
|
8 months ago |
Ivan Savenko
|
a31788b874
Replace thread spawning with tbb pool for adventure AI
|
8 months ago |
Ivan Savenko
|
219eea86ff
Better handling of AI shutdown
|
8 months ago |
Ivan Savenko
|
5f052165fe
Fix missing names for some threads
|
8 months ago |
Ivan Savenko
|
948abfb04c
AI now uses std::thread, added custom thread interruption logic
|
8 months ago |
Ivan Savenko
|
a8a6be7ac1
Fix potential compatibility with C++20 / C++23 mode
|
8 months ago |
Laserlicht
|
75a95d8513
boost::lock_guard replace
|
8 months ago |
Laserlicht
|
7dfb499edf
replace boost locks with std
|
8 months ago |
Ivan Savenko
|
f4f89d1536
Invalidate pathfinder cache on dismissing a hero
|
8 months ago |
Ivan Savenko
|
f238d89601
NKAI - Prefer giving fast units to scouts
|
8 months ago |
Ivan Savenko
|
32391dc7a9
Pathfinder cache is now stored separately per playerBlocked
|
9 months ago |
Ivan Savenko
|
3479ec9651
Per-hero artifact scoring for NKAI
|
9 months ago |
Ivan Savenko
|
ec9dbfd667
Remove excessive recomputations of tile owners
|
9 months ago |
Ivan Savenko
|
f9ce95756f
Fix potentially infinite attempts to upgrade units by AI
|
10 months ago |
Ivan Savenko
|
1caab5100a
Try to reduce amount of time AI spends on pathfinding
|
10 months ago |
MichalZr6
|
f893c80192
Move UpgradeInfo class to header and source files
|
10 months ago |
MichalZr6
|
af9445c16f
Fixes following review
|
10 months ago |
MichalZr6
|
d8d3948ac3
Fix AI to use hillFort all available upgrades. UpgradeInfo refactor.
|
11 months ago |
Ivan Savenko
|
01dd1858e4
Add option to recalculate hitmap on tile reveal
|
11 months ago |
Ivan Savenko
|
40aa49acff
Fix typo: Absoolute -> Absolute
|
11 months ago |
Ivan Savenko
|
b25702f15e
expose safeAttackRatio to AI config
|
11 months ago |
Ivan Savenko
|
00492a60a7
Moved retreat decision-making constants to config
|
11 months ago |
Ivan Savenko
|
56ee307b3a
Extend AI garrison troop removal logic to all RoE campaigns to emulate
|
11 months ago |