1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Add option for single-thread generation. Still doesn't guarantee excactly identical maps :?

This commit is contained in:
Tomasz Zieliński
2023-05-24 18:02:11 +02:00
parent edf47f5769
commit cd9bd491e0
3 changed files with 57 additions and 33 deletions

View File

@@ -47,6 +47,7 @@ public:
int pandoraMultiplierGold, pandoraMultiplierExperience, pandoraMultiplierSpells, pandoraSpellSchool, pandoraSpell60;
std::vector<int> pandoraCreatureValues;
std::vector<int> questValues, questRewardValues;
bool singleThread;
};
explicit CMapGenerator(CMapGenOptions& mapGenOptions, int RandomSeed = std::time(nullptr));