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

885 Commits

Author SHA1 Message Date
Ivan Savenko 5247567c76 Merge pull request #7093 from xiaohanzhang/issue-7083
Fix crash when recruit hero carry a stale instance name
2026-06-02 22:00:24 +03:00
Ivan Savenko 8ea357b22f Merge pull request #7397 from Laserlicht/fix_wiki
wiki improvements
2026-06-01 00:56:45 +03:00
Laserlicht 1210d07fa4 Add expansion to wiki 2026-05-31 01:15:04 +02:00
Ivan Savenko 8eb01785cf Move CSpell into a separate file 2026-05-26 19:21:11 +03:00
Ivan Savenko 10ef7a829c Support for arbitrary tags for skills
Allows defining custom tags for skills, and testing for them later when
rolling for skills in randomization.

Existing flags were converted to tags.

List of predefined tags:
- `special` - skill is banned by default
- `onlyOnWaterMap` - skill is banned on random maps without water
- `wisdom` - for guaranteed rolls of Wisdom on levelup
- `spellSchool` - for guaranteed rolls of spell schools on levelup
- `bannedForUniversity` - to exclude skill from selection by University
- `bannedForWitchHut` - to exclude skill from selection by Witch Hut
- `bannedForScholar` - to exclude skill from selection by Scholar
(unused in H3)
2026-05-25 19:56:49 +03:00
Ivan Savenko e0552e79ae Merge branch 'master' into 'develop' 2026-05-20 17:08:27 +03:00
George King 638fd654ea Merge pull request #7311 from GeorgeK1ng/map_format
[1.7.4] Improve WoG map support
2026-05-11 10:43:55 +03:00
Ivan Savenko 1e5836e127 Merge pull request #7275 from Opuszek/map_editor_add_disposed_heroes_selector
Map editor add disposed heroes selector
2026-05-01 09:43:55 +03:00
Ivan Savenko 3ab30dbb4d Merge branch 'vcmi/beta' into 'vcmi/develop' 2026-04-30 16:43:21 +03:00
Opuszek adab940f4f Adds disposed heroes selector to map editor 2026-04-27 19:20:25 +02:00
Ivan Savenko c59f3bd86f Attach instance bonuses to newly assembled combined arts 2026-04-23 17:25:06 +03:00
Ivan Savenko 1a0c8bf8d9 Merge branch 'vcmi/beta' into 'vcmi/develop' 2026-03-31 23:05:13 +03:00
Tomasz Zieliński 42b105eae0 Fix SonarQube warnings 2026-03-30 10:44:05 +02:00
Tomasz Zieliński 1754173ee0 Do not allow multiple structure sets and animal sets in a biome 2026-03-30 10:30:51 +02:00
Tomasz Zieliński 9ac4377402 Reduce max number of sets per biome to 7 2026-03-30 08:25:13 +02:00
Tomasz Zieliński 30c9d8551e Do not repeat 10 last obstacle templates 2026-03-29 19:28:13 +02:00
Ivan Savenko 5d6cfc366b Fix crash on accessing VCMI campaign inside .zip archive
Fixes cases where game would try to access file on real filesystem for
VCMI campaigns files that are actually located inside .zip archive.

Made search for other usages of last_write_time access, don't see any
other similar cases left
2026-03-28 20:51:27 +02:00
Boris Nagaev b05c0f8e6d Normalize local relative include directives
Normalize quoted local relative include directives to remove redundant
path segments while preserving relative includes.

This applies the normalizer across the tree and updates 108 includes in
64 files, including cases where paths inside lib/* redundantly used
../../lib/... and now correctly use ../... .

These paths compiled before because include resolution normalized them,
but they were longer and harder to audit.
2026-03-26 20:15:25 -05:00
Xiaohan Zhang 5bf9dcec09 Fix crash when recruit hero carry a stale instance name
https://github.com/vcmi/vcmi/issues/7083
2026-03-15 02:01:57 -04:00
Ivan Savenko 73fa2fd557 Fix regression 2026-02-20 14:02:12 +02:00
Ivan Savenko e700f48ab3 Fix crash on starting HotA campaign scenario with invalid header data 2026-02-20 12:57:29 +02:00
Ivan Savenko 2a9d46bd8c Fix loading of hordes as starting bonus in campaigns 2026-02-17 13:48:04 +02:00
Ivan Savenko 1ef1c5fe6c Do not report adventure map .def's as missing if .json exists 2026-02-15 12:56:45 +02:00
Ivan Savenko bd60bc8233 Add workaround for crash on loading hota 1.8 map without hota 1.8 2026-02-15 12:54:32 +02:00
Laserlicht 0dd793abe3 fix hero name 2026-02-11 21:29:46 +01:00
Ivan Savenko b1a14436e5 Fix crash on deleting map with combined artifacts 2026-02-09 17:47:06 +02:00
Ivan Savenko d89ca14c9e Add quick removal of map objects from UI. Fixes freezes on hero moveemnt 2026-02-09 17:44:30 +02:00
Laserlicht 152b50fb64 remove global var 2026-02-07 21:00:14 +01:00
Laserlicht af65ce28bb fix map editor string registration 2026-02-03 02:13:08 +01:00
Ivan Savenko 20a379f740 Fixes for issues reported by Sonar 2026-02-01 15:31:36 +02:00
Laserlicht 9b33f81bd6 fix sonar 2026-01-31 20:15:46 +01:00
Laserlicht 7d489c093b fix vmap translation 2026-01-31 18:50:36 +01: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 d88ac39774 Merge pull request #6789 from Laserlicht/camp_fixes
[1.7.2] campaign fixes
2026-01-25 16:32:25 +02:00
Ivan Savenko e6e7a9c8e0 Merge pull request #6781 from MichalZr6/h3c_and_h3m_converters_fix
[Mapeditor] H3c, h3m converters and Campaign Editor fixes
2026-01-25 11:10:36 +02:00
Laserlicht c437378104 fix h3c convert translation & disallow to save empty campaign 2026-01-25 00:45:08 +01:00
Michał Zaremba 0110a872ab Fix crash for h3m and h3c converters 2026-01-24 17:10:06 +01:00
Ivan Savenko 474d6487b9 Fix Trapper Lodge docs & parsing of Sea Barrel objects from HotA 2026-01-22 23:18:57 +00:00
Ivan Savenko 7faf3a38d1 Merge pull request #6755 from IvanSavenko/save_modlist
[1.7.2] Relax mod compatibility strictness when loading saves
2026-01-20 21:20:17 +02:00
Ivan Savenko b4581bd729 Fix on-map configuration of hota-only objects 2026-01-19 19:25:43 +00:00
Ivan Savenko db608e43ed Relax mod compatibility strictness when loading saves
It is now possible to load saves made with different configuration of
submods, for example after mod update.

This is mostly to prevent save breakage for like half of our players
when 1.7.2 & hota update with Bulwark is out

Same list of "main" mods is still required, however submods can now be
rearranged if desired. In theory we can relax this requirement further,
but for now it is better to play it safe and see how this version will
work out.

Disabling submod that adds new game entities will break save as before,
and in case of disabling towns/heroes will hide these saves from save
list. Othervice, attempt to load such save will result in error mid-
load. Submods that are graphical-only or balance-only should be possible
to disable.

Enabling submods with new objects should now be possible, but in general
new objects will be considered to be banned since list of (for example)
allowed heroes is generated on map start, so heroes added mid-game will
be considered as banned and won't appear in taverns
2026-01-19 17:06:33 +00:00
Ivan Savenko 605477304f Add docs for preconfigured map objects, cleanup corresponding code 2026-01-19 05:57:17 +00:00
Ivan Savenko faec379adc Fix crash on loading previously generated random map 2026-01-18 14:34:49 +00:00
Ivan Savenko 42cbfd3e04 Merge pull request #6608 from IvanSavenko/hota_mapsupport
[1.7.2?] More improvements for hota h3m support
2026-01-18 00:52:25 +02:00
Ivan Savenko 825c60552c Fix issues with map support discovered after testing 2026-01-17 11:51:07 +00:00
Ivan Savenko bbb54f3868 Merge pull request #6691 from Laserlicht/vmap_translation
[1.7.2] VMAP translation
2026-01-16 12:38:53 +02:00
Ivan Savenko 77972858d0 Fix build 2026-01-15 23:30:03 +00:00
Ivan Savenko 40072e8e72 Cleanup Hota 1.8 h3m support 2026-01-15 22:21:54 +00:00
Ivan Savenko 3b42e0a96e Support for parsing hota 1.8 maps 2026-01-15 22:21:54 +00:00
Ivan Savenko 3552261d3c Fix initialization of creture banks with random preset on hota maps 2026-01-15 22:21:54 +00:00