mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Compilation fixes for MSVS.
Apparently it doesn't like structs converted to class, needs more investigation.
This commit is contained in:
@@ -8,13 +8,12 @@
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
#include <bits/stl_pair.h>
|
||||
#include "GameConstants.h"
|
||||
|
||||
// for battle stacks' positions
|
||||
class DLL_LINKAGE BattleHex
|
||||
struct DLL_LINKAGE BattleHex
|
||||
{
|
||||
public:
|
||||
//public:
|
||||
si16 hex;
|
||||
static const si16 INVALID = -1;
|
||||
enum EDir { RIGHT, BOTTOM_RIGHT, BOTTOM_LEFT, LEFT, TOP_LEFT, TOP_RIGHT };
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "StdInc.h"
|
||||
#include "BattleState.h"
|
||||
#include "BattleHex.h"
|
||||
|
||||
#include <numeric>
|
||||
#include "VCMI_Lib.h"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "CTownHandler.h"
|
||||
#include "VCMI_Lib.h"
|
||||
#include "spells/CSpellHandler.h"
|
||||
#include "BattleHex.h"
|
||||
|
||||
/*
|
||||
* CObstacleInstance.cpp, part of VCMI engine
|
||||
|
||||
Reference in New Issue
Block a user