1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Trying to restore recent type of mapGenOptions.

This commit is contained in:
DjWarmonger
2014-05-23 11:56:51 +02:00
parent eae7e5c51f
commit 5b0b152aa3
4 changed files with 24 additions and 24 deletions

View File

@@ -33,12 +33,12 @@ class CMapGenerator;
class DLL_LINKAGE CMapGenerator
{
public:
explicit CMapGenerator(const CMapGenOptions & mapGenOptions, int randomSeed = std::time(nullptr));
explicit CMapGenerator(shared_ptr<CMapGenOptions> mapGenOptions, int randomSeed = std::time(nullptr));
~CMapGenerator(); // required due to unique_ptr
ConstTransitivePtr<CMap> generate();
CMapGenOptions mapGenOptions;
shared_ptr<CMapGenOptions> mapGenOptions;
ConstTransitivePtr<CMap> map;
CRandomGenerator rand;
int randomSeed;