2013-08-17 15:46:48 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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"
|
|
|
|
|
2013-08-19 21:20:11 +03:00
|
|
|
CZoneCell::CZoneCell(const CRmgTemplateZone * zone) : zone(zone)
|
2013-08-17 15:46:48 +03:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
CZoneGraph::CZoneGraph()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
CZoneGraphGenerator::CZoneGraphGenerator() : gen(nullptr)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
unique_ptr<CZoneGraph> CZoneGraphGenerator::generate(const CMapGenOptions & options, CRandomGenerator * gen)
|
|
|
|
{
|
|
|
|
return make_unique<CZoneGraph>();
|
|
|
|
}
|