mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Split MapDefines file on .h per class basis
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "../../lib/mapObjects/MapObjects.h"
|
||||
#include "../../lib/mapObjects/ObjectTemplate.h"
|
||||
#include "../../lib/mapObjects/CGHeroInstance.h"
|
||||
#include "../../lib/mapping/TerrainTile.h"
|
||||
#include "../../lib/CConfigHandler.h"
|
||||
#include "../../lib/IGameSettings.h"
|
||||
#include "../../lib/gameState/CGameState.h"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "../../lib/entities/artifact/CArtifact.h"
|
||||
#include "../../lib/mapObjects/MapObjects.h"
|
||||
#include "../../lib/mapObjects/CQuest.h"
|
||||
#include "../../lib/mapping/CMapDefines.h"
|
||||
#include "../../lib/mapping/TerrainTile.h"
|
||||
#include "../../lib/gameState/QuestInfo.h"
|
||||
#include "../../lib/IGameSettings.h"
|
||||
#include "../../lib/bonuses/Limiters.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "ArmyManager.h"
|
||||
#include "../Engine/Nullkiller.h"
|
||||
#include "../../../lib/mapObjects/MapObjects.h"
|
||||
#include "../../../lib/mapping/CMapDefines.h"
|
||||
#include "../../../lib/mapping/TerrainTile.h"
|
||||
#include "../../../lib/IGameSettings.h"
|
||||
#include "../../../lib/GameConstants.h"
|
||||
#include "../../../lib/TerrainHandler.h"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "../../../lib/mapObjectConstructors/AObjectTypeHandler.h"
|
||||
#include "../../../lib/mapObjectConstructors/CObjectClassesHandler.h"
|
||||
#include "../../../lib/mapObjects/CGResource.h"
|
||||
#include "../../../lib/mapping/CMapDefines.h"
|
||||
#include "../../../lib/mapping/TerrainTile.h"
|
||||
#include "../../../lib/RoadHandler.h"
|
||||
#include "../../../lib/CCreatureHandler.h"
|
||||
#include "../../../lib/GameLibrary.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "../AIGateway.h"
|
||||
#include "../Engine/Nullkiller.h"
|
||||
#include "../../../lib/mapObjects/MapObjects.h"
|
||||
#include "../../../lib/mapping/CMapDefines.h"
|
||||
#include "../../../lib/mapping/TerrainTile.h"
|
||||
#include "../../../lib/pathfinder/TurnInfo.h"
|
||||
#include "Actions/BuyArmyAction.h"
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "../../lib/entities/artifact/CArtifact.h"
|
||||
#include "../../lib/mapObjects/CGTownInstance.h"
|
||||
#include "../../lib/mapObjects/CQuest.h"
|
||||
#include "../../lib/mapping/CMapDefines.h"
|
||||
#include "../../lib/mapping/TerrainTile.h"
|
||||
|
||||
extern FuzzyHelper * fh;
|
||||
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
#include "StdInc.h"
|
||||
#include "AIPathfinder.h"
|
||||
#include "AIPathfinderConfig.h"
|
||||
#include "../../../lib/mapping/CMapDefines.h"
|
||||
|
||||
#include "../../../lib/mapping/TerrainTile.h"
|
||||
|
||||
#include <tbb/task_group.h>
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "../Goals/Goals.h"
|
||||
#include "../Goals/CompleteQuest.h"
|
||||
#include "../../../lib/gameState/QuestInfo.h"
|
||||
#include "../../../lib/mapping/CMapDefines.h"
|
||||
#include "../../../lib/mapObjects/CQuest.h"
|
||||
|
||||
PathfindingManager::PathfindingManager(CPlayerSpecificInfoCallback * CB, VCAI * AI)
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "../../lib/entities/artifact/CArtifact.h"
|
||||
#include "../../lib/entities/building/CBuilding.h"
|
||||
#include "../../lib/mapObjects/CQuest.h"
|
||||
#include "../../lib/mapping/TerrainTile.h"
|
||||
#include "../../lib/networkPacks/PacksForClient.h"
|
||||
#include "../../lib/networkPacks/PacksForClientBattle.h"
|
||||
#include "../../lib/networkPacks/PacksForServer.h"
|
||||
|
||||
@@ -68,6 +68,7 @@
|
||||
|
||||
#include "../lib/callback/CDynLibHandler.h"
|
||||
#include "../lib/CConfigHandler.h"
|
||||
#include "../lib/GameLibrary.h"
|
||||
#include "../lib/texts/CGeneralTextHandler.h"
|
||||
#include "../lib/CPlayerState.h"
|
||||
#include "../lib/CRandomGenerator.h"
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "mainmenu/CHighScoreScreen.h"
|
||||
|
||||
#include "../lib/CConfigHandler.h"
|
||||
#include "../lib/GameLibrary.h"
|
||||
#include "../lib/texts/CGeneralTextHandler.h"
|
||||
#include "../lib/ConditionalWait.h"
|
||||
#include "../lib/CThreadHelper.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "mapView/mapHandler.h"
|
||||
|
||||
#include "../lib/CConfigHandler.h"
|
||||
#include "../lib/GameLibrary.h"
|
||||
#include "../lib/battle/BattleInfo.h"
|
||||
#include "../lib/battle/CPlayerBattleCallback.h"
|
||||
#include "../lib/callback/CCallback.h"
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../lib/callback/CCallback.h"
|
||||
#include "../lib/pathfinder/CGPathNode.h"
|
||||
#include "../lib/mapObjects/CGHeroInstance.h"
|
||||
#include "../lib/mapping/TerrainTile.h"
|
||||
#include "../lib/networkPacks/PacksForClient.h"
|
||||
#include "../lib/RoadHandler.h"
|
||||
#include "../lib/TerrainHandler.h"
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "../PlayerLocalState.h"
|
||||
#include "../CPlayerInterface.h"
|
||||
|
||||
#include "../../lib/GameLibrary.h"
|
||||
#include "../../lib/IGameSettings.h"
|
||||
#include "../../lib/StartInfo.h"
|
||||
#include "../../lib/callback/CCallback.h"
|
||||
@@ -44,7 +45,6 @@
|
||||
#include "../../lib/spells/CSpellHandler.h"
|
||||
#include "../../lib/mapObjects/CGHeroInstance.h"
|
||||
#include "../../lib/mapObjects/CGTownInstance.h"
|
||||
#include "../../lib/mapping/CMapDefines.h"
|
||||
#include "../../lib/pathfinder/CGPathNode.h"
|
||||
#include "../../lib/pathfinder/TurnInfo.h"
|
||||
#include "../../lib/spells/ISpellMechanics.h"
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include "../../lib/TerrainHandler.h"
|
||||
#include "../../lib/callback/CCallback.h"
|
||||
#include "../../lib/mapObjects/CGHeroInstance.h"
|
||||
#include "../../lib/mapping/CMapDefines.h"
|
||||
#include "../../lib/mapping/TerrainTile.h"
|
||||
#include "../../lib/texts/CGeneralTextHandler.h"
|
||||
|
||||
ColorRGBA CMinimapInstance::getTileColor(const int3 & pos) const
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "../../lib/mapObjects/CGHeroInstance.h"
|
||||
#include "../../lib/mapObjects/MiscObjects.h"
|
||||
#include "../../lib/mapObjects/ObjectTemplate.h"
|
||||
#include "../../lib/mapping/CMapDefines.h"
|
||||
#include "../../lib/mapping/TerrainTile.h"
|
||||
#include "../../lib/pathfinder/CGPathNode.h"
|
||||
|
||||
struct NeighborTilesInfo
|
||||
|
||||
@@ -588,8 +588,9 @@ set(lib_MAIN_HEADERS
|
||||
mapObjects/ObstacleSetHandler.h
|
||||
|
||||
mapping/CDrawRoadsOperation.h
|
||||
mapping/CMapDefines.h
|
||||
mapping/CCastleEvent.h
|
||||
mapping/CMapEditManager.h
|
||||
mapping/CMapEvent.h
|
||||
mapping/CMapHeader.h
|
||||
mapping/CMap.h
|
||||
mapping/CMapInfo.h
|
||||
@@ -604,6 +605,7 @@ set(lib_MAIN_HEADERS
|
||||
mapping/MapReaderH3M.h
|
||||
mapping/MapFormatJson.h
|
||||
mapping/ObstacleProxy.h
|
||||
mapping/TerrainTile.h
|
||||
|
||||
modding/ActiveModsInSaveList.h
|
||||
modding/CModHandler.h
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
#include "../mapObjects/CGTownInstance.h"
|
||||
#include "../mapObjects/CQuest.h"
|
||||
#include "../mapObjects/MiscObjects.h"
|
||||
#include "../mapping/CCastleEvent.h"
|
||||
#include "../mapping/CMap.h"
|
||||
#include "../mapping/CMapEditManager.h"
|
||||
#include "../mapping/CMapService.h"
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
#include "../mapObjects/CGTownInstance.h"
|
||||
#include "../mapObjects/MiscObjects.h"
|
||||
#include "../mapObjects/ObjectTemplate.h"
|
||||
#include "../mapping/TerrainTile.h"
|
||||
#include "../modding/IdentifierStorage.h"
|
||||
#include "../mapping/CMapDefines.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
#include "../entities/faction/CFaction.h"
|
||||
#include "../entities/faction/CTown.h"
|
||||
#include "../entities/faction/CTownHandler.h"
|
||||
#include "../mapping/TerrainTile.h"
|
||||
#include "../GameLibrary.h"
|
||||
#include "../gameState/CGameState.h"
|
||||
#include "../mapping/CMapDefines.h"
|
||||
#include "../texts/CGeneralTextHandler.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "../texts/CGeneralTextHandler.h"
|
||||
#include "../gameState/CGameState.h"
|
||||
#include "../gameState/UpgradeInfo.h"
|
||||
#include "../mapping/CCastleEvent.h"
|
||||
#include "../mapping/CMap.h"
|
||||
#include "../CPlayerState.h"
|
||||
#include "../StartInfo.h"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "../callback/IGameInfoCallback.h"
|
||||
#include "../callback/IGameEventCallback.h"
|
||||
#include "../mapObjects/CGHeroInstance.h"
|
||||
#include "../mapping/TerrainTile.h"
|
||||
#include "../networkPacks/PacksForClient.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
37
lib/mapping/CCastleEvent.h
Normal file
37
lib/mapping/CCastleEvent.h
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* CCastleEvent.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
|
||||
|
||||
#include "CMapEvent.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
/// The castle event builds/adds buildings/creatures for a specific town.
|
||||
class DLL_LINKAGE CCastleEvent: public CMapEvent
|
||||
{
|
||||
public:
|
||||
CCastleEvent() = default;
|
||||
|
||||
std::set<BuildingID> buildings;
|
||||
std::vector<si32> creatures;
|
||||
|
||||
template <typename Handler>
|
||||
void serialize(Handler & h)
|
||||
{
|
||||
h & static_cast<CMapEvent &>(*this);
|
||||
h & buildings;
|
||||
h & creatures;
|
||||
}
|
||||
|
||||
void serializeJson(JsonSerializeFormat & handler) override;
|
||||
};
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#include "CMapEditManager.h"
|
||||
#include "CMapOperation.h"
|
||||
#include "CCastleEvent.h"
|
||||
|
||||
#include "../CCreatureHandler.h"
|
||||
#include "../CSkillHandler.h"
|
||||
|
||||
@@ -10,8 +10,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CMapDefines.h"
|
||||
#include "CMapEvent.h"
|
||||
#include "CMapHeader.h"
|
||||
#include "TerrainTile.h"
|
||||
|
||||
#include "../mapObjects/CGObjectInstance.h"
|
||||
#include "../callback/GameCallbackHolder.h"
|
||||
|
||||
59
lib/mapping/CMapEvent.h
Normal file
59
lib/mapping/CMapEvent.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* CMapEvent.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
|
||||
|
||||
#include "../ResourceSet.h"
|
||||
#include "../texts/MetaString.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
class JsonSerializeFormat;
|
||||
|
||||
/// The map event is an event which e.g. gives or takes resources of a specific
|
||||
/// amount to/from players and can appear regularly or once a time.
|
||||
class DLL_LINKAGE CMapEvent
|
||||
{
|
||||
public:
|
||||
CMapEvent();
|
||||
virtual ~CMapEvent() = default;
|
||||
|
||||
bool occursToday(int currentDay) const;
|
||||
bool affectsPlayer(PlayerColor player, bool isHuman) const;
|
||||
|
||||
std::string name;
|
||||
MetaString message;
|
||||
TResources resources;
|
||||
std::set<PlayerColor> players;
|
||||
bool humanAffected;
|
||||
bool computerAffected;
|
||||
ui32 firstOccurrence;
|
||||
ui32 nextOccurrence; /// specifies after how many days the event will occur the next time; 0 if event occurs only one time
|
||||
|
||||
std::vector<ObjectInstanceID> deletedObjectsInstances;
|
||||
|
||||
template <typename Handler>
|
||||
void serialize(Handler & h)
|
||||
{
|
||||
h & name;
|
||||
h & message;
|
||||
h & resources;
|
||||
h & players;
|
||||
h & humanAffected;
|
||||
h & computerAffected;
|
||||
h & firstOccurrence;
|
||||
h & nextOccurrence;
|
||||
h & deletedObjectsInstances;
|
||||
}
|
||||
|
||||
virtual void serializeJson(JsonSerializeFormat & handler);
|
||||
};
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "StdInc.h"
|
||||
#include "MapFormatH3M.h"
|
||||
|
||||
#include "CCastleEvent.h"
|
||||
#include "CMap.h"
|
||||
#include "MapReaderH3M.h"
|
||||
#include "MapFormatSettings.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* CMapDefines.h, part of VCMI engine
|
||||
* TerrainTile.h, part of VCMI engine
|
||||
*
|
||||
* Authors: listed in file AUTHORS in main folder
|
||||
*
|
||||
@@ -10,8 +10,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../ResourceSet.h"
|
||||
#include "../texts/MetaString.h"
|
||||
#include "../GameLibrary.h"
|
||||
#include "../TerrainHandler.h"
|
||||
#include "../mapObjects/CGObjectInstance.h"
|
||||
@@ -22,67 +20,6 @@ class TerrainType;
|
||||
class RiverType;
|
||||
class RoadType;
|
||||
class CGObjectInstance;
|
||||
class CGTownInstance;
|
||||
class JsonSerializeFormat;
|
||||
|
||||
/// The map event is an event which e.g. gives or takes resources of a specific
|
||||
/// amount to/from players and can appear regularly or once a time.
|
||||
class DLL_LINKAGE CMapEvent
|
||||
{
|
||||
public:
|
||||
CMapEvent();
|
||||
virtual ~CMapEvent() = default;
|
||||
|
||||
bool occursToday(int currentDay) const;
|
||||
bool affectsPlayer(PlayerColor player, bool isHuman) const;
|
||||
|
||||
std::string name;
|
||||
MetaString message;
|
||||
TResources resources;
|
||||
std::set<PlayerColor> players;
|
||||
bool humanAffected;
|
||||
bool computerAffected;
|
||||
ui32 firstOccurrence;
|
||||
ui32 nextOccurrence; /// specifies after how many days the event will occur the next time; 0 if event occurs only one time
|
||||
|
||||
std::vector<ObjectInstanceID> deletedObjectsInstances;
|
||||
|
||||
template <typename Handler>
|
||||
void serialize(Handler & h)
|
||||
{
|
||||
h & name;
|
||||
h & message;
|
||||
h & resources;
|
||||
h & players;
|
||||
h & humanAffected;
|
||||
h & computerAffected;
|
||||
h & firstOccurrence;
|
||||
h & nextOccurrence;
|
||||
h & deletedObjectsInstances;
|
||||
}
|
||||
|
||||
virtual void serializeJson(JsonSerializeFormat & handler);
|
||||
};
|
||||
|
||||
/// The castle event builds/adds buildings/creatures for a specific town.
|
||||
class DLL_LINKAGE CCastleEvent: public CMapEvent
|
||||
{
|
||||
public:
|
||||
CCastleEvent() = default;
|
||||
|
||||
std::set<BuildingID> buildings;
|
||||
std::vector<si32> creatures;
|
||||
|
||||
template <typename Handler>
|
||||
void serialize(Handler & h)
|
||||
{
|
||||
h & static_cast<CMapEvent &>(*this);
|
||||
h & buildings;
|
||||
h & creatures;
|
||||
}
|
||||
|
||||
void serializeJson(JsonSerializeFormat & handler) override;
|
||||
};
|
||||
|
||||
/// The terrain tile describes the terrain type and the visual representation of the terrain.
|
||||
/// Furthermore the struct defines whether the tile is visitable or/and blocked and which objects reside in it.
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "../gameState/TavernSlot.h"
|
||||
#include "../gameState/GameStatistics.h"
|
||||
#include "../int3.h"
|
||||
#include "../mapping/CMapDefines.h"
|
||||
#include "../spells/ViewSpellInt.h"
|
||||
|
||||
class CClient;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "../callback/IGameInfoCallback.h"
|
||||
#include "../mapObjects/CGHeroInstance.h"
|
||||
#include "../mapping/CMapDefines.h"
|
||||
#include "../mapping/TerrainTile.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "../mapObjects/CGObjectInstance.h"
|
||||
#include "../mapping/CMapDefines.h"
|
||||
#include "../mapping/TerrainTile.h"
|
||||
#include "../callback/IGameInfoCallback.h"
|
||||
#include "CGPathNode.h"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#include "../mapObjects/CGHeroInstance.h"
|
||||
#include "../mapObjects/MiscObjects.h"
|
||||
#include "../mapping/CMapDefines.h"
|
||||
#include "../mapping/TerrainTile.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "../spells/ISpellMechanics.h"
|
||||
#include "../mapObjects/CGHeroInstance.h"
|
||||
#include "../mapObjects/MiscObjects.h"
|
||||
#include "../mapping/CMapDefines.h"
|
||||
#include "../mapping/TerrainTile.h"
|
||||
#include "../networkPacks/StackLocation.h"
|
||||
#include "../networkPacks/PacksForClient.h"
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "../entities/hero/CHero.h"
|
||||
#include "../mapObjects/ObjectTemplate.h"
|
||||
#include "../mapping/CMapInfo.h"
|
||||
#include "../mapping/CCastleEvent.h"
|
||||
#include "../rmg/CMapGenOptions.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "../../IGameSettings.h"
|
||||
#include "../../callback/IGameInfoCallback.h"
|
||||
#include "../../mapObjects/CGHeroInstance.h"
|
||||
#include "../../mapping/CMapDefines.h"
|
||||
#include "../../mapping/TerrainTile.h"
|
||||
#include "../../networkPacks/PacksForClient.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "mapsettings/eventsettings.h"
|
||||
#include "../../lib/constants/NumericConstants.h"
|
||||
#include "../../lib/constants/StringConstants.h"
|
||||
#include "../../lib/mapping/CCastleEvent.h"
|
||||
|
||||
TownEventsWidget::TownEventsWidget(CGTownInstance & town, QWidget * parent) :
|
||||
QDialog(parent),
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "../StdInc.h"
|
||||
#include <QDialog>
|
||||
#include "baseinspectoritemdelegate.h"
|
||||
#include "../lib/mapping/CMapDefines.h"
|
||||
#include "../lib/mapObjects/CGTownInstance.h"
|
||||
#include "../mapcontroller.h"
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "timedevent.h"
|
||||
#include "ui_eventsettings.h"
|
||||
#include "../mapcontroller.h"
|
||||
#include "../../lib/mapping/CMapDefines.h"
|
||||
#include "../../lib/constants/NumericConstants.h"
|
||||
#include "../../lib/constants/StringConstants.h"
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "processors/PlayerMessageProcessor.h"
|
||||
|
||||
#include "../lib/CThreadHelper.h"
|
||||
#include "../lib/GameLibrary.h"
|
||||
#include "../lib/campaign/CampaignState.h"
|
||||
#include "../lib/entities/hero/CHeroHandler.h"
|
||||
#include "../lib/entities/hero/CHeroClass.h"
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "CGameHandler.h"
|
||||
|
||||
#include "../lib/StartInfo.h"
|
||||
#include "../lib/GameLibrary.h"
|
||||
|
||||
#include "../lib/CRandomGenerator.h"
|
||||
#include "../lib/campaign/CampaignState.h"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "../queries/QueriesProcessor.h"
|
||||
#include "../queries/BattleQueries.h"
|
||||
|
||||
#include "../../lib/GameLibrary.h"
|
||||
#include "../../lib/CStack.h"
|
||||
#include "../../lib/CPlayerState.h"
|
||||
#include "../../lib/IGameSettings.h"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "../../lib/entities/hero/CHero.h"
|
||||
#include "../../lib/mapObjects/CGTownInstance.h"
|
||||
#include "../../lib/mapObjects/CGHeroInstance.h"
|
||||
#include "../../lib/mapping/TerrainTile.h"
|
||||
#include "../../lib/networkPacks/PacksForClient.h"
|
||||
#include "../../lib/gameState/CGameState.h"
|
||||
#include "../../lib/gameState/TavernHeroesPool.h"
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "../../lib/mapObjects/CGTownInstance.h"
|
||||
#include "../../lib/mapObjects/IOwnableObject.h"
|
||||
#include "../../lib/mapping/CMap.h"
|
||||
#include "../../lib/mapping/CCastleEvent.h"
|
||||
#include "../../lib/networkPacks/PacksForClient.h"
|
||||
#include "../../lib/networkPacks/StackLocation.h"
|
||||
#include "../../lib/pathfinder/TurnInfo.h"
|
||||
|
||||
Reference in New Issue
Block a user