1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Give every Zone its own RNG

This commit is contained in:
Tomasz Zieliński
2023-05-20 11:46:32 +02:00
parent 5da8c96214
commit 15b254fded
21 changed files with 76 additions and 67 deletions

View File

@ -54,8 +54,6 @@ public:
const Config & getConfig() const;
CRandomGenerator rand;
const CMapGenOptions& getMapGenOptions() const;
std::unique_ptr<CMap> generate();
@ -74,6 +72,7 @@ public:
int getRandomSeed() const;
private:
CRandomGenerator rand;
int randomSeed;
CMapGenOptions& mapGenOptions;
Config config;