1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Pathfinding: add copy-pasted EPathfindingLayer

This commit is contained in:
ArseniyShestakov 2015-11-02 11:05:26 +03:00
parent 34cc9c78f7
commit 118039a368

View File

@ -745,6 +745,25 @@ DLL_LINKAGE std::ostream & operator<<(std::ostream & os, const ETerrainType acti
ID_LIKE_OPERATORS_DECLS(ETerrainType, ETerrainType::EETerrainType)
class DLL_LINKAGE EPathfindingLayer
{
public:
enum EEPathfindingLayer
{
AUTO = -1, LAND = 0, SAIL = 1, WATER, AIR, NUM_LAYERS
};
EPathfindingLayer(EEPathfindingLayer _num = AUTO) : num(_num)
{}
ID_LIKE_CLASS_COMMON(EPathfindingLayer, EEPathfindingLayer)
EEPathfindingLayer num;
};
DLL_LINKAGE std::ostream & operator<<(std::ostream & os, const EPathfindingLayer actionType);
ID_LIKE_OPERATORS_DECLS(EPathfindingLayer, EPathfindingLayer::EEPathfindingLayer)
class BFieldType
{