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

Pathfinder cache is now stored separately per playerBlocked

- human player will now use pathfinder settings from config (as before)
- nullkiller AI will now use its own, modified settings
- added option to configure NKAI usage of monolith to config
- fixed pathfinder costs not updating on receiving levelup
This commit is contained in:
Ivan Savenko
2025-01-23 14:39:56 +00:00
parent ced98f4698
commit 32391dc7a9
38 changed files with 249 additions and 131 deletions

View File

@@ -38,6 +38,7 @@ namespace NKAI
pathfinderBucketsCount(1),
pathfinderBucketSize(32),
allowObjectGraph(true),
useOneWayMonoliths(false),
useTroopsFromGarrisons(false),
updateHitmapOnTileReveal(false),
openMap(true),
@@ -64,5 +65,6 @@ namespace NKAI
openMap = node["openMap"].Bool();
useFuzzy = node["useFuzzy"].Bool();
useTroopsFromGarrisons = node["useTroopsFromGarrisons"].Bool();
useOneWayMonoliths = node["useOneWayMonoliths"].Bool();
}
}