Commit Graph
22534 Commits
Author SHA1 Message Date
George King fea2306c86 Update imageviewer_moc.cpp 2026-02-21 11:30:07 +01:00
George King 54229497e3 New image viewer 2026-02-21 10:11:52 +01:00
Laserlicht e6f158faf2 fast buy (hd mod) 2026-02-21 02:27:32 +01:00
Laserlicht b7b235610a fix backpack panning 2026-02-20 21:07:00 +01:00
Ivan Savenko c09996f4ef Merge pull request #6937 from IvanSavenko/spellcaster_fix
Fix SPELLCASTER bonus regressions
2026-02-20 20:56:33 +02:00
Ivan Savenko 2b2d522d72 Merge pull request #6934 from IvanSavenko/ai_freeze_fix
Try to fix possible freezes on AI actions
2026-02-20 20:56:22 +02:00
Ivan Savenko a3a0134d4e Merge pull request #6932 from IvanSavenko/crashfix
[1.7.3] Crashfixes
2026-02-20 19:50:18 +02:00
Ivan Savenko 6d1b263c17 Merge pull request #6917 from GeorgeK1ng/uninstall_confirm
[1.7.3] Add mod uninstall confirmation
2026-02-20 18:42:22 +02:00
Ivan Savenko 8aa835d48b Merge pull request #6910 from vcmi/kambala-decapitator-patch-1
[cmake][client][discord] don't search for libs in system locations when using Conan
2026-02-20 18:41:29 +02:00
Ivan Savenko 8ef5809408 Merge pull request #6900 from kambala-decapitator/macos-fix-adhoc-signing
[macOS] revert to old params for adhoc codesigning
2026-02-20 18:41:12 +02:00
Ivan Savenko efc049a89e Merge pull request #6832 from kambala-decapitator/chronicles-error-gui-thread
show Chronicles install error on GUI (main) thread
2026-02-20 18:39:59 +02:00
Ivan Savenko 78f34c5a1d Fix SPELLCASTER bonus regressions
Fixed 1.7.2 regression of spellcaster logic when casting non-random
spells.

Slight refactoring of AI code to simplify logic related to SPELLCASTER.
As a side effect - AI should now be better at selecting spells if unit
has multiple spells to cast.
2026-02-20 17:40:27 +02:00
Ivan Savenko af801c1824 Try to fix possible freezes on AI actions
While I am not 100% sure about the cause, it seems that following
scenarios might happen right now:

- Network thread is shut down due to catching
TerminationRequestedException that was intended to only terminate AI
turn
- throwing an exception in AI thread may lead to a freeze (and not to a
crash) since TBB catches all crashes to later re-throw them in caller
thread (which does not happens in VCMI due to way AI logic is set up)
- Also, AI makeTurn thread right now has catch-all block in it, meaning
that any bugs caused by unexpected exception throw are silenced

List of changes

- functions that are passed to TBB in AI are now marked as `noexcept`.
So any exception not caught and not processed by our code will cause
std::terminate and not be lost inside TBB
- separate TerminationRequestedException which now only requests app
termination, and InterruptionRequestedException that requests AI to
terminate its turn

Expected results:
- Network thread should no longer unexpectedly terminate due to AI
logic. Instead it might result in a crash, but with correct call stack
- Any exception thrown by AI should now result in a clean crash and not
in AI freeze

Sure, this means introduction of potential crashes, but tracking them
down should be easier since they are now detected in place, not at some
point later. iOS/macOS crash reports and Google Play reports should help
with tracking them down (if any such crashes do appear)
2026-02-20 14:16:43 +02:00
Ivan Savenko 73fa2fd557 Fix regression 2026-02-20 14:02:12 +02:00
Ivan Savenko 59079ed640 Merge pull request #6929 from Karyoplasma/cursed_ground_morale
Fix negative morale on Cursed Ground
2026-02-20 13:07:31 +02:00
Ivan Savenko 576173f65b Merge pull request #6915 from GeorgeK1ng/small_tweaks
[1.7.3] Search button hover and dialog tip
2026-02-20 13:04:40 +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 6443ac4e69 Hide boat of heroes that start in water in line with other such logic 2026-02-20 12:56:35 +02:00
Ivan Savenko 47cdcb6f28 Restore save compatibility with 1.6 saves that have quests 2026-02-20 12:55:52 +02:00
Ivan Savenko f24fdb6779 Added mutex to prevent thread races on filesystem update 2026-02-20 12:54:40 +02:00
Ivan Savenko 10e9d8e3ef Fix loading of spell mastery for combat trigger bonus 2026-02-20 12:53:58 +02:00
Andrey Filipenkov 16e4118e62 [macOS] revert to old params for adhoc codesigning 2026-02-20 11:06:04 +03:00
Karyoplasma 53aa868478 fix cursed ground morale 2026-02-19 13:05:49 +01:00
George King 18d8bf225e Revert 2026-02-18 21:14:20 +01:00
George King aa4cf8a743 Minimize changes 2026-02-18 20:31:00 +01:00
George King 7aa65387db Add input focus management in VcmiSDLActivity
Implement input focus restoration for SDL surface.
2026-02-18 19:28:49 +01:00
George King b22e8686f8 Remove unnecessary reload 2026-02-18 14:21:08 +01:00
George King d0a8db75d3 Add mod uninstall confirmation 2026-02-18 13:59:27 +01:00
George King ee2dcfe9bb Update czech.json 2026-02-17 21:52:44 +01:00
George King ade54d85e8 Typo fix 2026-02-17 21:46:17 +01:00
George King f1c0a3e19b Corrent tip in search window 2026-02-17 21:39:57 +01:00
George King b616d2fe58 Search button help and dialog tip texts tweak 2026-02-17 21:38:01 +01:00
Ivan Savenko 9ca62a10ea Merge pull request #6914 from IvanSavenko/bugfixing
[1.7.3] Fixes for crashes in 1.7.2
2026-02-17 15:28:27 +02:00
Ivan Savenko 2a9d46bd8c Fix loading of hordes as starting bonus in campaigns 2026-02-17 13:48:04 +02:00
Ivan Savenko 69396cf42a Fix crash on invalid string in creature recruitment window title 2026-02-17 13:48:04 +02:00
Ivan Savenko f6ad86c0d4 Fix crash on switching resolution while rebinding quick spell 2026-02-17 13:48:04 +02:00
Ivan Savenko a58dc606a7 Try to avoid crash on minimap updating 2026-02-17 13:48:04 +02:00
Ivan Savenko d754aedb16 Fix crash on mod conflict detection, add tests 2026-02-17 13:48:04 +02:00
Ivan Savenko ee5ae84479 Fix possible use-after-free crash 2026-02-17 13:48:04 +02:00
Ivan Savenko 103664f377 Merge pull request #6906 from Karyoplasma/object-descriptions
Fixed xtrainfo indices for rewardableBonusing objects
2026-02-17 11:32:34 +02:00
Ivan Savenko 8cb8b2078d Merge pull request #6902 from Laserlicht/appi
[1.7.3] add appimage
2026-02-17 11:20:46 +02:00
Ivan Savenko a8aeb93f2a Merge pull request #6904 from GeorgeK1ng/text_window_fix
[1.7.3] Fix mod description and changelog position
2026-02-17 11:19:50 +02:00
Andrey Filipenkov 64f855822e [cmake][client][discord] don't search for libs in system locations when using Conan
Prevents pulling in Homebrew dependencies on macOS
2026-02-17 11:59:37 +07:00
Laserlicht 3b910532c2 docs 2026-02-16 22:24:50 +01:00
Karyoplasma 62788b7d9c fixed xtrainfo indices 2026-02-16 19:27:21 +01:00
Karyoplasma 500df42eb7 added comment about hillfort 2026-02-16 19:23:57 +01:00
George King dbeac6a139 Fix text window focus 2026-02-16 13:54:35 +01:00
Ivan Savenko 4d70dee5c8 Merge pull request #6894 from IvanSavenko/hotfix
[1.7.3] Changes for hotfix
2026-02-16 11:49:30 +02:00
Ivan Savenko 124f3e6234 Merge pull request #6903 from GeorgeK1ng/import_fix
[1.7.3] Fix GOG import
2026-02-16 11:48:51 +02:00
Ivan Savenko a82dea124e Merge pull request #6886 from Laserlicht/bonus_sel
[1.7.3] bonus selection: add amount
2026-02-16 11:46:46 +02:00