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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user