mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-20 20:23:03 +02:00
a13d72b636
- Small refactoring - Added RPM spec to SVN again (it's better to keep it there :) )
49 lines
774 B
C++
49 lines
774 B
C++
|
|
/*
|
|
* 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:
|
|
explicit CZoneCell(const CRmgTemplateZone * zone);
|
|
|
|
private:
|
|
const CRmgTemplateZone * zone;
|
|
|
|
//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;
|
|
CRandomGenerator * gen;
|
|
};
|