1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/server/battles
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
..
BattleActionProcessor.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
BattleActionProcessor.h Reduce size of Bonus struct from 320 bytes to 296 bytes. 2024-07-22 14:59:31 +02:00
BattleFlowProcessor.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
BattleFlowProcessor.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
BattleProcessor.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
BattleProcessor.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
BattleResultProcessor.cpp PlayerState now stores all objects owned by player 2024-08-28 12:51:27 +00:00
BattleResultProcessor.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00