mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
fix building vcmiLua for iOS
This commit is contained in:
@ -17,6 +17,8 @@
|
||||
#include "../LuaCallWrapper.h"
|
||||
#include "../../../lib/HeroBonus.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -44,3 +46,5 @@ const std::vector<ArtifactProxy::CustomRegType> ArtifactProxy::REGISTER_CUSTOM =
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -29,3 +31,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -19,6 +19,8 @@
|
||||
#include "../../../lib/battle/Unit.h"
|
||||
#include "../../../lib/BattleFieldHandler.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -114,3 +116,5 @@ int BattleCbProxy::getUnitByPos(lua_State * L)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -34,3 +36,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -18,6 +18,8 @@
|
||||
#include "../LuaStack.h"
|
||||
#include "../LuaCallWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -253,3 +255,5 @@ int BonusBearerProxy::getBonuses(lua_State * L)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
struct Bonus;
|
||||
class BonusList;
|
||||
class IBonusBearer;
|
||||
@ -70,3 +72,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -17,6 +17,8 @@
|
||||
#include "../LuaCallWrapper.h"
|
||||
#include "../../../lib/HeroBonus.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -60,3 +62,5 @@ const std::vector<CreatureProxy::CustomRegType> CreatureProxy::REGISTER_CUSTOM =
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -30,3 +32,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include "../LuaStack.h"
|
||||
#include "../LuaCallWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -34,3 +36,5 @@ const std::vector<FactionProxy::CustomRegType> FactionProxy::REGISTER_CUSTOM =
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -28,3 +30,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -17,6 +17,8 @@
|
||||
|
||||
#include "../../../lib/mapObjects/CGHeroInstance.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -39,3 +41,5 @@ const std::vector<GameCbProxy::CustomRegType> GameCbProxy::REGISTER_CUSTOM =
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -31,3 +33,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include "../LuaStack.h"
|
||||
#include "../LuaCallWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -32,3 +34,5 @@ const std::vector<HeroClassProxy::CustomRegType> HeroClassProxy::REGISTER_CUSTOM
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -29,3 +31,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include "../LuaStack.h"
|
||||
#include "../LuaCallWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -31,3 +33,4 @@ const std::vector<HeroInstanceProxy::CustomRegType> HeroInstanceProxy::REGISTER_
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -16,6 +16,8 @@
|
||||
|
||||
#include "../../../lib/mapObjects/CGHeroInstance.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -32,3 +34,4 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include "../LuaStack.h"
|
||||
#include "../LuaCallWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -34,3 +36,5 @@ const std::vector<HeroTypeProxy::CustomRegType> HeroTypeProxy::REGISTER_CUSTOM =
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -29,3 +31,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -34,3 +34,5 @@ const std::vector<ObjectInstanceProxy::CustomRegType> ObjectInstanceProxy::REGIS
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -32,3 +32,5 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -36,3 +36,5 @@ const std::vector<PlayerProxy::CustomRegType> PlayerProxy::REGISTER_CUSTOM =
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -29,3 +29,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -11,6 +11,8 @@
|
||||
|
||||
#include "api/Registry.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -86,3 +88,5 @@ const char * TypeRegistry::getKeyForType(const std::type_info & type)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -27,6 +27,8 @@ RegisterCoreAPI<Type> _register ## Type (Name);\
|
||||
}\
|
||||
\
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -108,3 +110,5 @@ private:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -15,6 +15,9 @@
|
||||
|
||||
#include "../LuaStack.h"
|
||||
#include "../../../lib/NetPacks.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -100,3 +103,5 @@ int ServerCbProxy::apply(lua_State * L)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -33,3 +35,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -26,6 +26,8 @@
|
||||
#include "../LuaCallWrapper.h"
|
||||
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -95,3 +97,5 @@ const std::vector<SpellServiceProxy::CustomRegType> SpellServiceProxy::REGISTER_
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -22,6 +22,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -87,3 +89,5 @@ public:
|
||||
}
|
||||
|
||||
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include "../LuaStack.h"
|
||||
#include "../LuaCallWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -32,3 +34,5 @@ const std::vector<SkillProxy::CustomRegType> SkillProxy::REGISTER_CUSTOM =
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -29,3 +31,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include "../LuaStack.h"
|
||||
#include "../LuaCallWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -51,3 +53,5 @@ const std::vector<SpellProxy::CustomRegType> SpellProxy::REGISTER_CUSTOM =
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -28,3 +30,5 @@ public:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -17,6 +17,8 @@
|
||||
#include "../LuaCallWrapper.h"
|
||||
#include <vcmi/Creature.h>
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -33,3 +35,4 @@ const std::vector<StackInstanceProxy::CustomRegType> StackInstanceProxy::REGISTE
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -16,6 +16,8 @@
|
||||
|
||||
#include "../../../lib/CCreatureSet.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -32,3 +34,4 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include "../../LuaCallWrapper.h"
|
||||
#include "../Registry.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -38,3 +40,5 @@ const std::vector<UnitProxy::CustomRegType> UnitProxy::REGISTER_CUSTOM =
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "../../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -34,3 +36,5 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -38,3 +38,5 @@ const std::vector<ObjectVisitStartedProxy::CustomRegType> ObjectVisitStartedProx
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -38,3 +38,5 @@ public:
|
||||
}
|
||||
|
||||
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -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
|
||||
|
@ -16,6 +16,8 @@
|
||||
|
||||
#include "EventBusProxy.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -34,4 +36,4 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -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
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "../../LuaWrapper.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -31,3 +33,5 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -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
|
||||
|
@ -16,6 +16,8 @@
|
||||
|
||||
#include "EventBusProxy.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -48,4 +50,4 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "../Registry.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -56,3 +58,5 @@ int BattleLogMessageProxy::addText(lua_State * L)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#include "PackForClient.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -32,3 +34,5 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "../Registry.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -82,3 +84,5 @@ int BattleStackMovedProxy::setTeleporting(lua_State * L)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#include "PackForClient.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -35,3 +37,5 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "../Registry.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -112,3 +114,5 @@ int BattleUnitsChangedProxy::remove(lua_State * L)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#include "PackForClient.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -35,3 +37,5 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "../Registry.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -61,3 +63,5 @@ int EntitiesChangedProxy::update(lua_State * L)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -10,9 +10,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "PackForClient.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -33,3 +34,5 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "../Registry.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
using scripting::api::netpacks::InfoWindowProxy;
|
||||
using scripting::api::RegisterAPI;
|
||||
|
||||
@ -126,3 +128,5 @@ int InfoWindowProxy::setPlayer(lua_State * L)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#include "PackForClient.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -33,3 +35,5 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "../../../../lib/NetPacks.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -43,3 +45,5 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "../Registry.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -157,3 +159,5 @@ int SetResourcesProxy::clear(lua_State * L)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#include "PackForClient.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
namespace scripting
|
||||
{
|
||||
namespace api
|
||||
@ -38,3 +40,5 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
Reference in New Issue
Block a user