1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/lib/modding
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
..
ActiveModsInSaveList.cpp Fix #3754, #2316 2024-04-27 13:57:50 +03:00
ActiveModsInSaveList.h Implemented join room dialog 2024-04-23 17:15:59 +03:00
CModHandler.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
CModHandler.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
CModInfo.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
CModInfo.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
CModVersion.cpp Implemented join room dialog 2024-04-23 17:15:59 +03:00
CModVersion.h Implemented join room dialog 2024-04-23 17:15:59 +03:00
ContentTypeHandler.cpp Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
ContentTypeHandler.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
IdentifierStorage.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
IdentifierStorage.h Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
ModIncompatibility.h Fix some 'new' issues reported by Sonar Cloud 2024-05-06 15:33:30 +00:00
ModScope.h Split massive CModHandler class/file into multiple parts: 2023-07-30 22:17:47 +03:00
ModUtility.cpp Split massive CModHandler class/file into multiple parts: 2023-07-30 22:17:47 +03:00
ModUtility.h Split massive CModHandler class/file into multiple parts: 2023-07-30 22:17:47 +03:00
ModVerificationInfo.cpp Fix save compatibility with 1.4 that was broken by artifact costumes 2024-04-28 20:54:33 +03:00
ModVerificationInfo.h Implemented join room dialog 2024-04-23 17:15:59 +03:00