Commit Graph
18567 Commits
Author SHA1 Message Date
Ivan Savenko 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
Laserlicht 47427df767 add registy entry for localized variant of H3 2024-12-08 12:41:15 +01:00
Xilmi 7a5c311d64 Revert "Fix crash"
This reverts commit 4ff7516a58.
2024-12-08 12:34:14 +01:00
Xilmi ccc0db6d8d Merge branch 'pr/5051' into develop 2024-12-08 12:33:45 +01:00
Xilmi 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
Ivan Savenko 970d7d795f Remove object from owned objects before resetting owner 2024-12-08 11:26:21 +00:00
Laserlicht 4eb683e0d1 center round indicator 2024-12-08 01:21:33 +01:00
Laserlicht f36b42829a fix cell shades with xbrz 2024-12-08 01:17:01 +01:00
Laserlicht 74a511c1aa fix registry check for systems with WOW6432Node 2024-12-07 22:51:02 +01:00
Xilmi af02664afe Merge remote-tracking branch 'upstream/develop' into develop 2024-12-07 18:35:42 +01:00
Ivan Savenko 543ce94132 Merge pull request #5012 from IvanSavenko/changelog_november
Updated changelog to account for recent changes
2024-12-07 18:36:47 +02:00
Ivan Savenko 57f491deda Merge pull request #5042 from XCOM-HUB/patch-7
Update swedish.json
2024-12-07 18:36:19 +02:00
Ivan Savenko 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
Laserlicht 2abfaa0853 fix tutorial video 2024-12-07 17:14:45 +01:00
Ivan Savenko 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
Xilmi df069bf14f Merge remote-tracking branch 'upstream/develop' into develop 2024-12-07 13:32:19 +01:00
Maurycy c7da5c8782 Update swedish.json 2024-12-07 00:35:02 +01:00
Ivan Savenko 8d9e144c61 Updated changelog to account for recent changes 2024-12-06 14:34:48 +00:00
Ivan Savenko 3115894307 Merge pull request #5030 from vcmi/timed_events_objects_removal
Timed events objects removal
2024-12-06 16:07:21 +02:00
Ivan Savenko ade46d5ffb Merge branch 'develop' into timed_events_objects_removal 2024-12-06 15:33:33 +02:00
Ivan Savenko 7429589a0a Merge pull request #5034 from godric3/map-editor-hero-artifacts
Map editor:  customize hero artifacts
2024-12-06 15:00:51 +02:00
Ivan Savenko fe51194e22 Merge pull request #5008 from Laserlicht/sprites_test
Tile animation for rivers with xbrz
2024-12-06 14:54:18 +02:00
Ivan Savenko f35abaaeee Merge pull request #5022 from Laserlicht/innoextract_hash
generate file hashes if innoextract fails
2024-12-06 14:42:48 +02:00
Ivan Savenko 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
Ivan Savenko 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
Laserlicht 4b103fd63b code review 2024-12-05 23:31:03 +01:00
Ivan Savenko 53d4afdae5 Enable rule to enforce specifying language for code blocks 2024-12-05 21:32:55 +00:00
Dydzio 16d25e903c Remove flaggable bonus on object deletion 2024-12-05 21:55:32 +01:00
Ivan Savenko 4e58df6635 Bump heroes limit a bit 2024-12-05 20:31:14 +00:00
Dydzio 7be31c94f2 Fixes from code review 2024-12-05 21:16:06 +01:00
Xilmi 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
DydzioandIvan Savenko 7a701b39fb Update mapeditor/mapsettings/timedevent.h
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-12-05 21:02:54 +01:00
Ivan Savenko 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
Ivan Savenko 8c293ce156 First attempt to make per-difficulty configurations for AI 2024-12-05 15:08:04 +00:00
Ivan Savenko 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
Ivan Savenko 865a6c1aa0 Merge pull request #5018 from Laserlicht/translate
Added missing translation strings
2024-12-05 16:32:20 +02:00
Ivan Savenko 44ba6c3dd4 Merge pull request #5024 from GeorgeK1ng/develop
Removed vanished elements for Czech launcher translation
2024-12-05 16:32:09 +02:00
Ivan Savenko 24579cedd4 Merge pull request #5026 from Laserlicht/patch-3
revert text fix
2024-12-05 16:31:28 +02:00
Ivan Savenko 55c594e591 Merge pull request #5035 from IvanSavenko/launcher_fix
Fixes for mod management in Launcher
2024-12-05 16:30:53 +02:00
Ivan Savenko 993b13cc09 Merge pull request #5038 from IvanSavenko/docs_json
Use json instead of json5 for syntax highlight in docs
2024-12-05 16:30:18 +02:00
Ivan Savenko 102dfd0966 Merge pull request #5020 from IvanSavenko/ai_object_fix
Fix AI not recruiting heroes when map reveal is off
2024-12-05 16:29:43 +02:00
Xilmi 3f073507a1 Merge remote-tracking branch 'upstream/develop' into develop 2024-12-05 14:55:20 +01:00
Ivan Savenko 879aaba980 Use json instead of json5 for syntax highlight in docs
Looks like website only recognizes javascript & json, and is not aware
of jsonc or json5.

Will result in small regression on Github web view - comments will show
up as red (since comments are not part of json format), but syntax
highlight would work both on website and on Github.

Alternative is using javascript for syntax highlight, however syntax
highlighter for json looks better on both website and Github (since it
uses separate highlighting for json keys, separate from strings in
values)
2024-12-04 16:50:01 +00:00
Xilmi 7da5c08f74 Update ObjectClusterizer.cpp
Actually fix the warning now.
2024-12-04 15:07:13 +01:00
Xilmi 66bc6c0d52 Update ObjectClusterizer.cpp
Fixed warning that prevents compilation on GitHub.
2024-12-04 14:57:46 +01:00
Ivan Savenko 9bdf22a3cd Force-refresh of mod list model on start once local mods are loaded 2024-12-04 11:17:07 +00:00
Ivan Savenko ac01ec3733 Hide update/install/enable buttons on Launcher start 2024-12-04 11:16:31 +00:00
Ivan Savenko 00513c8720 Fix crash on attempt to enable 0 mods, for example after update 2024-12-04 11:16:05 +00:00
Ivan Savenko cdc1a9ea68 Fix not functioning mod updating 2024-12-04 11:15:39 +00:00
DjWarmonger 9e07b5c5de Merge pull request #4954 from vcmi/curved_roads
Curved roads
2024-12-04 07:54:41 +01:00