1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/lib/battle
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
..
AccessibilityInfo.cpp BattleAI: fix bait for archers when need to go long way 2024-08-21 22:18:40 +03:00
AccessibilityInfo.h BattleAI: fix bait for archers when need to go long way 2024-08-21 22:18:40 +03:00
AutocombatPreferences.h Comment out unused OH3 options so they do not clutter code suggestions 2023-08-20 19:11:36 +02:00
BattleAction.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
BattleAction.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
BattleAttackInfo.cpp convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
BattleAttackInfo.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
BattleHex.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
BattleHex.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
BattleInfo.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
BattleInfo.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
BattleProxy.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
BattleProxy.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
BattleSide.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
BattleStateInfoForRetreat.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
BattleStateInfoForRetreat.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
CBattleInfoCallback.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
CBattleInfoCallback.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
CBattleInfoEssentials.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
CBattleInfoEssentials.h Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
CObstacleInstance.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
CObstacleInstance.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
CPlayerBattleCallback.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
CPlayerBattleCallback.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
CUnitState.cpp Merge pull request #4504 from Laserlicht/hota_bonus 2024-08-28 14:00:11 +03:00
CUnitState.h remove never used code in CBonusSystemNode 2024-08-25 14:15:21 +02:00
DamageCalculator.cpp Add helper functions for integer division rounding 2024-08-03 13:52:14 +00:00
DamageCalculator.h Extract revenge calculation to separate method 2024-01-10 22:56:26 +01:00
Destination.cpp vcmi: modernize lib/battle 2023-02-16 23:37:19 +03:00
Destination.h vcmi: modernize lib/battle 2023-02-16 23:37:19 +03:00
IBattleInfoCallback.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
IBattleState.cpp Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
IBattleState.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
IUnitInfo.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
PossiblePlayerBattleAction.h Fix alternative actions to support more than 2 actions + simplify logic 2024-07-15 00:41:05 +02:00
ReachabilityInfo.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
ReachabilityInfo.h BattleAI: fix bait for archers when need to go long way 2024-08-21 22:18:40 +03:00
SideInBattle.cpp Explicitly convert identifier to underlying enumeration 2023-11-03 16:03:29 +02:00
SideInBattle.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
SiegeInfo.cpp convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
SiegeInfo.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
Unit.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
Unit.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00