1
0
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:
Ivan Savenko 2023-10-23 16:05:38 +03:00
parent b88a8da4e8
commit ae92bdfb51
18 changed files with 13 additions and 15 deletions

View File

@ -14,7 +14,7 @@
#include "Registry.h"
#include "../LuaStack.h"
#include "../../../lib/NetPacks.h"
#include "../../../lib/networkPacks/PacksForClientBattle.h"
VCMI_LIB_NAMESPACE_BEGIN

View File

@ -12,6 +12,8 @@
#include "PackForClient.h"
#include "../../../../lib/networkPacks/PacksForClientBattle.h"
VCMI_LIB_NAMESPACE_BEGIN
namespace scripting

View File

@ -12,6 +12,8 @@
#include "PackForClient.h"
#include "../../../../lib/networkPacks/PacksForClientBattle.h"
VCMI_LIB_NAMESPACE_BEGIN
namespace scripting

View File

@ -12,6 +12,8 @@
#include "PackForClient.h"
#include "../../../../lib/networkPacks/PacksForClient.h"
VCMI_LIB_NAMESPACE_BEGIN
namespace scripting

View File

@ -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"

View File

@ -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;

View File

@ -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"

View File

@ -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"

View File

@ -20,7 +20,6 @@
#endif
#include "../../lib/JsonNode.h"
#include "../../lib/NetPacksBase.h"
#include "../../lib/battle/CBattleInfoCallback.h"
namespace test

View File

@ -11,6 +11,7 @@
#include "StdInc.h"
#include "NetPackFixture.h"
#include "../../lib/networkPacks/PacksForClient.h"
namespace test
{

View File

@ -10,7 +10,6 @@
#pragma once
#include "../../lib/NetPacks.h"
#include "../../lib/gameState/CGameState.h"
namespace test

View File

@ -11,7 +11,7 @@
#include "ScriptFixture.h"
#include "../../lib/NetPacks.h"
#include "../../lib/networkPacks/PacksForClientBattle.h"
#include "../mock/mock_ServerCallback.h"

View File

@ -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"

View File

@ -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

View File

@ -11,7 +11,6 @@
#include <vstd/RNG.h>
#include "../../lib/NetPacksBase.h"
#include "../../lib/spells/TargetCondition.h"
#include "../../lib/serializer/JsonDeserializer.h"

View File

@ -13,7 +13,7 @@
#include <vstd/RNG.h>
#include "../../../lib/NetPacks.h"
#include "../../../lib/networkPacks/PacksForClientBattle.h"
#include "../../../lib/serializer/JsonDeserializer.h"

View File

@ -34,7 +34,6 @@
#include "../../../lib/JsonNode.h"
#include "../../../lib/NetPacksBase.h"
#include "../../../lib/battle/CBattleInfoCallback.h"
namespace battle

View File

@ -12,7 +12,6 @@
#include <vstd/RNG.h>
#include "../../../lib/NetPacksBase.h"
#include "../../../lib/spells/TargetCondition.h"