mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Place proper towns in underground (#743)
Implement feature of proper town selection in underground and surface * Some minor refactoring of rmg
This commit is contained in:
@@ -94,6 +94,7 @@ public:
|
||||
};
|
||||
|
||||
CMapGenOptions();
|
||||
CMapGenOptions(const CMapGenOptions&) = delete;
|
||||
|
||||
si32 getWidth() const;
|
||||
void setWidth(si32 value);
|
||||
@@ -141,8 +142,6 @@ public:
|
||||
const CRmgTemplate * getMapTemplate() const;
|
||||
void setMapTemplate(const CRmgTemplate * value);
|
||||
|
||||
const std::map<std::string, CRmgTemplate *> & getAvailableTemplates() const;
|
||||
|
||||
/// Finalizes the options. All random sizes for various properties will be overwritten by numbers from
|
||||
/// a random number generator by keeping the options in a valid state. Check options should return true, otherwise
|
||||
/// this function fails.
|
||||
|
||||
Reference in New Issue
Block a user