Commit Graph
17058 Commits
Author SHA1 Message Date
Ivan Savenko d34b4a141e Split map object visit from town building visit. Removes side effects
from building visit
2024-09-04 14:54:09 +00:00
Ivan Savenko 81af66d35b Move visit query to a separate class, remove no longer needed Cast.h 2024-09-04 14:32:36 +00:00
Ivan Savenko 29f87d6407 pass object/hero parameters directly instead of passing query 2024-09-04 14:17:22 +00:00
Ivan Savenko 327ff01471 Implemented explicitly visitable town buildings, e.g. hota mana vortex
Added flag `manualHeroVisit` flag to town building. If this flag is set,
then building will only be activated on click and will not give its
effect on hero recrutiment, hero visit, or new day.

This allows implementing changes to Mana Vortex from HotA
2024-09-03 16:31:07 +00:00
Ivan Savenko ee64928454 Merge pull request #4448 from smanolloff/split-client+develop
Split vcmiclient in two
2024-09-02 15:34:05 +03:00
Simeon Manolov e502853227 address code review comments 2024-08-31 18:14:05 +03:00
Ivan Savenko 39e5ba32f6 Merge pull request #4530 from IvanSavenko/town_fortifications
Support for configurable town fortifications
2024-08-31 13:59:40 +03:00
Ivan Savenko da1f39c6c4 Merge pull request #4541 from kdmcser/develop
update Chinese translation and regenerate translations
2024-08-31 13:53:44 +03:00
Ivan Savenko 71c7beb7a5 Merge pull request #4533 from IvanSavenko/town_growth
Change logic of neutral towns garrisons to match H3
2024-08-31 13:52:36 +03:00
Ivan Savenko 0a72a0a48e Merge pull request #4534 from SoundSSGood/BulkEraseArtifacts
BulkEraseArtifacts network pack
2024-08-31 13:52:26 +03:00
Ivan Savenko 8cfc1c4ee1 Merge pull request #4535 from IvanSavenko/savecompat_bump
Removed save compatibility with 1.4
2024-08-31 13:51:10 +03:00
kdmcser 1212fce62c update Chinese translation 2024-08-31 02:31:52 +08:00
kdmcser d7a504dd86 Regenerated translations 2024-08-31 02:20:07 +08:00
kdmcser 4f6a739a45 update Chinese translation 2024-08-31 02:05:43 +08:00
Ivan Savenko 727cd2e9e1 Merge pull request #4539 from IvanSavenko/crashfix
Crashfixes
2024-08-30 17:19:24 +03:00
Ivan Savenko 7f926fc30e Merge pull request #4478 from Laserlicht/resource_generation
generate assets to file
2024-08-30 15:36:51 +03:00
Ivan Savenko 82afab584c Merge pull request #4526 from vcmi/docs-ios-manual-signing
[docs][iOS] add one more ipa signing option
2024-08-30 15:28:54 +03:00
Ivan Savenko c3e76f19e1 Add workaround for very common crash in BattleAI 2024-08-30 12:25:55 +00:00
Ivan Savenko 01697e4387 Fix player not being marked as defeated on losing all heroes and towns 2024-08-30 12:25:34 +00:00
Ivan Savenko 644d6f4529 Merge pull request #4507 from vcmi/fix-battle-ai
Battle AI: fix firewall, fix haste spellcast evaluation for waits and…
2024-08-30 14:36:05 +03:00
Ivan Savenko 07ce8ae1ab Merge pull request #4538 from kaja47/fix-crash-when-losing
fix crash when computer player loses
2024-08-30 14:16:33 +03:00
K ca12750dc3 fix crash when computer player loses
Changing dwelling's owner to neutral accesses a PlayerState but neutrals
don't have a PlayerState and that leads to crash.
2024-08-30 11:28:56 +02:00
Ivan Savenko 82c37573fa Removed save compatibility with 1.4
All save compatibility checks targeting 1.4 saves have now been removed.
Saves from 1.5 can still be loaded in 1.6

Implemeted few TODO's in serialization that were postponed to avoid
breaking save compatibility in MP for 1.5.X releases.

Fixed missed case for loading black market object from 1.5 saves
2024-08-29 18:51:53 +00:00
SoundSSGood e15ea4fc75 BulkEraseArtifacts network pack 2024-08-29 20:22:08 +03:00
Ivan Savenko 73459876bf Initial garrison of a town should now match H3 logic 2024-08-29 15:46:22 +00:00
Ivan Savenko 7064374d87 Fix visions not working for towns 2024-08-29 15:46:03 +00:00
Ivan Savenko b436290d16 Fix crash on right-clicking a neutral town 2024-08-29 15:45:46 +00:00
Ivan Savenko 21fc80a315 Growth of town garrison in neutral towns now uses H3 logic 2024-08-29 15:22:31 +00:00
Ivan Savenko 9a5bee1eaf Merge pull request #4532 from IvanSavenko/bugfixing
Fixes for recent regressions
2024-08-29 17:16:31 +03:00
Ivan Savenko d0b3bb95b2 Change gamestate initialization order - list of owned objects must be
initialized before connecting towns with visiting heroes, but after
generateion of starting heroes
2024-08-29 13:18:33 +00:00
Ivan Savenko 32ad9c1902 Change ordering of UI elements in main menu to fix hota 1.7 menu 2024-08-29 13:18:33 +00:00
Ivan Savenko 9a2d918360 Fixed mouse wheel in xbrz mode, use mouse position information if
provided by SDL
2024-08-29 13:18:30 +00:00
Laserlicht c6f0f8de03 generate assets only when necessary 2024-08-29 00:37:39 +02:00
Laserlicht f327224d45 remove original resource functionality 2024-08-28 23:44:31 +02:00
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
Ivan Savenko 247be94015 Merge pull request #4502 from IvanSavenko/town_building_config
Moddable town buildings improvements
2024-08-28 17:56:49 +03:00
Ivan Savenko 4c84379110 Open thieves guild if building provides corresponding bonus 2024-08-28 14:04:47 +00:00
Ivan Savenko 408a632002 Deprecate artifact-related building types 2024-08-28 13:50:08 +00:00
Ivan Savenko 55fd7bd7aa Thieves guild information level is now a bonus type 2024-08-28 13:50:07 +00:00
Ivan Savenko a1a194d904 Allow replacing war machine if hero has a different machine in the slot 2024-08-28 13:49:42 +00:00
Ivan Savenko 8ef8ffa5c4 Implemented configurable blacksmith. Deprecated ballistaYard type 2024-08-28 13:49:42 +00:00
Ivan Savenko 175f6716d2 Merge pull request #4518 from IvanSavenko/new_turn_refactor
Refactor new turn processing on server
2024-08-28 16:49:22 +03:00
Andrey Filipenkov 3e6f64d6b6 [docs][iOS] add one more ipa signing option 2024-08-28 16:12:20 +03:00
Ivan Savenko 462aea7e9a Fix build 2024-08-28 13:12:11 +00:00
Ivan Savenko d4ba7e12b0 Fix regressions 2024-08-28 13:03:45 +00:00
Ivan Savenko e90d057296 Tweaks to fow reveal on new turn 2024-08-28 13:03:45 +00:00
Ivan Savenko e5f1d60298 Add save compatibility 2024-08-28 13:03:44 +00:00
Ivan Savenko 37658478fa Move timed events to NewTurnProcessor 2024-08-28 13:03:26 +00:00
Ivan Savenko ce1e0b8875 Moved NewTurn pack generation to NewTurnProcessor 2024-08-28 13:03:24 +00:00
Ivan Savenko 10a9d777c7 Moved mana and movement points refresh to NewTurnProcessor 2024-08-28 13:03:15 +00:00