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
Laserlicht
5ba4cb8270 fix small res 2025-07-08 22:21:03 +02:00
Laserlicht
7055e13059 fix second glitch in upper area (under lists) 2025-07-08 22:15:31 +02:00
Laserlicht
c26edf8963 fix graphical glitch 2025-07-08 21:57:21 +02:00
Laserlicht
3b63b837cc fix 2025-07-08 21:47:03 +02:00
Opuszek
7135005d89 fix problems 2025-07-08 16:20:09 +02:00
Laserlicht
07a62e28b9 tab 2025-07-08 14:20:15 +02:00
Ivan Savenko
4af7949571 Bonus limiters refactoring
- Split massive `parseLimiter` method in smaller chunks
- Added alternative format for limiters with named parameters instead of
unclear `parameters` entry that often leads to bugs in mods. Old format
is still available.
- Added detailed validation for limiter format
- Converted vcmi json's to use new format
- Removed parameter-less `CREATURE_FACTION` and `SAME_FACTION` limiter.
They are unused in mods and have unclear use-case that can be replaced
by other limiters
- Expanded documentation on limiter types

All mods that were supported before should still be supported
2025-07-08 13:01:08 +03:00
Laserlicht
cf32f00472 hide bonus 2025-07-08 11:59:16 +02:00
Laserlicht
ca8cfaf0ad Merge branch 'develop' into max_range_spell 2025-07-08 11:36:23 +02:00
Laserlicht
b6e8731329 code review 2025-07-08 10:34:11 +02:00
Laserlicht
c562aff7d2 translation / 6 slots for big book 2025-07-08 10:11:17 +02:00
Opuszek
00d5c3bca1 Update lib/spells/BattleSpellMechanics.cpp
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2025-07-08 10:04:36 +02:00
Opuszek
c78e8aa69f Update lib/spells/BattleSpellMechanics.cpp
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2025-07-08 10:04:23 +02:00
Opuszek
1393ac0420 Update lib/spells/BattleSpellMechanics.cpp
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2025-07-08 10:02:48 +02:00
Opuszek
7fc25319ee Update lib/spells/BattleSpellMechanics.cpp
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2025-07-08 10:02:37 +02:00
Opuszek
4eaa337eb3 Update lib/spells/BattleSpellMechanics.cpp
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2025-07-08 10:00:27 +02:00
Laserlicht
a37f918a15 code review 2025-07-08 09:57:03 +02:00
Ivan Savenko
46072a1d60 Merge pull request #5896 from IvanSavenko/code_reorganize
Split large source files into smaller files per 1 class
2025-07-08 10:47:13 +03:00
Ivan Savenko
fb8535d1cf Merge pull request #5882 from Laserlicht/save_stat
Statistics in highscore screen
2025-07-08 10:21:02 +03:00
Ivan Savenko
40f7de1342 Merge pull request #5889 from IvanSavenko/bonus_fixes
Fixes for bonus system
2025-07-08 10:05:38 +03:00
Ivan Savenko
0c037c6992 Merge pull request #5890 from IvanSavenko/battle_layout_fix
Tweaks for adaptive battle window UI
2025-07-08 10:05:27 +03:00
Ivan Savenko
f76b2efee6 Merge pull request #5894 from IvanSavenko/army_swap_fix
Armies swap will now maintain unit ordering
2025-07-08 10:05:18 +03:00
Ivan Savenko
980ffa591e Merge pull request #5893 from IvanSavenko/event_fix
Fix events on .vmap's not activating on hero visit
2025-07-08 10:05:10 +03:00
Laserlicht
9c101af161 object selector 2025-07-07 21:17:04 +02:00
Laserlicht
848f0aa9be object selector 2025-07-07 21:16:06 +02:00
Opuszek
94ad9d536b Update lib/spells/BattleSpellMechanics.cpp
Fixes a lambda's captured values in BattleSpellMechanics.

Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2025-07-07 21:11:57 +02:00
Opuszek
f7bd9de59f fixes formatting 2025-07-07 21:00:42 +02:00
Ivan Savenko
95bc827f1b Add clang-tidy and clang-format configuration 2025-07-07 21:37:27 +03:00
Ivan Savenko
4c2d67eb45 Fix build 2025-07-07 20:58:53 +03:00
Ivan Savenko
33431adb27 Apply formatting on changed files 2025-07-07 19:19:17 +03:00
Ivan Savenko
8721bdd728 Split CCreatureSet file on .h/.cpp per class basis 2025-07-07 19:12:31 +03:00
Opuszek
c472427d8c Fix magic_mirror spell 2025-07-07 18:09:23 +02:00
Ivan Savenko
2ad186130f Split MapDefines file on .h per class basis 2025-07-07 18:16:42 +03:00
Ivan Savenko
ddff11184a Split AdventureSpellMechanics file on .h+.cpp per class basis 2025-07-07 17:28:16 +03:00
Ivan Savenko
5932e67568 Merge pull request #5875 from Laserlicht/patch-1
Fix AssetGenerator
2025-07-07 13:49:14 +03:00
Ivan Savenko
ce4e37f2d9 Armies swap will now maintain unit ordering 2025-07-07 13:45:34 +03:00
Ivan Savenko
4fc63427b9 Fix events on .vmap's not activating on hero visit 2025-07-07 12:41:45 +03:00
Laserlicht
23301b99dd fix 2025-07-07 03:47:29 +02:00
Laserlicht
e224ef73ff docs 2025-07-07 03:42:23 +02:00
Laserlicht
e9c250c1f8 update docs 2025-07-07 03:32:21 +02:00
Laserlicht
3e6162a37a custom spell schools in spell book 2025-07-07 03:29:27 +02:00
Ivan Savenko
cdf7230da6 Tweaks for adaptive battle window UI
Now quick spell/actions windows have a priority over info windows (timer
/ hero / unit) if there is not enough space for both.

This means that:
- quick actions window can now be enabled if screen is at least 900px-
wide (and not 1050px)
- info windows now account for quick action window presence. If quick
actions window is active, info windows will be placed inside battle
window if screen is below 1050px wide

This makes it possible to use quick actions window in most resolutions,
for example - in 16x10 screens with maxed out resolution scaling.

No changes in actual window layout.
2025-07-06 18:20:34 +03:00
Ivan Savenko
e2aac34e5b Added COMBAT_MANA_BONUS to Skyship, updated docs 2025-07-06 17:19:41 +03:00
Ivan Savenko
200850f56f Add COMBAT_MANA_BONUS for Skyship 2025-07-06 15:36:51 +03:00
Ivan Savenko
9070db4a96 Garrisoned hero is now attached to townAndVis node, not to town itself 2025-07-06 14:39:57 +03:00
Ivan Savenko
d03d096aee Merge pull request #5877 from Laserlicht/panel_battle
remove border in battle
2025-07-06 14:37:58 +03:00
Ivan Savenko
56b071004f Fix fear immunity on Azures 2025-07-06 14:27:24 +03:00
Laserlicht
2189b8a8b6 fix timer and background 2025-07-06 01:17:33 +02:00
Laserlicht
eecc3ce632 gap-less layout 2025-07-06 00:52:57 +02:00
Ivan Savenko
ee72338c4d Add check for invalid map objects edits (e.g. dwellings) in mods 2025-07-05 19:49:16 +03:00