mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Added option for saving generated maps on client side (#307)
* new configuration option 'general.saveRandomMaps' * maps being saved to 'userCachePath/RandomMaps' * no deletion of old random maps * map filename generated based on template name and random seed
This commit is contained in:
committed by
GitHub
parent
d84f61fc96
commit
7e1b0d71c5
@@ -69,6 +69,7 @@ public:
|
||||
*/
|
||||
static std::unique_ptr<CMapHeader> loadMapHeader(const ui8 * buffer, int size, const std::string & name);
|
||||
|
||||
static void saveMap(const std::unique_ptr<CMap> & map, boost::filesystem::path fullPath);
|
||||
private:
|
||||
/**
|
||||
* Gets a map input stream object specified by a map name.
|
||||
|
||||
Reference in New Issue
Block a user