mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Remove unnecessary includes
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
#include "CPathfinder.h"
|
||||
|
||||
#include "../gameState/CGameState.h"
|
||||
#include "../callback/IGameInfoCallback.h"
|
||||
#include "../mapObjects/CGHeroInstance.h"
|
||||
#include "../mapping/CMapDefines.h"
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "../GameConstants.h"
|
||||
#include "../constants/Enumerations.h"
|
||||
#include "../constants/EntityIdentifiers.h"
|
||||
#include "../int3.h"
|
||||
|
||||
#include <boost/heap/fibonacci_heap.hpp>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "../mapObjects/CGTownInstance.h"
|
||||
#include "../mapObjects/MiscObjects.h"
|
||||
#include "../mapping/CMap.h"
|
||||
#include "spells/CSpellHandler.h"
|
||||
#include "../spells/CSpellHandler.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
|
||||
@@ -10,12 +10,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "CGPathNode.h"
|
||||
#include "../callback/CGameInfoCallback.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
class IGameInfoCallback;
|
||||
class PathfinderConfig;
|
||||
class CGWhirlpool;
|
||||
class TurnInfo;
|
||||
class CGTeleport;
|
||||
struct PathfinderOptions;
|
||||
|
||||
// Optimized storage - tile can have 0-8 neighbour tiles
|
||||
@@ -63,7 +65,7 @@ private:
|
||||
CGPathNode * topAndPop();
|
||||
};
|
||||
|
||||
class DLL_LINKAGE CPathfinderHelper
|
||||
class DLL_LINKAGE CPathfinderHelper : boost::noncopyable
|
||||
{
|
||||
/// returns base movement cost for movement between specific tiles. Does not accounts for diagonal movement or last tile exception
|
||||
ui32 getTileMovementCost(const TerrainTile & dest, const TerrainTile & from, const TurnInfo * ti) const;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "../GameConstants.h"
|
||||
#include "../constants/EntityIdentifiers.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
|
||||
@@ -10,13 +10,14 @@
|
||||
#include "StdInc.h"
|
||||
#include "PathfinderOptions.h"
|
||||
|
||||
#include "../gameState/CGameState.h"
|
||||
#include "../IGameSettings.h"
|
||||
#include "../GameLibrary.h"
|
||||
#include "NodeStorage.h"
|
||||
#include "PathfindingRules.h"
|
||||
#include "CPathfinder.h"
|
||||
|
||||
#include "../IGameSettings.h"
|
||||
#include "../GameLibrary.h"
|
||||
#include "../callback/IGameInfoCallback.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
PathfinderOptions::PathfinderOptions(const IGameInfoCallback & cb)
|
||||
|
||||
@@ -9,10 +9,9 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "../TerrainHandler.h"
|
||||
#include "../mapObjects/CGObjectInstance.h"
|
||||
#include "../mapping/CMapDefines.h"
|
||||
#include "../gameState/CGameState.h"
|
||||
#include "../callback/IGameInfoCallback.h"
|
||||
#include "CGPathNode.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
Reference in New Issue
Block a user