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

21380 Commits

Author SHA1 Message Date
Ivan Savenko
f3fd5c05af Merge pull request #6329 from Laserlicht/graphical_fixes
Content aware sliders
2025-11-20 18:25:31 +02:00
Ivan Savenko
ee0c2c0741 Merge pull request #6333 from Olegmods/patch-8
Fixed golems' level
2025-11-20 18:22:32 +02:00
Ivan Savenko
443c24e71b Merge pull request #6332 from Laserlicht/romanian_cp
fix romanian
2025-11-20 18:21:42 +02:00
Olegmods
744be1d4a6 Fixed golems' level
Gold and Diamond golems' level changed from 4 and 5 to 5 and 6.
https://heroes.thelazy.net/index.php/Diamond_Golem and some other source I found state that the ones from that PR are correct
2025-11-19 22:34:52 +03:00
Laserlicht
e68d2ad775 fix romanian 2025-11-19 19:58:47 +01:00
Laserlicht
2089ab1f85 check enableUiEnhancements flag 2025-11-19 00:55:09 +01:00
Laserlicht
3b1d5a7b1b shorten text 2025-11-19 00:05:31 +01:00
Laserlicht
79637c5eea viewport aware sliders 2025-11-19 00:05:31 +01:00
Ivan Savenko
2db925347e Merge pull request #6316 from mrhaandi/battle-ended
Add BattleEnded pack
2025-11-18 17:50:35 +02:00
Laserlicht
4dc2033a7e vertical align title in CObjectListWindow if there is no header icon 2025-11-18 01:11:45 +01:00
Ivan Savenko
413eeed1da Merge pull request #6323 from MichalZr6/haven_bonus_limit_fix
Prevent crash when opening stack's info window in current Haven town fort window
2025-11-17 20:49:27 +02:00
Ivan Savenko
7b4a7799cc Merge pull request #6301 from Laserlicht/battleonly2
tab support / add artifacts, skills, warmachines & spellbook for battle mode
2025-11-17 20:38:51 +02:00
Ivan Savenko
97edd4936b Merge pull request #6307 from mrhaandi/battle-refactor
Refactor batte move / attack logic
2025-11-17 20:27:03 +02:00
Ivan Savenko
6f1c2e7d94 Merge pull request #6319 from Laserlicht/segfault
fix segfault edge case in CObjectListWindow
2025-11-17 20:25:51 +02:00
Ivan Savenko
f99b98c26b Merge pull request #6325 from Laserlicht/image_from_Def
image from def also for ImageLocator
2025-11-17 20:22:58 +02:00
Ivan Savenko
ce95236123 Merge pull request #6322 from Laserlicht/teleport
teleport cheat
2025-11-17 08:52:47 +02:00
Ivan Savenko
fe22424a0a Merge pull request #6311 from MichalZr6/fix_word_wrap
Prevent mid-word wrapping in component captions (artifact names)
2025-11-17 08:51:29 +02:00
Ivan Savenko
3ff797d8a0 Merge pull request #6320 from Laserlicht/romainan-fix
fix romanian encoding
2025-11-17 08:50:47 +02:00
Laserlicht
cad21dd627 image from def also for ImageLocator 2025-11-17 00:15:54 +01:00
Michał Zaremba
6ee1e7a5c7 Prevent crash when opening stack's info window in fort 2025-11-16 16:08:27 +01:00
Laserlicht
62c3c485c9 show also z coordinate in tooltip 2025-11-16 13:48:06 +01:00
Laserlicht
4c0b652320 add teleport cheat 2025-11-16 13:47:27 +01:00
Laserlicht
2c729c32d4 fix romanian encoding 2025-11-14 20:55:26 +01:00
Laserlicht
0aabc0947d fix segfault edge case in CObjectListWindow 2025-11-14 20:21:04 +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
Michał Zaremba
c4893baf79 Fix word wrap 2025-11-14 11:08:27 +01:00
Andrej Dudenhefner
e72dcce8ba refactor logic to CBattleInfoCallback and leave UI in BattleFieldController, BattleActionsController
- move fromWhichHexAttack to CBattleInfoCallback
- add toWhichHexMove (unifying incoherent duplicates)
- add battleGetOccupiableHexes
- add battleCanAttackHex for spatial attack check
- add battleCanAttackUnit for non-spatial attack check
- add headDirection to Unit (removing destShiftDir from CStack)
- remove redundant game logic from selectAttackDirection
- remove redundant game logic from BattleFieldController and BattleActionsController
- fix no consideration for double-wide tail attack in BattleFlowProcessor
- fix #6302 wrong moat stopping condition
- throw exception on attacker nullptr in battleCanAttackHex, fromWhichHexAttack
- safer actionIsLegal on attack, move
- remove redundant canStackMoveHere from ui code
- throw exception on nullptr unit in battleGetOccupiableHexes
- ensure activeStack in redrawBackgroundWithHexes
- test point validity in selectAttackDirection
2025-11-13 09:15:56 +01:00
Laserlicht
54bc5c96df code review: big lambdas to function & simplify sort 2025-11-12 19:59:46 +01:00
Ivan Savenko
81db5c7cf4 Merge pull request #6286 from GeorgeK1ng/backpack_sort
Enable backpack sorting in both ways
2025-11-12 16:34:44 +02:00
Ivan Savenko
6ecd6b98f4 Merge pull request #6296 from mrhaandi/fix-unit-surrounded
Fix violated assert(direction != BattleHex::NONE)
2025-11-12 16:34:05 +02:00
Ivan Savenko
564e0c4dea Merge pull request #6257 from Opuszek/fixes_mapeditor_crash_when_changing_terrain_beyond_map
Fixes mapeditor crashing when user changes terrain beyond map
2025-11-12 16:28:59 +02:00
Ivan Savenko
6be02f514b Merge pull request #6306 from MichalZr6/romanian_translation_update
Romanian translation update uploaded by MoWoau on Discord
2025-11-12 16:27:51 +02:00
Ivan Savenko
7f2ca6977e Merge pull request #6308 from mzsergiu/develop
Initial translation in Romanian
2025-11-12 16:27:30 +02:00
Ivan Savenko
c254801c17 Merge pull request #6310 from MichalZr6/enable_romanian_translation
Enable Romanian language in launcher
2025-11-12 16:27:18 +02:00
Michał Zaremba
a71848bb3a Enable Romanian lang in launcher 2025-11-11 21:14:40 +01:00
Andrej Dudenhefner
3b68389d67 extend isMeleeAttacker() == false to all war machines 2025-11-11 19:55:39 +01:00
Andrej Dudenhefner
7c4b7aa3f0 Move isMeleeAttacker to Unit 2025-11-11 19:38:48 +01:00
Andrej Dudenhefner
31c093baae Remove condition that a unit can always attack itself 2025-11-11 19:38:48 +01:00
Andrej Dudenhefner
3b72a74161 Add isMeleeAttacker to Unit 2025-11-11 19:38:47 +01:00
Andrej Dudenhefner
7161ce858e Consider wide units (avoiding self attack trouble) 2025-11-11 19:38:47 +01:00
Andrej Dudenhefner
8c713f73c1 Fix violated assert(direction != BattleHex::NONE) in BattleFieldController::fromWhichHexAttack when unit surrounded 2025-11-11 19:38:47 +01:00
Ivan Savenko
4d16a8d4fb Merge pull request #6262 from MichalZr6/small_fixes
Battle fixes: Sacrifice targeting, First Aid Tent possible actions. GUI: cursor init stall fix
2025-11-11 20:25:59 +02:00
Ivan Savenko
eb12bb60ec Merge pull request #6303 from Laserlicht/haptic_spellbook
add haptic feedback to spellbook
2025-11-11 20:13:06 +02:00
Ivan Savenko
53c44f3d3d Merge pull request #6304 from Laserlicht/graphical_fixes
graphical fixes
2025-11-11 20:12:39 +02:00
MoWoau
8e714342bb Initial translation in Romanian 2025-11-11 17:01:19 +02:00
Michał Zaremba
0e898d38c4 Update Romanian launcher and mapeditor translations 2025-11-11 00:09:30 +01:00
Michał Zaremba
bbc2189984 Fix Sacrifice spell 2025-11-10 23:22:36 +01:00
Michał Zaremba
d01cecdaca Initialize cursor currentFrame to 0 to avoid stall 2025-11-10 23:22:36 +01:00
Laserlicht
b2f7af4afb changed case for consistency 2025-11-10 19:45:40 +01:00
Laserlicht
8fcd5be977 allow to type 0 into textbox for unit amount (that we can input numbers with 1 digit) 2025-11-09 20:40:36 +01:00