1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
Commit Graph

18577 Commits

Author SHA1 Message Date
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
Xilmi
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
godric3
01bb73b0cc fix imports 2024-12-03 21:28:21 +01:00
godric3
025ad58561 map editor: check hero artifacts during mod assessment 2024-12-03 21:17:04 +01:00
godric3
896a148a7a map editor: Add possibility to customize hero artifacts 2024-12-03 21:07:33 +01:00
Dydzio
e87ed1e80c Add extra clientside sanity check (should be there from thestart) 2024-12-03 21:03:25 +01:00
Dydzio
ceac0bc203 Full exchange when holding alt while pressing exchange screen creature arrow button 2024-12-03 20:40:06 +01:00
Dydzio
1e9d089fd8 Fix shooting being priority action for dead creature hexes with targeting empty hexes enabled 2024-12-03 18:04:41 +01:00
Dydzio
f7b0c7405b Fix "padding variables" for object deletion 2024-12-03 17:40:35 +01:00
Dydzio
e9be46af98 Merge branch 'develop' into timed_events_objects_removal 2024-12-03 17:27:24 +01:00
Laserlicht
f6b37dbca2
revert text fix 2024-12-02 22:36:49 +01:00
Laserlicht
a8709731c4 unify time (without seconds) 2024-12-02 20:37:51 +01:00
Laserlicht
4fb1e9b056 code review 2024-12-02 20:29:17 +01:00
George King
8900c08b88
Removed vanished elements 2024-12-02 16:12:32 +01:00
Xilmi
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
Xilmi
85b29e453d Merge remote-tracking branch 'upstream/develop' into develop 2024-12-02 14:38:34 +01:00
DjWarmonger
82501dc553
Update lib/rmg/RmgPath.h
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-12-02 13:15:27 +01:00
Ivan Savenko
150f4904ab
Merge pull request #5005 from Laserlicht/video
Video rework
2024-12-02 13:48:51 +02:00
Ivan Savenko
877f47e37f
Merge branch 'develop' into video 2024-12-02 13:48:30 +02:00
Ivan Savenko
fcb4dfa985
Merge pull request #4964 from vcmi/connections_rework
Connections rework
2024-12-02 13:21:32 +02:00
Ivan Savenko
306ee95496
Merge pull request #4965 from vcmi/sealed_zone
New type of zone - "sealed"
2024-12-02 13:21:02 +02:00
George King
76c9dc10a2
Updated Czech translation with lobby messages (#5019) 2024-12-02 13:17:18 +02:00
altiereslima
32b30694fe
Update Portuguese Translation (#4960)
* Update portuguese.ts
* Update portuguese.json
2024-12-02 13:16:24 +02:00
Ivan Savenko
1fde3e3f09
Merge pull request #5014 from Laserlicht/fix_INVINCIBLE
fix INVINCIBLE
2024-12-02 13:14:18 +02:00
Ivan Savenko
38e0b08b34
Merge pull request #5011 from IvanSavenko/markdown_lint
Added markdownlint to Github CI
2024-12-02 13:14:03 +02:00
Ivan Savenko
fb7091e51a
Merge pull request #5010 from Laserlicht/fix_warning
fix some warnings
2024-12-02 13:13:53 +02:00
Ivan Savenko
304f6bbc90
Merge pull request #5009 from Laserlicht/scroll_fix
fix scrolling in search window
2024-12-02 13:13:23 +02:00
Ivan Savenko
f10899ed9e
Merge pull request #5006 from Laserlicht/textfixes
text fixes
2024-12-02 13:13:08 +02:00
Ivan Savenko
90fb5ac9c4
Merge pull request #5004 from IvanSavenko/int64_fix
Fix deserialization of int64 values
2024-12-02 13:06:34 +02:00
Ivan Savenko
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
Laserlicht
0141522a60 error handling 2024-12-02 01:09:50 +01:00
Laserlicht
be2338739b text 2024-12-02 00:13:05 +01:00
Laserlicht
2fae7de99c texts 2024-12-02 00:09:14 +01:00
Laserlicht
afdc555aed adjust texts 2024-12-02 00:00:30 +01:00
Laserlicht
6e29633ccb finished hashing error 2024-12-01 23:46:03 +01:00
Laserlicht
4103bb9e55 hash checks 2024-12-01 23:18:52 +01:00
Xilmi
de7bb264ed Merge remote-tracking branch 'upstream/develop' into develop 2024-12-01 23:06:17 +01:00
Xilmi
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
Xilmi
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
Ivan Savenko
01dd1858e4 Add option to recalculate hitmap on tile reveal 2024-12-01 21:50:28 +00:00
Laserlicht
0b7b695d8f get hashes for files 2024-12-01 22:31:34 +01:00