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
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
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
3f073507a1 Merge remote-tracking branch 'upstream/develop' into develop 2024-12-05 14:55:20 +01:00
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
7da5c08f74 Update ObjectClusterizer.cpp
Actually fix the warning now.
2024-12-04 15:07:13 +01:00
66bc6c0d52 Update ObjectClusterizer.cpp
Fixed warning that prevents compilation on GitHub.
2024-12-04 14:57:46 +01:00
9bdf22a3cd Force-refresh of mod list model on start once local mods are loaded 2024-12-04 11:17:07 +00:00
ac01ec3733 Hide update/install/enable buttons on Launcher start 2024-12-04 11:16:31 +00:00
00513c8720 Fix crash on attempt to enable 0 mods, for example after update 2024-12-04 11:16:05 +00:00
cdc1a9ea68 Fix not functioning mod updating 2024-12-04 11:15:39 +00:00
9e07b5c5de Merge pull request #4954 from vcmi/curved_roads
Curved roads
2024-12-04 07:54:41 +01:00
c007bbbcd8 AI improvements
AI will no longer skip turns with heroes that are waiting for a delivery that takes more than one turn. Instead they will do something until their delivery is close enough to get it at the same turn.

Fixed an issue where a bunch of heroes all tried to do the same tasks:
Tasks that involve no fighting will now always be performed by the closest eligible hero while all other heroes look for something else to do.
2024-12-03 23:09:13 +01:00
01bb73b0cc fix imports 2024-12-03 21:28:21 +01:00
025ad58561 map editor: check hero artifacts during mod assessment 2024-12-03 21:17:04 +01:00
896a148a7a map editor: Add possibility to customize hero artifacts 2024-12-03 21:07:33 +01:00
e87ed1e80c Add extra clientside sanity check (should be there from thestart) 2024-12-03 21:03:25 +01:00
ceac0bc203 Full exchange when holding alt while pressing exchange screen creature arrow button 2024-12-03 20:40:06 +01:00
1e9d089fd8 Fix shooting being priority action for dead creature hexes with targeting empty hexes enabled 2024-12-03 18:04:41 +01:00
f7b0c7405b Fix "padding variables" for object deletion 2024-12-03 17:40:35 +01:00
e9be46af98 Merge branch 'develop' into timed_events_objects_removal 2024-12-03 17:27:24 +01:00
f6b37dbca2 revert text fix 2024-12-02 22:36:49 +01:00
a8709731c4 unify time (without seconds) 2024-12-02 20:37:51 +01:00
4fb1e9b056 code review 2024-12-02 20:29:17 +01:00
8900c08b88 Removed vanished elements 2024-12-02 16:12:32 +01:00
34b8123fba Hero hiring adjustments
The AI is now a lot more likely to buy a hero early on when that hero's army is worth more than half the cost of the hero, regardless of other circumstances.
2024-12-02 15:11:39 +01:00
85b29e453d Merge remote-tracking branch 'upstream/develop' into develop 2024-12-02 14:38:34 +01:00
82501dc553 Update lib/rmg/RmgPath.h
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-12-02 13:15:27 +01:00
150f4904ab Merge pull request #5005 from Laserlicht/video
Video rework
2024-12-02 13:48:51 +02:00
877f47e37f Merge branch 'develop' into video 2024-12-02 13:48:30 +02:00
fcb4dfa985 Merge pull request #4964 from vcmi/connections_rework
Connections rework
2024-12-02 13:21:32 +02:00
306ee95496 Merge pull request #4965 from vcmi/sealed_zone
New type of zone - "sealed"
2024-12-02 13:21:02 +02:00
76c9dc10a2 Updated Czech translation with lobby messages (#5019) 2024-12-02 13:17:18 +02:00
32b30694fe Update Portuguese Translation (#4960)
* Update portuguese.ts
* Update portuguese.json
2024-12-02 13:16:24 +02:00
1fde3e3f09 Merge pull request #5014 from Laserlicht/fix_INVINCIBLE
fix INVINCIBLE
2024-12-02 13:14:18 +02:00
38e0b08b34 Merge pull request #5011 from IvanSavenko/markdown_lint
Added markdownlint to Github CI
2024-12-02 13:14:03 +02:00
fb7091e51a Merge pull request #5010 from Laserlicht/fix_warning
fix some warnings
2024-12-02 13:13:53 +02:00
304f6bbc90 Merge pull request #5009 from Laserlicht/scroll_fix
fix scrolling in search window
2024-12-02 13:13:23 +02:00
f10899ed9e Merge pull request #5006 from Laserlicht/textfixes
text fixes
2024-12-02 13:13:08 +02:00
90fb5ac9c4 Merge pull request #5004 from IvanSavenko/int64_fix
Fix deserialization of int64 values
2024-12-02 13:06:34 +02:00
22bd3c5621 Merge pull request #5017 from IvanSavenko/save_compat_fix
Fix loading of 1.5 and older 1.6 saves
2024-12-02 13:06:26 +02:00
0141522a60 error handling 2024-12-02 01:09:50 +01:00
be2338739b text 2024-12-02 00:13:05 +01:00
2fae7de99c texts 2024-12-02 00:09:14 +01:00
afdc555aed adjust texts 2024-12-02 00:00:30 +01:00
6e29633ccb finished hashing error 2024-12-01 23:46:03 +01:00
4103bb9e55 hash checks 2024-12-01 23:18:52 +01:00
de7bb264ed Merge remote-tracking branch 'upstream/develop' into develop 2024-12-01 23:06:17 +01:00
2df9861076 Update DefenceBehavior.cpp
Stop iterating over tasks when the curent hero has been found in one.
2024-12-01 23:05:56 +01:00
1d79946825 Fix for AI not defending in some cases
Instead of skipping the defense of other towns entirely when hiring a hero was considered as a way of defending, now only hiring the same hero twice will be avoided.
2024-12-01 23:00:35 +01:00
01dd1858e4 Add option to recalculate hitmap on tile reveal 2024-12-01 21:50:28 +00:00