mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
- Added handler classes CRmgTemplateStorage and CTerrainViewPatternConfig to LibClasses
- Re-organized CMapGenerator - Created CZone and CTemplate objects in the heap and used pointers - Added stub classes CZoneGraphGenerator and CZonePlacer (include warnings of unused variables, please ignore them) - Fixed CRandomGenerator bug that always the same number was produced - Better structure of Visual Studio project files with using filters - Updated project files (VS, CMake) - Excluded compiler warning mismatched-tags (false positive) - Fixed a bug when compiling with unit tests enabled
This commit is contained in:
34
lib/rmg/CZoneGraphGenerator.cpp
Normal file
34
lib/rmg/CZoneGraphGenerator.cpp
Normal file
@ -0,0 +1,34 @@
|
||||
|
||||
/*
|
||||
* CZoneGraphGenerator.cpp, part of VCMI engine
|
||||
*
|
||||
* Authors: listed in file AUTHORS in main folder
|
||||
*
|
||||
* License: GNU General Public License v2.0 or later
|
||||
* Full text of license available in license.txt file, in main folder
|
||||
*
|
||||
*/
|
||||
|
||||
#include "StdInc.h"
|
||||
#include "CZoneGraphGenerator.h"
|
||||
|
||||
CZoneCell::CZoneCell(CRmgTemplateZone * zone) : zone(zone)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
CZoneGraph::CZoneGraph()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
CZoneGraphGenerator::CZoneGraphGenerator() : gen(nullptr)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
unique_ptr<CZoneGraph> CZoneGraphGenerator::generate(const CMapGenOptions & options, CRandomGenerator * gen)
|
||||
{
|
||||
return make_unique<CZoneGraph>();
|
||||
}
|
Reference in New Issue
Block a user