1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/lib/spells/effects
Ivan Savenko 36c1ed670f Support for configurable town fortifications
Removed most of hardcoded checks for fort level or for presence of fort/
citadel/castle buildings.

It is now possible to define which parts of town fortifications are
provided by town buildings

Configuration for H3-like fortifications is provided in
buildingsLibrary.json and will be used automatically by mods as long as
mods have buidings named "fort", "citadel" and "castle".

Alternatively, mods can separately define:
- hitpoints of walls (shared value for all sections)
- hitpoints of central, upper and lower towers (separate values)
- presence of moat
- shooters for each tower (separate values)
2024-08-28 19:42:14 +00:00
..
Catapult.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
Catapult.h vcmi: skill-agnostic ballistics 2023-03-16 16:46:41 +03:00
Clone.cpp Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
Clone.h vcmi: modernize lib/spells/effects 2023-02-08 15:38:26 +03:00
Damage.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
Damage.h vcmi: modernize lib/spells/effects 2023-02-08 15:38:26 +03:00
DemonSummon.cpp Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
DemonSummon.h Block spellcasting if 0 creatures will be raised 2024-04-07 18:50:37 +03:00
Dispel.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
Dispel.h vcmi: modernize lib/spells/effects 2023-02-08 15:38:26 +03:00
Effect.cpp vcmi: modernize lib/spells/effects 2023-02-08 15:38:26 +03:00
Effect.h Removed magical initialization of registry via static variables 2023-04-08 21:29:04 +03:00
Effects.cpp Fix getCasterUnitId 2023-04-13 02:18:12 +04:00
Effects.h vcmi: modernize spell effects v2 2023-02-12 21:23:00 +03:00
EffectsFwd.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
Heal.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
Heal.h vcmi: modernize lib/spells/effects 2023-02-08 15:38:26 +03:00
LocationEffect.cpp vcmi: modernize lib/spells/effects 2023-02-08 15:38:26 +03:00
LocationEffect.h vcmi: modernize lib/spells/effects 2023-02-08 15:38:26 +03:00
Moat.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
Moat.h Implemented 'strict' json support 2024-02-26 12:55:49 +02:00
Obstacle.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
Obstacle.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
Registry.cpp Replace redundant types with auto for the lvalues of template factory functions for smart pointers 2024-01-17 12:50:00 +00:00
Registry.h Removed magical initialization of registry via static variables 2023-04-08 21:29:04 +03:00
RemoveObstacle.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
RemoveObstacle.h vcmi: modernize lib/spells/effects 2023-02-08 15:38:26 +03:00
Sacrifice.cpp Split off some netpack structures into separate files 2023-10-23 13:59:15 +03:00
Sacrifice.h vcmi: modernize lib/spells/effects 2023-02-08 15:38:26 +03:00
Summon.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
Summon.h Block spellcasting if 0 creatures will be raised 2024-04-07 18:50:37 +03:00
Teleport.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
Teleport.h Teleport: can trigger obstacles now 2023-04-13 11:24:19 +03:00
Timed.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
Timed.h Moved MetaString to a new file 2023-06-20 19:37:27 +03:00
UnitEffect.cpp Split off some netpack structures into separate files 2023-10-23 13:59:15 +03:00
UnitEffect.h vcmi: modernize lib/spells/effects 2023-02-08 15:38:26 +03:00