1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/lib/networkPacks
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
..
ArtifactLocation.h End of battle BulkMoveArtifacts 2024-07-09 14:27:04 +03:00
BattleChanges.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
Component.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
EInfoWindowMode.h Split off some netpack structures into separate files 2023-10-23 13:59:15 +03:00
EntityChanges.h Fix file name in header 2024-03-08 16:32:40 +02:00
EOpenWindowMode.h Split off some netpack structures into separate files 2023-10-23 13:59:15 +03:00
NetPacksBase.h Remove type registration from library pack applying 2024-08-26 19:48:46 +00:00
NetPacksLib.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
NetPackVisitor.h Removed no longer used netpacks 2024-08-14 14:13:50 +00:00
ObjProperty.h Moved banks randomization to server-side with client netpack 2024-07-16 13:13:39 +00:00
PacksForClient.h Fix build 2024-08-28 13:12:11 +00:00
PacksForClientBattle.h Remove type registration from library pack applying 2024-08-26 19:48:46 +00:00
PacksForLobby.h Merge branch 'develop' into handicap 2024-08-01 21:39:40 +02:00
PacksForServer.h basic support for bank 2024-08-04 15:44:57 +02:00
SetRewardableConfiguration.h Fix build 2024-08-26 20:06:36 +00:00
SetStackEffect.h Fix build 2024-08-26 20:06:36 +00:00
StackLocation.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
TradeItem.h sacrifice routine 2024-01-27 23:01:57 +02:00