2013-08-17 15:46:48 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* CZoneGraphGenerator.h, 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
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CRmgTemplateZone;
|
|
|
|
class CRandomGenerator;
|
|
|
|
class CMapGenOptions;
|
|
|
|
|
|
|
|
class CZoneCell
|
|
|
|
{
|
|
|
|
public:
|
2013-08-19 21:20:11 +03:00
|
|
|
explicit CZoneCell(const CRmgTemplateZone * zone);
|
2013-08-17 15:46:48 +03:00
|
|
|
|
|
|
|
private:
|
2013-11-16 12:17:19 +03:00
|
|
|
//const CRmgTemplateZone * zone;
|
2013-08-17 15:46:48 +03:00
|
|
|
|
|
|
|
//TODO additional data
|
|
|
|
};
|
|
|
|
|
|
|
|
class CZoneGraph
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CZoneGraph();
|
|
|
|
|
|
|
|
private:
|
|
|
|
//TODO zone graph storage
|
|
|
|
};
|
|
|
|
|
|
|
|
class CZoneGraphGenerator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CZoneGraphGenerator();
|
|
|
|
|
|
|
|
unique_ptr<CZoneGraph> generate(const CMapGenOptions & options, CRandomGenerator * gen);
|
|
|
|
|
|
|
|
private:
|
|
|
|
unique_ptr<CZoneGraph> graph;
|
2013-11-16 12:17:19 +03:00
|
|
|
//CRandomGenerator * gen;
|
2013-08-17 15:46:48 +03:00
|
|
|
};
|