2013-01-06 22:30:12 +03:00
|
|
|
set(lib_SRCS
|
2014-02-05 23:25:36 +03:00
|
|
|
StdInc.cpp
|
2016-10-23 16:56:53 +02:00
|
|
|
${CMAKE_BINARY_DIR}/Version.cpp
|
2014-02-24 22:57:33 +03:00
|
|
|
|
2017-06-29 01:03:37 +02:00
|
|
|
battle/AccessibilityInfo.cpp
|
|
|
|
battle/BattleAction.cpp
|
|
|
|
battle/BattleAttackInfo.cpp
|
|
|
|
battle/BattleHex.cpp
|
|
|
|
battle/BattleInfo.cpp
|
2017-07-20 06:08:49 +02:00
|
|
|
battle/BattleProxy.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
battle/CBattleInfoCallback.cpp
|
|
|
|
battle/CBattleInfoEssentials.cpp
|
|
|
|
battle/CCallbackBase.cpp
|
|
|
|
battle/CObstacleInstance.cpp
|
|
|
|
battle/CPlayerBattleCallback.cpp
|
2017-07-20 06:08:49 +02:00
|
|
|
battle/CUnitState.cpp
|
|
|
|
battle/Destination.cpp
|
|
|
|
battle/IBattleState.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
battle/ReachabilityInfo.cpp
|
|
|
|
battle/SideInBattle.cpp
|
|
|
|
battle/SiegeInfo.cpp
|
2017-07-20 06:08:49 +02:00
|
|
|
battle/Unit.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
events/ApplyDamage.cpp
|
|
|
|
events/GameResumed.cpp
|
|
|
|
events/ObjectVisitEnded.cpp
|
|
|
|
events/ObjectVisitStarted.cpp
|
|
|
|
events/PlayerGotTurn.cpp
|
|
|
|
events/TurnStarted.cpp
|
|
|
|
|
2013-07-28 17:49:50 +03:00
|
|
|
filesystem/AdapterLoaders.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
filesystem/CArchiveLoader.cpp
|
|
|
|
filesystem/CBinaryReader.cpp
|
2013-07-28 17:49:50 +03:00
|
|
|
filesystem/CCompressedStream.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
filesystem/CFileInputStream.cpp
|
2013-04-07 13:48:07 +03:00
|
|
|
filesystem/CFilesystemLoader.cpp
|
2016-02-08 09:17:25 +02:00
|
|
|
filesystem/CMemoryBuffer.cpp
|
2013-07-28 17:49:50 +03:00
|
|
|
filesystem/CMemoryStream.cpp
|
2013-07-30 18:02:55 +03:00
|
|
|
filesystem/CZipLoader.cpp
|
2016-02-08 09:17:25 +02:00
|
|
|
filesystem/CZipSaver.cpp
|
2016-01-29 17:08:44 +02:00
|
|
|
filesystem/FileInfo.cpp
|
2016-01-19 12:56:03 +02:00
|
|
|
filesystem/FileStream.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
filesystem/Filesystem.cpp
|
2016-02-08 09:17:25 +02:00
|
|
|
filesystem/MinizipExtensions.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
filesystem/ResourceID.cpp
|
|
|
|
|
|
|
|
logging/CBasicLogConfigurator.cpp
|
|
|
|
logging/CLogger.cpp
|
2013-07-28 17:49:50 +03:00
|
|
|
|
2014-06-05 20:26:50 +03:00
|
|
|
mapObjects/CArmedInstance.cpp
|
|
|
|
mapObjects/CBank.cpp
|
2014-06-05 19:52:14 +03:00
|
|
|
mapObjects/CGHeroInstance.cpp
|
|
|
|
mapObjects/CGMarket.cpp
|
|
|
|
mapObjects/CGPandoraBox.cpp
|
|
|
|
mapObjects/CGTownInstance.cpp
|
2014-06-05 14:19:47 +03:00
|
|
|
mapObjects/CObjectClassesHandler.cpp
|
|
|
|
mapObjects/CObjectHandler.cpp
|
2014-06-14 18:42:13 +03:00
|
|
|
mapObjects/CommonConstructors.cpp
|
2014-06-05 19:52:14 +03:00
|
|
|
mapObjects/CQuest.cpp
|
2014-06-05 14:19:47 +03:00
|
|
|
mapObjects/CRewardableConstructor.cpp
|
|
|
|
mapObjects/CRewardableObject.cpp
|
2014-06-22 13:39:40 +03:00
|
|
|
mapObjects/JsonRandom.cpp
|
2014-06-05 19:52:14 +03:00
|
|
|
mapObjects/MiscObjects.cpp
|
2014-06-05 14:19:47 +03:00
|
|
|
mapObjects/ObjectTemplate.cpp
|
|
|
|
|
2013-04-07 13:48:07 +03:00
|
|
|
mapping/CCampaignHandler.cpp
|
2015-05-26 01:02:45 +02:00
|
|
|
mapping/CDrawRoadsOperation.cpp
|
2013-04-07 13:48:07 +03:00
|
|
|
mapping/CMap.cpp
|
|
|
|
mapping/CMapEditManager.cpp
|
|
|
|
mapping/CMapInfo.cpp
|
2022-09-17 13:04:01 +02:00
|
|
|
mapping/CMapOperation.cpp
|
2013-04-07 13:48:07 +03:00
|
|
|
mapping/CMapService.cpp
|
2022-09-17 13:04:01 +02:00
|
|
|
mapping/MapEditUtils.cpp
|
2013-04-07 13:48:07 +03:00
|
|
|
mapping/MapFormatH3M.cpp
|
2013-12-31 02:09:58 +03:00
|
|
|
mapping/MapFormatJson.cpp
|
2013-07-28 17:49:50 +03:00
|
|
|
|
2017-06-29 01:03:37 +02:00
|
|
|
registerTypes/RegisterTypes.cpp
|
|
|
|
registerTypes/TypesClientPacks1.cpp
|
|
|
|
registerTypes/TypesClientPacks2.cpp
|
|
|
|
registerTypes/TypesMapObjects1.cpp
|
|
|
|
registerTypes/TypesMapObjects2.cpp
|
|
|
|
registerTypes/TypesMapObjects3.cpp
|
2018-01-05 19:21:07 +02:00
|
|
|
registerTypes/TypesLobbyPacks.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
registerTypes/TypesServerPacks.cpp
|
|
|
|
|
2022-08-09 07:54:32 +02:00
|
|
|
rmg/RmgArea.cpp
|
|
|
|
rmg/RmgObject.cpp
|
|
|
|
rmg/RmgPath.cpp
|
2013-04-07 13:48:07 +03:00
|
|
|
rmg/CMapGenerator.cpp
|
2013-08-17 15:46:48 +03:00
|
|
|
rmg/CMapGenOptions.cpp
|
|
|
|
rmg/CRmgTemplate.cpp
|
|
|
|
rmg/CRmgTemplateStorage.cpp
|
|
|
|
rmg/CZonePlacer.cpp
|
2022-08-09 07:54:32 +02:00
|
|
|
rmg/TileInfo.cpp
|
|
|
|
rmg/Zone.cpp
|
|
|
|
rmg/Functions.cpp
|
|
|
|
rmg/ObjectManager.cpp
|
|
|
|
rmg/RoadPlacer.cpp
|
|
|
|
rmg/TreasurePlacer.cpp
|
|
|
|
rmg/RmgMap.cpp
|
|
|
|
rmg/ConnectionsPlacer.cpp
|
|
|
|
rmg/WaterAdopter.cpp
|
|
|
|
rmg/TownPlacer.cpp
|
|
|
|
rmg/WaterProxy.cpp
|
|
|
|
rmg/WaterRoutes.cpp
|
|
|
|
rmg/RockPlacer.cpp
|
|
|
|
rmg/ObstaclePlacer.cpp
|
|
|
|
rmg/RiverPlacer.cpp
|
|
|
|
rmg/TerrainPainter.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
|
2016-09-10 02:32:40 +02:00
|
|
|
serializer/BinaryDeserializer.cpp
|
|
|
|
serializer/BinarySerializer.cpp
|
|
|
|
serializer/CLoadIntegrityValidator.cpp
|
|
|
|
serializer/CMemorySerializer.cpp
|
|
|
|
serializer/Connection.cpp
|
|
|
|
serializer/CSerializer.cpp
|
|
|
|
serializer/CTypeList.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
serializer/JsonDeserializer.cpp
|
|
|
|
serializer/JsonSerializeFormat.cpp
|
|
|
|
serializer/JsonSerializer.cpp
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
serializer/JsonUpdater.cpp
|
2013-07-28 17:49:50 +03:00
|
|
|
|
2018-03-02 12:22:51 +02:00
|
|
|
spells/AbilityCaster.cpp
|
2016-10-23 16:56:53 +02:00
|
|
|
spells/AdventureSpellMechanics.cpp
|
|
|
|
spells/BattleSpellMechanics.cpp
|
2018-03-02 12:22:51 +02:00
|
|
|
spells/BonusCaster.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
spells/CSpellHandler.cpp
|
|
|
|
spells/ISpellMechanics.cpp
|
2017-07-20 06:08:49 +02:00
|
|
|
spells/Problem.cpp
|
2018-03-02 12:22:51 +02:00
|
|
|
spells/ProxyCaster.cpp
|
2017-07-20 06:08:49 +02:00
|
|
|
spells/TargetCondition.cpp
|
2016-10-23 16:56:53 +02:00
|
|
|
spells/ViewSpellInt.cpp
|
2015-02-02 10:25:26 +02:00
|
|
|
|
2017-07-20 06:08:49 +02:00
|
|
|
spells/effects/Catapult.cpp
|
|
|
|
spells/effects/Clone.cpp
|
|
|
|
spells/effects/Damage.cpp
|
|
|
|
spells/effects/Dispel.cpp
|
|
|
|
spells/effects/Effect.cpp
|
|
|
|
spells/effects/Effects.cpp
|
|
|
|
spells/effects/Heal.cpp
|
|
|
|
spells/effects/LocationEffect.cpp
|
|
|
|
spells/effects/Obstacle.cpp
|
|
|
|
spells/effects/Registry.cpp
|
|
|
|
spells/effects/UnitEffect.cpp
|
|
|
|
spells/effects/Summon.cpp
|
|
|
|
spells/effects/Teleport.cpp
|
|
|
|
spells/effects/Timed.cpp
|
|
|
|
spells/effects/RemoveObstacle.cpp
|
|
|
|
spells/effects/Sacrifice.cpp
|
|
|
|
|
2018-04-03 03:37:09 +02:00
|
|
|
vstd/StringUtils.cpp
|
2022-06-28 10:05:30 +02:00
|
|
|
|
|
|
|
BattleFieldHandler.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
CAndroidVMHelper.cpp
|
2013-01-06 22:30:12 +03:00
|
|
|
CArtHandler.cpp
|
2013-03-06 21:49:56 +03:00
|
|
|
CBonusTypeHandler.cpp
|
2013-01-06 22:30:12 +03:00
|
|
|
CBuildingHandler.cpp
|
|
|
|
CConfigHandler.cpp
|
|
|
|
CConsoleHandler.cpp
|
|
|
|
CCreatureHandler.cpp
|
|
|
|
CCreatureSet.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
CGameInfoCallback.cpp
|
2013-01-06 22:30:12 +03:00
|
|
|
CGameInterface.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
CGameState.cpp
|
2013-01-06 22:30:12 +03:00
|
|
|
CGeneralTextHandler.cpp
|
|
|
|
CHeroHandler.cpp
|
|
|
|
CModHandler.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
CPathfinder.cpp
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
CPlayerState.cpp
|
2014-04-10 20:11:09 +03:00
|
|
|
CRandomGenerator.cpp
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
CScriptingModule.cpp
|
2017-08-30 09:19:54 +02:00
|
|
|
CSkillHandler.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
CStack.cpp
|
2013-01-06 22:30:12 +03:00
|
|
|
CThreadHelper.cpp
|
|
|
|
CTownHandler.cpp
|
2013-02-11 22:27:37 +03:00
|
|
|
GameConstants.cpp
|
2013-01-06 22:30:12 +03:00
|
|
|
HeroBonus.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
IGameCallback.cpp
|
|
|
|
IHandlerBase.cpp
|
2013-10-26 22:33:34 +03:00
|
|
|
JsonDetail.cpp
|
2013-01-06 22:30:12 +03:00
|
|
|
JsonNode.cpp
|
2022-09-17 13:04:01 +02:00
|
|
|
LoadProgress.cpp
|
2013-12-02 14:58:02 +03:00
|
|
|
LogicalExpression.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
NetPacksLib.cpp
|
2022-09-15 10:06:54 +02:00
|
|
|
ObstacleHandler.cpp
|
2018-01-05 19:21:07 +02:00
|
|
|
StartInfo.cpp
|
2013-01-06 22:30:12 +03:00
|
|
|
ResourceSet.cpp
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
ScriptHandler.cpp
|
2022-06-20 16:39:50 +02:00
|
|
|
Terrain.cpp
|
2013-03-02 21:41:25 +03:00
|
|
|
VCMIDirs.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
VCMI_Lib.cpp
|
2017-07-04 21:07:24 +02:00
|
|
|
|
|
|
|
${VCMILIB_ADDITIONAL_SOURCES}
|
2013-01-06 22:30:12 +03:00
|
|
|
)
|
|
|
|
|
2018-02-09 18:45:50 +02:00
|
|
|
# Version.cpp is a generated file
|
|
|
|
set_source_files_properties(${CMAKE_BINARY_DIR}/Version.cpp
|
|
|
|
PROPERTIES GENERATED TRUE
|
|
|
|
)
|
|
|
|
|
2013-01-06 22:30:12 +03:00
|
|
|
set(lib_HEADERS
|
2018-05-25 21:08:14 +02:00
|
|
|
../include/vstd/CLoggerBase.h
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
../Global.h
|
|
|
|
StdInc.h
|
|
|
|
|
2018-05-25 21:08:14 +02:00
|
|
|
../include/vstd/ContainerUtils.h
|
|
|
|
../include/vstd/RNG.h
|
|
|
|
../include/vstd/StringUtils.h
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
|
|
|
|
../include/vcmi/events/ApplyDamage.h
|
|
|
|
../include/vcmi/events/Event.h
|
|
|
|
../include/vcmi/events/EventBus.h
|
|
|
|
../include/vcmi/events/SubscriptionRegistry.h
|
|
|
|
|
|
|
|
../include/vcmi/scripting/Service.h
|
|
|
|
|
|
|
|
../include/vcmi/spells/Caster.h
|
|
|
|
../include/vcmi/spells/Magic.h
|
|
|
|
../include/vcmi/spells/Service.h
|
|
|
|
../include/vcmi/spells/Spell.h
|
|
|
|
|
|
|
|
../include/vcmi/Artifact.h
|
|
|
|
../include/vcmi/ArtifactService.h
|
|
|
|
../include/vcmi/Creature.h
|
|
|
|
../include/vcmi/CreatureService.h
|
|
|
|
../include/vcmi/Entity.h
|
|
|
|
../include/vcmi/Environment.h
|
|
|
|
../include/vcmi/Services.h
|
|
|
|
|
|
|
|
abilities/Ability.h
|
2013-11-30 13:08:38 +03:00
|
|
|
|
2017-06-29 01:03:37 +02:00
|
|
|
battle/AccessibilityInfo.h
|
|
|
|
battle/BattleAction.h
|
|
|
|
battle/BattleAttackInfo.h
|
|
|
|
battle/BattleHex.h
|
|
|
|
battle/BattleInfo.h
|
2017-07-20 06:08:49 +02:00
|
|
|
battle/BattleProxy.h
|
2017-06-29 01:03:37 +02:00
|
|
|
battle/CBattleInfoCallback.h
|
|
|
|
battle/CBattleInfoEssentials.h
|
|
|
|
battle/CCallbackBase.h
|
|
|
|
battle/CObstacleInstance.h
|
|
|
|
battle/CPlayerBattleCallback.h
|
2017-07-20 06:08:49 +02:00
|
|
|
battle/CUnitState.h
|
|
|
|
battle/Destination.h
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
battle/IBattleInfoCallback.h
|
2017-07-20 06:08:49 +02:00
|
|
|
battle/IBattleState.h
|
|
|
|
battle/IUnitInfo.h
|
2017-06-29 01:03:37 +02:00
|
|
|
battle/ReachabilityInfo.h
|
|
|
|
battle/SideInBattle.h
|
|
|
|
battle/SiegeInfo.h
|
2017-07-20 06:08:49 +02:00
|
|
|
battle/Unit.h
|
2017-06-29 01:03:37 +02:00
|
|
|
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
events/ApplyDamage.h
|
|
|
|
events/GameResumed.h
|
|
|
|
events/ObjectVisitEnded.h
|
|
|
|
events/ObjectVisitStarted.h
|
|
|
|
events/PlayerGotTurn.h
|
|
|
|
events/TurnStarted.h
|
|
|
|
|
2017-06-29 01:03:37 +02:00
|
|
|
filesystem/AdapterLoaders.h
|
|
|
|
filesystem/CArchiveLoader.h
|
|
|
|
filesystem/CBinaryReader.h
|
|
|
|
filesystem/CCompressedStream.h
|
|
|
|
filesystem/CFileInputStream.h
|
|
|
|
filesystem/CFilesystemLoader.h
|
|
|
|
filesystem/CInputOutputStream.h
|
2013-04-07 13:48:07 +03:00
|
|
|
filesystem/CInputStream.h
|
2017-06-29 01:03:37 +02:00
|
|
|
filesystem/CMemoryBuffer.h
|
|
|
|
filesystem/CMemoryStream.h
|
2017-03-10 18:39:11 +02:00
|
|
|
filesystem/COutputStream.h
|
2017-06-29 01:03:37 +02:00
|
|
|
filesystem/CStream.h
|
|
|
|
filesystem/CZipLoader.h
|
|
|
|
filesystem/CZipSaver.h
|
|
|
|
filesystem/FileInfo.h
|
|
|
|
filesystem/FileStream.h
|
|
|
|
filesystem/Filesystem.h
|
|
|
|
filesystem/ISimpleResourceLoader.h
|
|
|
|
filesystem/MinizipExtensions.h
|
|
|
|
filesystem/ResourceID.h
|
2017-03-10 18:39:11 +02:00
|
|
|
|
2017-06-29 01:03:37 +02:00
|
|
|
logging/CBasicLogConfigurator.h
|
|
|
|
logging/CLogger.h
|
|
|
|
|
|
|
|
mapObjects/CArmedInstance.h
|
|
|
|
mapObjects/CBank.h
|
|
|
|
mapObjects/CGHeroInstance.h
|
|
|
|
mapObjects/CGMarket.h
|
|
|
|
mapObjects/CGPandoraBox.h
|
|
|
|
mapObjects/CGTownInstance.h
|
|
|
|
mapObjects/CObjectClassesHandler.h
|
|
|
|
mapObjects/CObjectHandler.h
|
|
|
|
mapObjects/CommonConstructors.h
|
|
|
|
mapObjects/CQuest.h
|
|
|
|
mapObjects/CRewardableConstructor.h
|
|
|
|
mapObjects/CRewardableObject.h
|
|
|
|
mapObjects/JsonRandom.h
|
|
|
|
mapObjects/MapObjects.h
|
|
|
|
mapObjects/MiscObjects.h
|
|
|
|
mapObjects/ObjectTemplate.h
|
|
|
|
|
|
|
|
mapping/CCampaignHandler.h
|
|
|
|
mapping/CDrawRoadsOperation.h
|
|
|
|
mapping/CMapDefines.h
|
|
|
|
mapping/CMapEditManager.h
|
|
|
|
mapping/CMap.h
|
|
|
|
mapping/CMapInfo.h
|
2022-09-17 13:04:01 +02:00
|
|
|
mapping/CMapOperation.h
|
2017-06-29 01:03:37 +02:00
|
|
|
mapping/CMapService.h
|
2022-09-17 13:04:01 +02:00
|
|
|
mapping/MapEditUtils.h
|
2017-06-29 01:03:37 +02:00
|
|
|
mapping/MapFormatH3M.h
|
|
|
|
mapping/MapFormatJson.h
|
|
|
|
|
|
|
|
registerTypes/RegisterTypes.h
|
|
|
|
|
2022-08-09 07:54:32 +02:00
|
|
|
rmg/RmgArea.h
|
|
|
|
rmg/RmgObject.h
|
|
|
|
rmg/RmgPath.h
|
2017-06-29 01:03:37 +02:00
|
|
|
rmg/CMapGenerator.h
|
|
|
|
rmg/CMapGenOptions.h
|
|
|
|
rmg/CRmgTemplate.h
|
|
|
|
rmg/CRmgTemplateStorage.h
|
|
|
|
rmg/CZonePlacer.h
|
2022-08-09 07:54:32 +02:00
|
|
|
rmg/TileInfo.h
|
|
|
|
rmg/Zone.h
|
|
|
|
rmg/Functions.h
|
|
|
|
rmg/ObjectManager.h
|
|
|
|
rmg/RoadPlacer.h
|
|
|
|
rmg/TreasurePlacer.h
|
|
|
|
rmg/RmgMap.h
|
|
|
|
rmg/ConnectionsPlacer.h
|
|
|
|
rmg/WaterAdopter.h
|
|
|
|
rmg/TownPlacer.h
|
|
|
|
rmg/WaterProxy.h
|
|
|
|
rmg/WaterRoutes.h
|
|
|
|
rmg/RockPlacer.h
|
|
|
|
rmg/ObstaclePlacer.h
|
|
|
|
rmg/RiverPlacer.h
|
|
|
|
rmg/TerrainPainter.h
|
2017-03-10 18:39:11 +02:00
|
|
|
rmg/float3.h
|
|
|
|
|
2017-06-29 01:03:37 +02:00
|
|
|
serializer/BinaryDeserializer.h
|
|
|
|
serializer/BinarySerializer.h
|
|
|
|
serializer/CLoadIntegrityValidator.h
|
|
|
|
serializer/CMemorySerializer.h
|
|
|
|
serializer/Connection.h
|
|
|
|
serializer/CSerializer.h
|
|
|
|
serializer/CTypeList.h
|
|
|
|
serializer/JsonDeserializer.h
|
|
|
|
serializer/JsonSerializeFormat.h
|
|
|
|
serializer/JsonSerializer.h
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
serializer/JsonUpdater.h
|
2018-08-13 23:48:00 +02:00
|
|
|
serializer/Cast.h
|
2017-06-29 01:03:37 +02:00
|
|
|
|
2018-03-02 12:22:51 +02:00
|
|
|
spells/AbilityCaster.h
|
2017-06-29 01:03:37 +02:00
|
|
|
spells/AdventureSpellMechanics.h
|
|
|
|
spells/BattleSpellMechanics.h
|
2018-03-02 12:22:51 +02:00
|
|
|
spells/BonusCaster.h
|
2017-06-29 01:03:37 +02:00
|
|
|
spells/CSpellHandler.h
|
|
|
|
spells/ISpellMechanics.h
|
2017-07-20 06:08:49 +02:00
|
|
|
spells/Problem.h
|
2018-03-02 12:22:51 +02:00
|
|
|
spells/ProxyCaster.h
|
2017-07-20 06:08:49 +02:00
|
|
|
spells/TargetCondition.h
|
2017-06-29 01:03:37 +02:00
|
|
|
spells/ViewSpellInt.h
|
2013-11-30 13:08:38 +03:00
|
|
|
|
2017-07-20 06:08:49 +02:00
|
|
|
spells/effects/Catapult.h
|
|
|
|
spells/effects/Clone.h
|
|
|
|
spells/effects/Damage.h
|
|
|
|
spells/effects/Dispel.h
|
|
|
|
spells/effects/Effect.h
|
|
|
|
spells/effects/Effects.h
|
|
|
|
spells/effects/EffectsFwd.h
|
|
|
|
spells/effects/Heal.h
|
|
|
|
spells/effects/LocationEffect.h
|
|
|
|
spells/effects/Obstacle.h
|
|
|
|
spells/effects/Registry.h
|
|
|
|
spells/effects/UnitEffect.h
|
|
|
|
spells/effects/Summon.h
|
|
|
|
spells/effects/Teleport.h
|
|
|
|
spells/effects/Timed.h
|
|
|
|
spells/effects/RemoveObstacle.h
|
|
|
|
spells/effects/Sacrifice.h
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
|
2013-01-06 22:30:12 +03:00
|
|
|
AI_Base.h
|
2022-06-28 10:05:30 +02:00
|
|
|
BattleFieldHandler.h
|
2017-06-29 01:03:37 +02:00
|
|
|
CAndroidVMHelper.h
|
|
|
|
CArtHandler.h
|
|
|
|
CBonusTypeHandler.h
|
|
|
|
CBuildingHandler.h
|
|
|
|
CConfigHandler.h
|
|
|
|
CConsoleHandler.h
|
|
|
|
CCreatureHandler.h
|
|
|
|
CCreatureSet.h
|
|
|
|
CGameInfoCallback.h
|
|
|
|
CGameInterface.h
|
|
|
|
CGameStateFwd.h
|
|
|
|
CGameState.h
|
|
|
|
CGeneralTextHandler.h
|
|
|
|
CHeroHandler.h
|
|
|
|
CModHandler.h
|
2013-01-06 22:30:12 +03:00
|
|
|
CondSh.h
|
|
|
|
ConstTransitivePtr.h
|
2017-06-29 01:03:37 +02:00
|
|
|
CPathfinder.h
|
|
|
|
CPlayerState.h
|
|
|
|
CRandomGenerator.h
|
2013-01-06 22:30:12 +03:00
|
|
|
CScriptingModule.h
|
2017-08-30 09:19:54 +02:00
|
|
|
CSkillHandler.h
|
2017-06-29 01:03:37 +02:00
|
|
|
CSoundBase.h
|
|
|
|
CStack.h
|
2013-01-06 22:30:12 +03:00
|
|
|
CStopWatch.h
|
2017-06-29 01:03:37 +02:00
|
|
|
CThreadHelper.h
|
|
|
|
CTownHandler.h
|
2013-11-30 13:08:38 +03:00
|
|
|
FunctionList.h
|
2013-01-06 22:30:12 +03:00
|
|
|
GameConstants.h
|
2017-06-29 01:03:37 +02:00
|
|
|
HeroBonus.h
|
2017-03-10 18:39:11 +02:00
|
|
|
IBonusTypeHandler.h
|
2017-06-29 01:03:37 +02:00
|
|
|
IGameCallback.h
|
2013-01-06 22:30:12 +03:00
|
|
|
IGameEventsReceiver.h
|
2017-06-29 01:03:37 +02:00
|
|
|
IHandlerBase.h
|
2013-01-06 22:30:12 +03:00
|
|
|
int3.h
|
|
|
|
Interprocess.h
|
2017-06-29 01:03:37 +02:00
|
|
|
JsonDetail.h
|
|
|
|
JsonNode.h
|
2022-09-17 13:04:01 +02:00
|
|
|
LoadProgress.h
|
2017-06-29 01:03:37 +02:00
|
|
|
LogicalExpression.h
|
2014-01-30 21:56:31 +03:00
|
|
|
NetPacksBase.h
|
2017-06-29 01:03:37 +02:00
|
|
|
NetPacks.h
|
2018-01-05 19:21:07 +02:00
|
|
|
NetPacksLobby.h
|
2022-09-15 10:06:54 +02:00
|
|
|
ObstacleHandler.h
|
2019-01-15 05:00:00 +02:00
|
|
|
PathfinderUtil.h
|
2017-06-29 01:03:37 +02:00
|
|
|
ResourceSet.h
|
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.
2018-03-17 16:58:30 +02:00
|
|
|
ScriptHandler.h
|
2017-03-10 18:39:11 +02:00
|
|
|
ScopeGuard.h
|
2013-01-06 22:30:12 +03:00
|
|
|
StartInfo.h
|
2017-06-29 01:03:37 +02:00
|
|
|
StringConstants.h
|
2022-06-20 16:39:50 +02:00
|
|
|
Terrain.h
|
2013-01-06 22:30:12 +03:00
|
|
|
UnlockGuard.h
|
|
|
|
VCMIDirs.h
|
|
|
|
vcmi_endian.h
|
2017-06-29 01:03:37 +02:00
|
|
|
VCMI_Lib.h
|
2013-01-06 22:30:12 +03:00
|
|
|
)
|
|
|
|
|
2017-08-15 20:17:00 +02:00
|
|
|
assign_source_group(${lib_SRCS} ${lib_HEADERS})
|
|
|
|
|
2013-01-06 22:30:12 +03:00
|
|
|
add_library(vcmi SHARED ${lib_SRCS} ${lib_HEADERS})
|
2014-07-08 01:50:44 +03:00
|
|
|
set_target_properties(vcmi PROPERTIES COMPILE_DEFINITIONS "VCMI_DLL=1")
|
2019-03-20 21:58:15 +02:00
|
|
|
target_link_libraries(vcmi PUBLIC
|
2022-08-30 16:29:00 +02:00
|
|
|
minizip::minizip ZLIB::ZLIB
|
2022-05-26 07:55:20 +02:00
|
|
|
${SYSTEM_LIBS} Boost::boost Boost::thread Boost::filesystem Boost::program_options Boost::locale Boost::date_time
|
2019-03-20 21:58:15 +02:00
|
|
|
)
|
2013-01-06 22:30:12 +03:00
|
|
|
|
2019-01-19 01:57:54 +02:00
|
|
|
target_include_directories(vcmi
|
|
|
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
PUBLIC ${CMAKE_HOME_DIRECTORY}
|
|
|
|
PUBLIC ${CMAKE_HOME_DIRECTORY}/include
|
2022-08-30 16:29:00 +02:00
|
|
|
PRIVATE ${SDL2_INCLUDE_DIR}
|
2019-01-19 01:57:54 +02:00
|
|
|
)
|
|
|
|
|
2014-07-11 01:09:00 +03:00
|
|
|
if(WIN32)
|
2017-08-15 20:17:00 +02:00
|
|
|
set_target_properties(vcmi
|
|
|
|
PROPERTIES
|
|
|
|
OUTPUT_NAME "VCMI_lib"
|
|
|
|
PROJECT_LABEL "VCMI_lib"
|
|
|
|
)
|
2014-07-11 01:09:00 +03:00
|
|
|
endif()
|
|
|
|
|
2017-08-15 20:17:00 +02:00
|
|
|
if(ANDROID)
|
2017-05-25 19:57:20 +02:00
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
2017-07-04 22:46:49 +02:00
|
|
|
vcmi_set_output_dir(vcmi "")
|
|
|
|
|
2022-06-16 22:02:36 +02:00
|
|
|
enable_pch(vcmi)
|
2014-02-01 16:37:26 +03:00
|
|
|
|
2017-08-12 20:58:09 +02:00
|
|
|
# We want to deploy assets into build directory for easier debugging without install
|
|
|
|
add_custom_command(TARGET vcmi POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/config
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/Mods
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/config ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/config
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/Mods ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/Mods
|
|
|
|
)
|
|
|
|
|
2018-02-09 18:45:50 +02:00
|
|
|
# Update version before vcmi compiling
|
|
|
|
if(TARGET update_version)
|
|
|
|
add_dependencies(vcmi update_version)
|
|
|
|
endif()
|
|
|
|
|
2017-08-12 20:58:09 +02:00
|
|
|
install(TARGETS vcmi RUNTIME DESTINATION ${LIB_DIR} LIBRARY DESTINATION ${LIB_DIR})
|