1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00
Commit Graph

20612 Commits

Author SHA1 Message Date
Ivan Savenko
2199e90520 Merge pull request #5913 from Laserlicht/hd-settinh
Hd setting
2025-07-14 12:36:41 +03:00
Ivan Savenko
5aeb06c319 Try to fix freeze on battle opening spell 2025-07-14 12:34:55 +03:00
Ivan Savenko
87555c600d Json validation for battle effects 2025-07-14 12:30:50 +03:00
Ivan Savenko
18a0a5a4d6 Updated schema to validate adventure map spells 2025-07-14 12:01:42 +03:00
Ivan Savenko
51408cccd8 Update docs 2025-07-14 11:26:41 +03:00
Laserlicht
2607767ab7 revert algoritm on optimized 2025-07-14 01:40:56 +02:00
Ivan Savenko
f58d08e563 Support for banned game entities in random map templates
The following entities can now be banned in a random map template
definition:
- Hero
- Artifact
- Spell
- Secondary skill

The ban follows the same rules as banning via the map settings in the
map editor.

It is also now possible to bypass dependencies and access identifiers
from mods that are not dependencies when defining:
- Banned entities in random map templates
- the chance of a hero class appearing in a tavern of a specific faction
- the chance of a spell appearing in a mage guild of a specific faction
- the chance of a hero class receiving a secondary skill

For this to work, the identifier must be specified in full, e.g.
`modName:objectName`. If the specified mod is not active, the game will
silently ignore this entry.

This behaviour is not affected by mod load order. It is possible to use
this format to access a mod that has not yet been loaded.
2025-07-14 00:18:11 +03:00
Ivan Savenko
a0a99d7311 Fix build, fix sonar 2025-07-13 23:03:45 +03:00
Laserlicht
be56d6eff4 optimize running the algorithms on smaller image 2025-07-13 15:13:33 +02:00
Laserlicht
1cada2ba1e using box blur & parrallelism to speed up 2025-07-13 14:43:06 +02:00
Laserlicht
448a97995c use tbb 2025-07-13 12:57:01 +02:00
Laserlicht
7677791217 sonarcloud 2025-07-12 14:30:58 +02:00
Laserlicht
e43df04ae1 better outline matching H3 2025-07-12 14:29:11 +02:00
Laserlicht
f0c24c0ffa fixing some sonar cloud issues 2025-07-12 13:23:46 +02:00
Laserlicht
2f00524439 dont cut overlays & shadows 2025-07-12 00:45:49 +02:00
Laserlicht
3c3eebb9d4 docs 2025-07-11 23:44:31 +02:00
Laserlicht
79dead4ad6 fix 2025-07-11 23:03:46 +02:00
Laserlicht
7eae917497 basic algorithm 2025-07-11 22:50:16 +02:00
Laserlicht
5057609078 fix glitch with small queue 2025-07-11 20:24:47 +02:00
Laserlicht
a6f95433a2 fix 2025-07-11 20:05:16 +02:00
Ivan Savenko
246010c13e Update docs, fix inconsistencies between config & code 2025-07-11 19:20:53 +03:00
Ivan Savenko
b1aff17e82 Remove hardcoded checks for town portal from AI code 2025-07-11 18:03:18 +03:00
Ivan Savenko
f51c7c5c28 Removed hardcoded AI logic for Water Walk and Fly spell 2025-07-11 17:38:03 +03:00
Ivan Savenko
b0c511149d Removed hardcoded checks for Summon Boat spell 2025-07-11 17:11:01 +03:00
Ivan Savenko
7a1ede1e38 Adventure spell API refactoring to ease use by AI 2025-07-11 16:47:37 +03:00
Ivan Savenko
55bd4bc8bf Support for custom cursors for adventure map spells 2025-07-11 16:06:21 +03:00
Ivan Savenko
a53aadf53a Remove unused default cursor 2025-07-11 12:25:40 +03:00
Laserlicht
03870ee28a Hd setting 2025-07-11 11:11:50 +02:00
Ivan Savenko
5ada2d19e1 UI now shows spell range from config 2025-07-11 12:06:01 +03:00
Opuszek
28e4e6c8cb Clean 2025-07-10 18:06:52 +02:00
Opuszek
709f456ef5 Fixes mirror spell reflecting berserk 2025-07-10 18:02:39 +02:00
Opuszek
e9f0ffed88 Make pass/force action spells take effect immediately after being reflected on an active unit 2025-07-10 18:02:39 +02:00
Opuszek
8e6af8ed78 refactor BattleFlowProcessor 2025-07-10 18:02:28 +02:00
Ivan Savenko
79f3126c63 (somewhat) configurable adventure map spells
- All adventure map spells have most of their parameters in json.
- Parameters of adventure map spells can now be defined separately per
each mastery level.
- It is now possible to add a new spell that will have effect similar to
H3 adventure map spell
2025-07-10 15:55:41 +03:00
Ivan Savenko
0d9fd09a6d Merge pull request #5908 from dydzio0614/commanders_fix
Fix commanders config
2025-07-10 15:55:05 +03:00
Ivan Savenko
d3263a9a26 Merge pull request #5905 from IvanSavenko/sonar
Fix some sonar warnings and convert formatting from spaces to tabs
2025-07-10 15:54:40 +03:00
Laserlicht
8ae7b96bba fix town hints 2025-07-10 01:53:22 +02:00
Laserlicht
5f9cba59bc town hints 2025-07-10 01:46:06 +02:00
Laserlicht
2f462ec88a mepeditor custom objects 2025-07-09 22:35:37 +02:00
Dydzio
8ab0dd1605 Fix commanders config 2025-07-09 22:34:03 +02:00
Laserlicht
eaf1e11045 add banned objects to mapeditor 2025-07-09 22:18:55 +02:00
Laserlicht
5c20e2bec7 add to translation 2025-07-09 20:03:27 +02:00
Ivan Savenko
e12765dca0 Fix sonar warnings, convert spaces -> tabs 2025-07-09 17:52:51 +03:00
Ivan Savenko
ac06f3d557 Merge pull request #5897 from Opuszek/fix_magic_mirror_spell
Fix magic_mirror spell
2025-07-09 12:37:33 +03:00
Ivan Savenko
5caf43a63c Merge pull request #5900 from IvanSavenko/bonus_limiters
Bonus limiters refactoring
2025-07-09 11:12:11 +03:00
Ivan Savenko
09ac0f1806 Merge pull request #5851 from Laserlicht/max_range_spell
max range for spell cast
2025-07-09 11:05:37 +03:00
Ivan Savenko
97db95a3ab Merge pull request #5904 from Laserlicht/glitch
fix graphical glitch
2025-07-09 11:05:14 +03:00
Ivan Savenko
e3be6cc513 Merge pull request #5892 from Laserlicht/spell_school
custom spell schools in spell book
2025-07-09 11:04:27 +03:00
Ivan Savenko
b3c20d30e5 Merge pull request #5903 from Laserlicht/bonus_hide
Hide bonus from creature window
2025-07-09 11:03:21 +03:00
Ivan Savenko
c0145bad58 Merge pull request #5898 from IvanSavenko/clang
Add clang-tidy and clang-format configuration
2025-07-09 11:02:40 +03:00