mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Fix CI build
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
#include "TerrainHandler.h"
|
#include "TerrainHandler.h"
|
||||||
#include "mapObjects/CObjectHandler.h"
|
#include "mapObjects/CObjectHandler.h"
|
||||||
#include "mapping/CMapDefines.h"
|
|
||||||
#include "CGameState.h"
|
#include "CGameState.h"
|
||||||
|
|
||||||
VCMI_LIB_NAMESPACE_BEGIN
|
VCMI_LIB_NAMESPACE_BEGIN
|
||||||
|
@@ -25,6 +25,8 @@ CMapUndoManager::CMapUndoManager() :
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CMapUndoManager::~CMapUndoManager() = default;
|
||||||
|
|
||||||
void CMapUndoManager::undo()
|
void CMapUndoManager::undo()
|
||||||
{
|
{
|
||||||
doOperation(undoStack, redoStack, true);
|
doOperation(undoStack, redoStack, true);
|
||||||
|
@@ -23,6 +23,7 @@ class DLL_LINKAGE CMapUndoManager : boost::noncopyable
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CMapUndoManager();
|
CMapUndoManager();
|
||||||
|
~CMapUndoManager();
|
||||||
|
|
||||||
void undo();
|
void undo();
|
||||||
void redo();
|
void redo();
|
||||||
|
@@ -17,6 +17,8 @@
|
|||||||
#include "../CGeneralTextHandler.h"
|
#include "../CGeneralTextHandler.h"
|
||||||
#include "../CHeroHandler.h"
|
#include "../CHeroHandler.h"
|
||||||
|
|
||||||
|
VCMI_LIB_NAMESPACE_BEGIN
|
||||||
|
|
||||||
SHeroName::SHeroName() : heroId(-1)
|
SHeroName::SHeroName() : heroId(-1)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -131,3 +133,5 @@ ui8 CMapHeader::levels() const
|
|||||||
{
|
{
|
||||||
return (twoLevel ? 2 : 1);
|
return (twoLevel ? 2 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VCMI_LIB_NAMESPACE_END
|
||||||
|
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
VCMI_LIB_NAMESPACE_BEGIN
|
||||||
|
|
||||||
enum class EMapFormat : uint8_t
|
enum class EMapFormat : uint8_t
|
||||||
{
|
{
|
||||||
INVALID = 0,
|
INVALID = 0,
|
||||||
@@ -22,3 +24,5 @@ enum class EMapFormat : uint8_t
|
|||||||
WOG = 0x33, // 51
|
WOG = 0x33, // 51
|
||||||
VCMI = 0x64
|
VCMI = 0x64
|
||||||
};
|
};
|
||||||
|
|
||||||
|
VCMI_LIB_NAMESPACE_END
|
||||||
|
Reference in New Issue
Block a user