Xilmi
3f073507a1
Merge remote-tracking branch 'upstream/develop' into develop
2024-12-05 14:55:20 +01: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
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
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
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
54e2dc4bf8
Fix json in examples
2024-12-01 19:12:07 +00:00
Ivan Savenko
5e57582c47
Replace js -> json5 code blocks
2024-12-01 19:06:50 +00:00
Ivan Savenko
d0c5333a2b
Merge pull request #4986 from kdmcser/chinese
...
update Chinese translation
2024-12-01 18:15:51 +02:00
Ivan Savenko
21f6815187
Fix loading of 1.5 and older 1.6 saves
2024-12-01 16:00:09 +00:00
kdmcser
3f9986c88e
fix wrong translation
2024-12-01 23:47:49 +08:00
Ivan Savenko
22e820b599
Merge pull request #4988 from GeorgeK1ng/develop
...
Updated Czech translation
2024-12-01 16:13:32 +02:00
Ivan Savenko
7b682f9010
Always use json5 for syntax highlighting.
2024-12-01 12:18:06 +00:00
Laserlicht
1960d66971
fix INVINCIBLE
2024-12-01 12:25:27 +01:00
Ivan Savenko
36fe8462c5
Address code review, fix few more issues with formatting
2024-12-01 11:15:13 +00:00
Ivan Savenko
74a4a10f48
Added markdownlint to Github CI
...
- Markdown will now be validated as part of Github CI
- Applied auto-fix to most common issues (mostly whitespace related)
- Fixed manually some of more complex cases
Some valid markdownlint rules are currently disabled, to avoid failing
CI, can be enabled in future
2024-11-30 20:20:15 +00:00
Laserlicht
e6cd3630e0
fix warning
2024-11-30 17:20:39 +01:00
Laserlicht
28fd6c50c4
search box scroll fix
2024-11-30 16:55:45 +01:00
Laserlicht
bb2f016f49
text fixes
2024-11-30 00:41:09 +01:00
Laserlicht
543185a530
prescale support for video
2024-11-29 23:33:28 +01:00
Laserlicht
8808c9538c
use video player for spellbook animation
2024-11-29 21:58:20 +01:00
Ivan Savenko
ccb42deba4
Fix deserialization of int64 values
2024-11-29 16:55:30 +00:00
Ivan Savenko
d4b2ec5b0b
Merge pull request #4995 from IvanSavenko/local_state_fix
...
Fix serialization of selected spellbook page
2024-11-29 15:38:22 +02:00
Ivan Savenko
8b3244cba5
Merge pull request #4997 from IvanSavenko/fix_view_earth
...
Fix View Earth also revealing other objects such as heroes and towns
2024-11-29 15:38:12 +02:00
Ivan Savenko
5138412255
Merge pull request #4998 from IvanSavenko/ai_difficulty
...
Allow per-difficulty parameters for NKAI
2024-11-29 13:22:11 +02:00
Ivan Savenko
7574842e93
Replace defines with constexpr
2024-11-28 15:08:15 +00:00
Ivan Savenko
40aa49acff
Fix typo: Absoolute -> Absolute
2024-11-28 14:44:12 +00:00
Ivan Savenko
90536a5fbe
Remove hardcoded morale chance constant
2024-11-28 12:11:32 +00:00
Ivan Savenko
be2327d000
Removed no longer used or redundant constants
2024-11-28 12:11:13 +00:00
Ivan Savenko
b25702f15e
expose safeAttackRatio to AI config
2024-11-28 11:53:51 +00:00
Ivan Savenko
00492a60a7
Moved retreat decision-making constants to config
2024-11-28 11:39:36 +00:00
Ivan Savenko
f41873fe72
Fix View Earth also revealing other objects such as heroes and towns
2024-11-27 21:26:54 +00:00