mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix Lua and test building
This commit is contained in:
parent
b88a8da4e8
commit
ae92bdfb51
@ -14,7 +14,7 @@
|
||||
#include "Registry.h"
|
||||
|
||||
#include "../LuaStack.h"
|
||||
#include "../../../lib/NetPacks.h"
|
||||
#include "../../../lib/networkPacks/PacksForClientBattle.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#include "PackForClient.h"
|
||||
|
||||
#include "../../../../lib/networkPacks/PacksForClientBattle.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#include "PackForClient.h"
|
||||
|
||||
#include "../../../../lib/networkPacks/PacksForClientBattle.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#include "PackForClient.h"
|
||||
|
||||
#include "../../../../lib/networkPacks/PacksForClient.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
|
@ -14,8 +14,6 @@
|
||||
|
||||
#include <vstd/RNG.h>
|
||||
|
||||
#include "../../lib/NetPacksBase.h"
|
||||
|
||||
#include "mock/mock_BonusBearer.h"
|
||||
#include "mock/mock_battle_IBattleState.h"
|
||||
#include "mock/mock_battle_Unit.h"
|
||||
|
@ -12,7 +12,6 @@
|
||||
#include "mock/mock_battle_Unit.h"
|
||||
#include "mock/mock_BonusBearer.h"
|
||||
#include "../../lib/battle/CUnitState.h"
|
||||
#include "../../lib/NetPacksBase.h"
|
||||
|
||||
using namespace testing;
|
||||
using namespace battle;
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <vcmi/events/EventBus.h>
|
||||
|
||||
#include "../../lib/events/ApplyDamage.h"
|
||||
#include "../../lib/NetPacks.h"
|
||||
#include "../../lib/networkPacks/PacksForClientBattle.h"
|
||||
|
||||
#include "../mock/mock_Environment.h"
|
||||
#include "../mock/mock_battle_Unit.h"
|
||||
|
@ -16,7 +16,8 @@
|
||||
|
||||
#include "../../lib/VCMIDirs.h"
|
||||
#include "../../lib/gameState/CGameState.h"
|
||||
#include "../../lib/NetPacks.h"
|
||||
#include "../../lib/networkPacks/PacksForClient.h"
|
||||
#include "../../lib/networkPacks/PacksForClientBattle.h"
|
||||
#include "../../lib/StartInfo.h"
|
||||
#include "../../lib/TerrainHandler.h"
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
#endif
|
||||
|
||||
#include "../../lib/JsonNode.h"
|
||||
#include "../../lib/NetPacksBase.h"
|
||||
#include "../../lib/battle/CBattleInfoCallback.h"
|
||||
|
||||
namespace test
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "StdInc.h"
|
||||
|
||||
#include "NetPackFixture.h"
|
||||
#include "../../lib/networkPacks/PacksForClient.h"
|
||||
|
||||
namespace test
|
||||
{
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../../lib/NetPacks.h"
|
||||
#include "../../lib/gameState/CGameState.h"
|
||||
|
||||
namespace test
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include "ScriptFixture.h"
|
||||
|
||||
#include "../../lib/NetPacks.h"
|
||||
#include "../../lib/networkPacks/PacksForClientBattle.h"
|
||||
|
||||
#include "../mock/mock_ServerCallback.h"
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
#include "../../lib/JsonNode.h"
|
||||
#include "../../lib/ScriptHandler.h"
|
||||
#include "../../lib/NetPacksBase.h"
|
||||
#include "../../lib/battle/CBattleInfoCallback.h"
|
||||
#include "../../lib/bonuses/Bonus.h"
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "mock/mock_BonusBearer.h"
|
||||
#include "mock/mock_spells_Spell.h"
|
||||
|
||||
#include "../../lib/NetPacksBase.h"
|
||||
#include "../../lib/spells/AbilityCaster.h"
|
||||
|
||||
namespace test
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include <vstd/RNG.h>
|
||||
|
||||
#include "../../lib/NetPacksBase.h"
|
||||
#include "../../lib/spells/TargetCondition.h"
|
||||
#include "../../lib/serializer/JsonDeserializer.h"
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#include <vstd/RNG.h>
|
||||
|
||||
#include "../../../lib/NetPacks.h"
|
||||
#include "../../../lib/networkPacks/PacksForClientBattle.h"
|
||||
|
||||
#include "../../../lib/serializer/JsonDeserializer.h"
|
||||
|
||||
|
@ -34,7 +34,6 @@
|
||||
|
||||
|
||||
#include "../../../lib/JsonNode.h"
|
||||
#include "../../../lib/NetPacksBase.h"
|
||||
#include "../../../lib/battle/CBattleInfoCallback.h"
|
||||
|
||||
namespace battle
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include <vstd/RNG.h>
|
||||
|
||||
#include "../../../lib/NetPacksBase.h"
|
||||
#include "../../../lib/spells/TargetCondition.h"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user