1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-06-11 22:31:57 +02:00

431 Commits

Author SHA1 Message Date
Ivan Savenko bb05dd89e6 Implemented calendar-aware reset for rewardables 2026-06-02 20:07:11 +03:00
Ivan Savenko e0552e79ae Merge branch 'master' into 'develop' 2026-05-20 17:08:27 +03:00
Ivan Savenko de7bfcaa8d Fixes for crashes in 1.7.4 beta
- Fixed crash in MP between 1.7.3 and 1.7.4 on opening exchange window
- Fixed crash if creature with area attack and death blow attacks empty
space (Magog in WoG)
- Fixed crash on formatting of spell effect preview text
- Fixed crash if hero has invalid path (e.g. blocked by another hero)
and player attempts to end turn
- Try to fix crash on opening battle-only mode in some cases(?)
2026-05-17 22:32:31 +03:00
Ivan Savenko 2307d30f99 Fix issues found in review 2026-05-06 18:38:48 +03:00
Ivan Savenko de98e6c39c First attempt at using Lua for actual spell effect 2026-04-30 17:45:10 +03:00
Ivan Savenko 47cdcb6f28 Restore save compatibility with 1.6 saves that have quests 2026-02-20 12:55:52 +02:00
Ivan Savenko 73dc1c54a8 Allow bypassing dependencies for mines in RMG zones 2026-02-15 12:56:22 +02:00
Ivan Savenko 82c38a4324 Fix build and tests, code review 2026-01-28 10:26:39 +00:00
Ivan Savenko bdebf6ab8b Reworked bonus addInfo into more extensible and type-safe form
- addInfo is now named parameters internally
- CAddInfo class renamed to BonusParameters
- parameters are now stored as const shared_ptr in bonus
- parameters now contain variant of all possible types instead of just
integer array
- no changes to existing mods
2026-01-27 18:25:33 +00:00
Ivan Savenko e96fa4b9f1 Add support for testing bonus value via has another bonus limiter 2026-01-27 18:25:07 +00:00
Ivan Savenko d439da322a Merge pull request #6779 from IvanSavenko/rewardable_movement
Add movement points limiter to rewardable objects
2026-01-27 20:23:58 +02:00
Ivan Savenko 749f96f6e1 Allow chaining updaters or propagation updaters 2026-01-27 18:23:09 +00:00
Ivan Savenko f7c1cab99c Add movement points limiter to rewardable objects
Now movement points have same level of functionality/checks as mana
points:

- support for test for movement points in limiter
- support for test for movement points percentage in limiter
- support to block granted movement points to go above hero limit
2026-01-27 18:21:51 +00:00
Ivan Savenko b9368f8406 Merge branch 'beta' into fix_levelup_queries2 2026-01-27 20:09:04 +02:00
Laserlicht 1a5eaee157 implement disabling of tactics 2026-01-25 14:18:20 +01:00
Michał Zaremba 24b987174a Fix level up dialogs (queries) on the very first turn 2026-01-24 13:18:00 +01:00
Laserlicht 3a9899837b Merge branch 'beta' into timer_ui 2026-01-18 02:10:04 +01:00
Laserlicht 36426f4105 movementpoints and battlestate to timer ui 2026-01-17 20:01:10 +01:00
Ivan Savenko 32a4261fc8 Support custom guards in abandoned mine 2026-01-15 21:53:44 +00:00
Ivan Savenko 46b36ddaf8 Implement remaining new properties for creatures in hota h3m 2026-01-15 21:53:06 +00:00
Ivan Savenko e3e0767a56 Merge pull request #6619 from Laserlicht/battlefields
[1.7.2] Battlefield background for different layers + allowing to define named layers
2026-01-10 12:00:01 +02:00
Ivan Savenko 519005d5af Implement UNIT_ADJACENT limiter to allow aura-like effects 2026-01-08 19:00:47 +00:00
Laserlicht 00a3409203 map layer types 2026-01-03 21:07:57 +01:00
Ivan Savenko 7672bea319 Merge pull request #6485 from IvanSavenko/ai_optimize_2
[1.7.2] AI optimizations
2025-12-31 00:14:22 +02:00
Ivan Savenko 61276b0170 Merge branch 'beta' into spell-research-improvements 2025-12-31 00:13:59 +02:00
Ivan Savenko 1251c8e5bc Merge pull request #6522 from IvanSavenko/hota_mapsupport
[1.7.2] Improvements for HotA h3m support
2025-12-31 00:12:38 +02:00
Ivan Savenko 8daae3d234 Remove no longer used code 2025-12-30 17:50:53 +02:00
Ivan Savenko c3cc7e0de3 Refactor CSaveFile to prepare for future changes 2025-12-28 13:34:47 +00:00
Ivan Savenko d06c1f72a5 Slightly better fix for bonuses 2025-12-26 19:33:14 +02:00
Ivan Savenko 8014b05399 Improvements for HotA h3m support
Mostly based on the mysterious island map test results

Added support for:
- Pandoras or map events can now grant movement points
- Pandoras or map events can now specify map difficulties on which these
objects are present
- Timed events and town events can now specify map difficulties on which
these objects are present
- Creature banks now support selection of difficulty preset (number of
guards/reward) instead of random-selection
- Wandering monsters "joins only for money" flag is now supported
- Wandering monsters presence of upgraded stack can now be configured in
map
- Pyramid can now grant specific spell configured in map
- Treasure Chest, Corpse, Sea Chest, Flotsam, Tree of Knowledge can now
grant specific reward instead of randomly selected one
- Treasure Chest, Corpse, Warrior's Tomb, Shipwreck Survivor and Sea
Chest can now grant specific artifact configured in map
2025-12-23 12:38:29 +02:00
Dydzio 66f6a29b62 Change logic of spell research and some of configurable parameters 2025-12-22 16:27:23 +01:00
kdmcser 8fd44a9651 merge develop 2025-12-17 00:33:12 +08:00
kdmcser 86502f58b6 implement HotA map stack count 2025-12-16 23:59:47 +08:00
Laserlicht e27a2ff5bd allow defining second video in campaign 2025-12-15 01:08:48 +01:00
Opuszek 8675e6e91f Allow to add terrain limiter for hero and town instances 2025-12-09 15:50:10 +01:00
Andrej Dudenhefner 8bddd8f4e3 add quick save (F8) / quick load (F9) functionality for single player and hotseat games on adventure map and in combat
- add LobbyQuickLoad pack
- add hotkeys F8, F9 to adventure map and battle
- check whether quick save matches current settings
- ask before quick load
- notify about quick save
- use CResourceHandler for file existence test
- update localization
- externalize buttons to vcmi-extras
2025-12-04 09:16:35 +01:00
Laserlicht afb045ef14 show statistics ingame 2025-11-22 16:46:10 +01:00
Andrej Dudenhefner 497995c11f add BattleEnded pack which happens after BattleResultsApplied and losing heroes are removed 2025-11-14 12:48:46 +01:00
Laserlicht a6ea9be489 Merge branch 'develop' into battleonly 2025-10-28 14:42:27 +01:00
Laserlicht 66f377f14e netpackages 2025-10-25 20:41:39 +02:00
Laserlicht 4d37fe631b battle only basic implementation 2025-10-24 00:54:22 +02:00
Laserlicht 120213509d netpacks for renaming 2025-10-05 02:46:19 +02:00
Laserlicht f5d1657041 make town title editable 2025-10-05 01:49:00 +02:00
Ivan Savenko 8ad9b1d526 Merge pull request #6184 from Laserlicht/mines
Mines configurable
2025-10-04 14:59:59 +03:00
Laserlicht 967283beb6 fix deserializion of ResourceSet for compatibility 2025-10-03 18:27:55 +02:00
Laserlicht 739b165387 fix 2025-10-01 19:07:52 +02:00
Laserlicht 74957bce32 fix for c++ 2011 2025-10-01 10:27:56 +02:00
Laserlicht c72a4b0294 fix mines serializer 2025-10-01 00:46:40 +02:00
Laserlicht 57a49838ec fixed scope 2025-09-30 20:45:38 +02:00
Laserlicht 6c6350ad8b code review 2025-09-21 22:07:57 +02:00