@@ -11,7 +11,6 @@
#include "TerrainHandler.h"
#include "mapObjects/CObjectHandler.h"
-#include "mapping/CMapDefines.h"
#include "CGameState.h"
VCMI_LIB_NAMESPACE_BEGIN
@@ -25,6 +25,8 @@ CMapUndoManager::CMapUndoManager() :
{
}
+CMapUndoManager::~CMapUndoManager() = default;
+
void CMapUndoManager::undo()
doOperation(undoStack, redoStack, true);
@@ -23,6 +23,7 @@ class DLL_LINKAGE CMapUndoManager : boost::noncopyable
public:
CMapUndoManager();
+ ~CMapUndoManager();
void undo();
void redo();
@@ -17,6 +17,8 @@
#include "../CGeneralTextHandler.h"
#include "../CHeroHandler.h"
+VCMI_LIB_NAMESPACE_BEGIN
SHeroName::SHeroName() : heroId(-1)
@@ -131,3 +133,5 @@ ui8 CMapHeader::levels() const
return (twoLevel ? 2 : 1);
+VCMI_LIB_NAMESPACE_END
@@ -10,6 +10,8 @@
#pragma once
enum class EMapFormat : uint8_t
INVALID = 0,
@@ -22,3 +24,5 @@ enum class EMapFormat : uint8_t
WOG = 0x33, // 51
VCMI = 0x64
};