mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Terrain/Road/River handler are now in compileable state
This commit is contained in:
@@ -26,6 +26,9 @@ struct TerrainTile;
|
||||
struct PlayerInfo;
|
||||
class CGObjectInstance;
|
||||
class AObjectTypeHandler;
|
||||
class TerrainType;
|
||||
class RoadType;
|
||||
class RiverType;
|
||||
|
||||
class JsonSerializeFormat;
|
||||
class JsonDeserializer;
|
||||
@@ -57,6 +60,10 @@ protected:
|
||||
|
||||
CMapFormatJson();
|
||||
|
||||
static TerrainType * getTerrainByCode( std::string code);
|
||||
static RiverType * getRiverByCode( std::string code);
|
||||
static RoadType * getRoadByCode( std::string code);
|
||||
|
||||
void serializeAllowedFactions(JsonSerializeFormat & handler, std::set<TFaction> & value);
|
||||
|
||||
///common part of header saving/loading
|
||||
|
||||
Reference in New Issue
Block a user