1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/lib/mapObjects
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
..
CArmedInstance.cpp Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
CArmedInstance.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CBank.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
CBank.h blockingDialog functions: the answer parameter can be negative 2024-08-09 00:28:28 +02:00
CGCreature.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
CGCreature.h blockingDialog functions: the answer parameter can be negative 2024-08-09 00:28:28 +02:00
CGDwelling.cpp All objects that can be owned by player now implement IOwnableObject 2024-08-28 12:51:28 +00:00
CGDwelling.h All objects that can be owned by player now implement IOwnableObject 2024-08-28 12:51:28 +00:00
CGHeroInstance.cpp All objects that can be owned by player now implement IOwnableObject 2024-08-28 12:51:28 +00:00
CGHeroInstance.h All objects that can be owned by player now implement IOwnableObject 2024-08-28 12:51:28 +00:00
CGMarket.cpp Remove marketModes as member 2024-08-27 14:07:00 +00:00
CGMarket.h Remove marketModes as member 2024-08-27 14:07:00 +00:00
CGObjectInstance.cpp Unified income handling, added IOwnableObject interface 2024-08-28 12:40:44 +00:00
CGObjectInstance.h Unified income handling, added IOwnableObject interface 2024-08-28 12:40:44 +00:00
CGPandoraBox.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
CGPandoraBox.h blockingDialog functions: the answer parameter can be negative 2024-08-09 00:28:28 +02:00
CGTownInstance.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
CGTownInstance.h Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
CObjectHandler.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
CObjectHandler.h Remove no longer used serialization methods 2023-11-08 21:27:05 +02:00
CQuest.cpp blockingDialog functions: the answer parameter can be negative 2024-08-09 00:28:28 +02:00
CQuest.h blockingDialog functions: the answer parameter can be negative 2024-08-09 00:28:28 +02:00
CRewardableObject.cpp blockingDialog functions: the answer parameter can be negative 2024-08-09 00:28:28 +02:00
CRewardableObject.h Greatly simplify town buildings logic 2024-08-19 11:47:13 +00:00
IMarket.cpp Remove marketModes as member 2024-08-27 14:07:00 +00:00
IMarket.h Remove marketModes as member 2024-08-27 14:07:00 +00:00
IObjectInterface.cpp blockingDialog functions: the answer parameter can be negative 2024-08-09 00:28:28 +02:00
IObjectInterface.h Unified income handling, added IOwnableObject interface 2024-08-28 12:40:44 +00:00
IOwnableObject.h All objects that can be owned by player now implement IOwnableObject 2024-08-28 12:51:28 +00:00
MapObjects.h Initial implementation for rewardable town building 2023-05-01 00:14:53 +04:00
MiscObjects.cpp All objects that can be owned by player now implement IOwnableObject 2024-08-28 12:51:28 +00:00
MiscObjects.h All objects that can be owned by player now implement IOwnableObject 2024-08-28 12:51:28 +00:00
ObjectTemplate.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
ObjectTemplate.h Code formatting and cleanup 2024-05-17 17:10:29 +00:00
ObstacleSetHandler.cpp Merge pull request #4025 from IvanSavenko/shared_ptr_lib 2024-05-30 19:14:06 +03:00
ObstacleSetHandler.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
TownBuildingInstance.cpp Unified income handling, added IOwnableObject interface 2024-08-28 12:40:44 +00:00
TownBuildingInstance.h Unified income handling, added IOwnableObject interface 2024-08-28 12:40:44 +00:00