1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

fix building vcmiLua for iOS

This commit is contained in:
Andrey Filipenkov
2022-08-15 14:38:17 +03:00
parent 7b411a5fc4
commit a851e630d5
75 changed files with 279 additions and 8 deletions

View File

@@ -38,3 +38,5 @@ const std::vector<ObjectVisitStartedProxy::CustomRegType> ObjectVisitStartedProx
}
}
VCMI_LIB_NAMESPACE_END

View File

@@ -38,3 +38,5 @@ public:
}
VCMI_LIB_NAMESPACE_END

View File

@@ -17,6 +17,8 @@
#include "../../../../lib/battle/Unit.h"
#include "SubscriptionRegistryProxy.h"
VCMI_LIB_NAMESPACE_BEGIN
namespace scripting
{
namespace api
@@ -66,3 +68,5 @@ const std::vector<ApplyDamageProxy::CustomRegType> ApplyDamageProxy::REGISTER_CU
}
}
VCMI_LIB_NAMESPACE_END

View File

@@ -16,6 +16,8 @@
#include "EventBusProxy.h"
VCMI_LIB_NAMESPACE_BEGIN
namespace scripting
{
namespace api
@@ -34,4 +36,4 @@ public:
}
}
VCMI_LIB_NAMESPACE_END

View File

@@ -16,6 +16,8 @@
#include "../Registry.h"
VCMI_LIB_NAMESPACE_BEGIN
namespace scripting
{
namespace api
@@ -30,3 +32,4 @@ const std::vector<EventBusProxy::CustomRegType> EventBusProxy::REGISTER_CUSTOM =
}
}
VCMI_LIB_NAMESPACE_END

View File

@@ -14,6 +14,8 @@
#include "../../LuaWrapper.h"
VCMI_LIB_NAMESPACE_BEGIN
namespace scripting
{
namespace api
@@ -31,3 +33,5 @@ public:
}
}
}
VCMI_LIB_NAMESPACE_END

View File

@@ -16,6 +16,8 @@
#include "../Registry.h"
#include "SubscriptionRegistryProxy.h"
VCMI_LIB_NAMESPACE_BEGIN
namespace scripting
{
namespace api
@@ -86,3 +88,5 @@ const std::vector<TurnStartedProxy::CustomRegType> TurnStartedProxy::REGISTER_CU
}
}
VCMI_LIB_NAMESPACE_END

View File

@@ -16,6 +16,8 @@
#include "EventBusProxy.h"
VCMI_LIB_NAMESPACE_BEGIN
namespace scripting
{
namespace api
@@ -48,4 +50,4 @@ public:
}
}
VCMI_LIB_NAMESPACE_END

View File

@@ -13,6 +13,8 @@
#include "../Registry.h"
VCMI_LIB_NAMESPACE_BEGIN
namespace scripting
{
namespace api
@@ -25,3 +27,5 @@ const std::vector<EventSubscriptionProxy::CustomRegType> EventSubscriptionProxy:
}
}
}
VCMI_LIB_NAMESPACE_END

View File

@@ -18,6 +18,8 @@
#include "../../LuaStack.h"
#include "../../LuaReference.h"
VCMI_LIB_NAMESPACE_BEGIN
namespace scripting
{
namespace api
@@ -128,3 +130,5 @@ public:
}
}
}
VCMI_LIB_NAMESPACE_END