1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-02 09:02:03 +02:00
vcmi/scripting/lua/Lua.cbp
AlexVinS ecaa9f5d0b Entities redesign and a few ERM features
* Made most Handlers derived from CHandlerBase and moved service API there.
* Declared existing Entity APIs.
* Added basic script context caching
* Started Lua script module
* Started Lua spell effect API
* Started script state persistence
* Started battle info callback binding
* CommitPackage removed
* Extracted spells::Caster to own header; Expanded Spell API.
* implemented !!MC:S, !!FU:E, !!FU:P, !!MA, !!VR:H, !!VR:C
* !!BU:C, !!BU:E, !!BU:G, !!BU:M implemented
* Allow use of "MC:S@varName@" to declare normal variable (technically v-variable with string key)
* Re-enabled VERM macros.
* !?GM0 added
* !?TM implemented
* Added !!MF:N
* Started !?OB, !!BM, !!HE, !!OW, !!UN
* Added basic support of w-variables
* Added support for ERM indirect variables
* Made !?FU regular trigger
* !!re (ERA loop receiver) implemented
* Fixed ERM receivers with zero args.
2021-02-14 19:05:43 +03:00

172 lines
6.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="Lua" />
<Option compiler="gcc" />
<Build>
<Target title="Debug-win32">
<Option output="../vcmiLua" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/x32/" />
<Option type="3" />
<Option compiler="gcc" />
<Compiler>
<Add option="-Og" />
<Add option="-Wall" />
<Add option="-g" />
<Add option="-DBUILD_DLL" />
</Compiler>
<Linker>
<Add option="-lboost_program_options$(#boost.libsuffix32)" />
<Add option="-lboost_filesystem$(#boost.libsuffix32)" />
<Add option="-lboost_system$(#boost.libsuffix32)" />
<Add option="-lboost_thread$(#boost.libsuffix32)" />
<Add option="-lboost_chrono$(#boost.libsuffix32)" />
<Add option="-lVCMI_lib" />
<Add directory="$(#boost.lib32)" />
</Linker>
</Target>
<Target title="Release-win32">
<Option output="../vcmiLua" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/x32/" />
<Option type="3" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O2" />
<Add option="-Wall" />
<Add option="-DBUILD_DLL" />
</Compiler>
<Linker>
<Add option="-s" />
<Add option="-lboost_program_options$(#boost.libsuffix32)" />
<Add option="-lboost_filesystem$(#boost.libsuffix32)" />
<Add option="-lboost_system$(#boost.libsuffix32)" />
<Add option="-lboost_thread$(#boost.libsuffix32)" />
<Add option="-lboost_chrono$(#boost.libsuffix32)" />
<Add option="-lVCMI_lib" />
<Add directory="$(#boost.lib32)" />
</Linker>
</Target>
<Target title="Debug-win64">
<Option output="../vcmiLua" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/x64/" />
<Option type="3" />
<Option compiler="gnu_gcc_compiler_x64" />
<Compiler>
<Add option="-Og" />
<Add option="-g" />
<Add option="-DBUILD_DLL" />
</Compiler>
<Linker>
<Add option="-lboost_program_options$(#boost.libsuffix64)" />
<Add option="-lboost_filesystem$(#boost.libsuffix64)" />
<Add option="-lboost_system$(#boost.libsuffix64)" />
<Add option="-lboost_thread$(#boost.libsuffix64)" />
<Add option="-lboost_chrono$(#boost.libsuffix64)" />
<Add option="-lVCMI_lib" />
<Add directory="$(#boost.lib64)" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-std=gnu++11" />
<Add option="-fexceptions" />
<Add option="-Wpointer-arith" />
<Add option="-Wno-switch" />
<Add option="-Wno-sign-compare" />
<Add option="-Wno-unused-parameter" />
<Add option="-Wno-overloaded-virtual" />
<Add option="-DBOOST_ALL_DYN_LINK" />
<Add option="-DBOOST_SYSTEM_NO_DEPRECATED" />
<Add option="-DBOOST_UUID_RANDOM_PROVIDER_FORCE_WINCRYPT" />
<Add option="-D_WIN32_WINNT=0x0600" />
<Add option="-D_WIN32" />
<Add directory="$(#boost.include)" />
<Add directory="$(#lua.include)" />
<Add directory="../../include" />
</Compiler>
<Linker>
<Add library="../../lua51.dll" />
<Add directory=".." />
<Add directory="../.." />
</Linker>
<Unit filename="CMakeLists.txt" />
<Unit filename="LuaCallWrapper.h" />
<Unit filename="LuaFunctor.h" />
<Unit filename="LuaReference.cpp" />
<Unit filename="LuaReference.h" />
<Unit filename="LuaScriptModule.cpp" />
<Unit filename="LuaScriptModule.h" />
<Unit filename="LuaScriptingContext.cpp" />
<Unit filename="LuaScriptingContext.h" />
<Unit filename="LuaSpellEffect.cpp" />
<Unit filename="LuaSpellEffect.h" />
<Unit filename="LuaStack.cpp" />
<Unit filename="LuaStack.h" />
<Unit filename="LuaWrapper.h" />
<Unit filename="StdInc.h">
<Option weight="0" />
</Unit>
<Unit filename="api/Artifact.cpp" />
<Unit filename="api/Artifact.h" />
<Unit filename="api/BattleCb.cpp" />
<Unit filename="api/BattleCb.h" />
<Unit filename="api/BonusSystem.cpp" />
<Unit filename="api/BonusSystem.h" />
<Unit filename="api/Creature.cpp" />
<Unit filename="api/Creature.h" />
<Unit filename="api/Faction.cpp" />
<Unit filename="api/Faction.h" />
<Unit filename="api/GameCb.cpp" />
<Unit filename="api/GameCb.h" />
<Unit filename="api/HeroClass.cpp" />
<Unit filename="api/HeroClass.h" />
<Unit filename="api/HeroInstance.cpp" />
<Unit filename="api/HeroInstance.h" />
<Unit filename="api/HeroType.cpp" />
<Unit filename="api/HeroType.h" />
<Unit filename="api/ObjectInstance.cpp" />
<Unit filename="api/ObjectInstance.h" />
<Unit filename="api/Player.cpp" />
<Unit filename="api/Player.h" />
<Unit filename="api/Registry.cpp" />
<Unit filename="api/Registry.h" />
<Unit filename="api/ServerCb.cpp" />
<Unit filename="api/ServerCb.h" />
<Unit filename="api/Services.cpp" />
<Unit filename="api/Services.h" />
<Unit filename="api/Skill.cpp" />
<Unit filename="api/Skill.h" />
<Unit filename="api/Spell.cpp" />
<Unit filename="api/Spell.h" />
<Unit filename="api/StackInstance.cpp" />
<Unit filename="api/StackInstance.h" />
<Unit filename="api/battle/UnitProxy.cpp" />
<Unit filename="api/battle/UnitProxy.h" />
<Unit filename="api/events/AdventureEvents.cpp" />
<Unit filename="api/events/AdventureEvents.h" />
<Unit filename="api/events/BattleEvents.cpp" />
<Unit filename="api/events/BattleEvents.h" />
<Unit filename="api/events/EventBusProxy.cpp" />
<Unit filename="api/events/EventBusProxy.h" />
<Unit filename="api/events/GenericEvents.cpp" />
<Unit filename="api/events/GenericEvents.h" />
<Unit filename="api/events/SubscriptionRegistryProxy.cpp" />
<Unit filename="api/events/SubscriptionRegistryProxy.h" />
<Unit filename="api/netpacks/BattleLogMessage.cpp" />
<Unit filename="api/netpacks/BattleLogMessage.h" />
<Unit filename="api/netpacks/BattleStackMoved.cpp" />
<Unit filename="api/netpacks/BattleStackMoved.h" />
<Unit filename="api/netpacks/BattleUnitsChanged.cpp" />
<Unit filename="api/netpacks/BattleUnitsChanged.h" />
<Unit filename="api/netpacks/EntitiesChanged.cpp" />
<Unit filename="api/netpacks/EntitiesChanged.h" />
<Unit filename="api/netpacks/InfoWindow.cpp" />
<Unit filename="api/netpacks/InfoWindow.h" />
<Unit filename="api/netpacks/PackForClient.h" />
<Unit filename="api/netpacks/SetResources.cpp" />
<Unit filename="api/netpacks/SetResources.h" />
<Extensions />
</Project>
</CodeBlocks_project_file>