1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-02 09:02:03 +02:00
vcmi/lib/rmg/CZoneGraphGenerator.h
Arseniy Shestakov 9fd1cff090 Refactoring: always use std prefix for shared_ptr, unique_ptr and make_shared
Long time ago it's was used without prefix to make future switch from boost to std version easier.
I discusses this with Ivan and decide to drop these using from Global.h now.

This change wouldn't break anything because there was already code with prefix for each of three cases.
2015-12-29 05:43:33 +03:00

49 lines
788 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();
std::unique_ptr<CZoneGraph> generate(const CMapGenOptions & options, CRandomGenerator * gen);
private:
std::unique_ptr<CZoneGraph> graph;
//CRandomGenerator * gen;
};