1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-08 22:26:51 +02:00
Commit Graph

18828 Commits

Author SHA1 Message Date
a0c0496784 fix shadow hex 2024-12-09 20:27:39 +01:00
1bf55958fb use QVector<QPair<>> 2024-12-09 20:16:21 +01:00
c5eb285a08 Merge branch 'beta' into map_editor_open_recent-v2 2024-12-09 16:51:07 +02:00
31058854c5 Fixes following review. 2024-12-09 15:09:56 +01:00
ddb5e7670b Polish translation update 2024-12-09 15:09:56 +01:00
f56681d521 Removed weird logic that prevented AI from casting spells.
What was the rationale? AI loses fights with full Mana that it could easily have won otherwise. I just removed that weird logic and now it uses it's mana and wins.
2024-12-08 21:43:17 +01:00
2d94246174 fix shortcut modifier 2024-12-08 21:14:51 +01:00
31e4937a8c Editing hero primary skill in map editor should not be influenced by artifacts 2024-12-08 17:49:41 +01:00
e2f61ead5b fix automatic button 2024-12-08 15:21:08 +01:00
b148994aa9 fix iterating QHash 2024-12-08 14:51:15 +01:00
726f22043f use qhash 2024-12-08 13:39:45 +01:00
04987eef5c Merge pull request #5051 from IvanSavenko/hero_removal_fix
Remove object from owned objects before resetting owner
2024-12-08 14:07:23 +02:00
47427df767 add registy entry for localized variant of H3 2024-12-08 12:41:15 +01:00
7a5c311d64 Revert "Fix crash"
This reverts commit 4ff7516a58.
2024-12-08 12:34:14 +01:00
ccc0db6d8d Merge branch 'pr/5051' into develop 2024-12-08 12:33:45 +01:00
4ff7516a58 Fix crash
Reinstated 2 lines who's removal caused a crash at the end of a turn in which a hero is killed.
2024-12-08 12:29:30 +01:00
970d7d795f Remove object from owned objects before resetting owner 2024-12-08 11:26:21 +00:00
4eb683e0d1 center round indicator 2024-12-08 01:21:33 +01:00
f36b42829a fix cell shades with xbrz 2024-12-08 01:17:01 +01:00
74a511c1aa fix registry check for systems with WOW6432Node 2024-12-07 22:51:02 +01:00
af02664afe Merge remote-tracking branch 'upstream/develop' into develop 2024-12-07 18:35:42 +01:00
543ce94132 Merge pull request #5012 from IvanSavenko/changelog_november
Updated changelog to account for recent changes
2024-12-07 18:36:47 +02:00
57f491deda Merge pull request #5042 from XCOM-HUB/patch-7
Update swedish.json
2024-12-07 18:36:19 +02:00
da07384d6b Merge pull request #5046 from IvanSavenko/mem_corruption_fix
Fix possible memory corruption in video player
2024-12-07 18:26:29 +02:00
2abfaa0853 fix tutorial video 2024-12-07 17:14:45 +01:00
9fbeacb688 Fix possible memory corruption in video player
Fixes two bugs, one was definitely happening, and 2nd one that is causing
undefined behavior and may work only in some std implementations

- VideoPlayer would attempt to access subtitles widget after VideoPlayer
itself was destroyed in onPlaybackFinished call
- std::function was destroyed from a function that is being called by
it. Replaced with 1-method interface to avoid usage of std::function in
this scenario
2024-12-07 15:37:03 +00:00
df069bf14f Merge remote-tracking branch 'upstream/develop' into develop 2024-12-07 13:32:19 +01:00
c7da5c8782 Update swedish.json 2024-12-07 00:35:02 +01:00
8d9e144c61 Updated changelog to account for recent changes 2024-12-06 14:34:48 +00:00
3115894307 Merge pull request #5030 from vcmi/timed_events_objects_removal
Timed events objects removal
2024-12-06 16:07:21 +02:00
ade46d5ffb Merge branch 'develop' into timed_events_objects_removal 2024-12-06 15:33:33 +02:00
7429589a0a Merge pull request #5034 from godric3/map-editor-hero-artifacts
Map editor:  customize hero artifacts
2024-12-06 15:00:51 +02:00
fe51194e22 Merge pull request #5008 from Laserlicht/sprites_test
Tile animation for rivers with xbrz
2024-12-06 14:54:18 +02:00
f35abaaeee Merge pull request #5022 from Laserlicht/innoextract_hash
generate file hashes if innoextract fails
2024-12-06 14:42:48 +02:00
a60e98f0bb Merge pull request #5041 from IvanSavenko/syntaxhighlight_check
[Docs] Enable rule to enforce specifying language for code blocks
2024-12-06 14:39:26 +02:00
f546b434ff Merge pull request #5003 from IvanSavenko/ai_difficulty_config
Change NKAI configuration for different difficulty levels
2024-12-06 14:39:16 +02:00
4b103fd63b code review 2024-12-05 23:31:03 +01:00
53d4afdae5 Enable rule to enforce specifying language for code blocks 2024-12-05 21:32:55 +00:00
16d25e903c Remove flaggable bonus on object deletion 2024-12-05 21:55:32 +01:00
4e58df6635 Bump heroes limit a bit 2024-12-05 20:31:14 +00:00
7be31c94f2 Fixes from code review 2024-12-05 21:16:06 +01:00
df21a77857 Battle-AI-improvements
When defending the AI is now much smarter to use their defensive-structures like walls, towers and the moat to their advantage instead of allowing them to be lured out and killed in the open.

A penalty-multiplier is now applied when deciding which units to walk towards. If an ally is closer than us to the enemy unit in question, we reduce our score for walking towards that unit too. This shall help against baiting a whole flock of AI-stacks to overcommit on chasing an inferior stack of the enemy.
2024-12-05 21:09:24 +01:00
7a701b39fb Update mapeditor/mapsettings/timedevent.h
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-12-05 21:02:54 +01:00
7a75aafc88 Merge pull request #5031 from dydzio0614/empty-hexes-shoot-fix
Fix shooting being priority action for dead creature hexes with empty hex target enabled
2024-12-05 17:41:57 +02:00
8c293ce156 First attempt to make per-difficulty configurations for AI 2024-12-05 15:08:04 +00:00
7543635847 Merge pull request #5032 from dydzio0614/alt-creature-buttons
Exchange full army by holding alt while pressing VCMI extras creature arrow button
2024-12-05 16:38:32 +02:00
865a6c1aa0 Merge pull request #5018 from Laserlicht/translate
Added missing translation strings
2024-12-05 16:32:20 +02:00
44ba6c3dd4 Merge pull request #5024 from GeorgeK1ng/develop
Removed vanished elements for Czech launcher translation
2024-12-05 16:32:09 +02:00
24579cedd4 Merge pull request #5026 from Laserlicht/patch-3
revert text fix
2024-12-05 16:31:28 +02:00
55c594e591 Merge pull request #5035 from IvanSavenko/launcher_fix
Fixes for mod management in Launcher
2024-12-05 16:30:53 +02:00