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
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
9e07b5c5de
Merge pull request #4954 from vcmi/curved_roads
...
Curved roads
2024-12-04 07:54:41 +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
01dd1858e4
Add option to recalculate hitmap on tile reveal
2024-12-01 21:50:28 +00:00
d9f82c22f4
Recalculate tile owners on hitmap update
2024-12-01 21:30:44 +00:00
54e2dc4bf8
Fix json in examples
2024-12-01 19:12:07 +00:00
5e57582c47
Replace js -> json5 code blocks
2024-12-01 19:06:50 +00:00
d0c5333a2b
Merge pull request #4986 from kdmcser/chinese
...
update Chinese translation
2024-12-01 18:15:51 +02:00
21f6815187
Fix loading of 1.5 and older 1.6 saves
2024-12-01 16:00:09 +00:00
3f9986c88e
fix wrong translation
2024-12-01 23:47:49 +08:00
22e820b599
Merge pull request #4988 from GeorgeK1ng/develop
...
Updated Czech translation
2024-12-01 16:13:32 +02:00
7b682f9010
Always use json5 for syntax highlighting.
2024-12-01 12:18:06 +00:00
1960d66971
fix INVINCIBLE
2024-12-01 12:25:27 +01:00
36fe8462c5
Address code review, fix few more issues with formatting
2024-12-01 11:15:13 +00:00
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
e6cd3630e0
fix warning
2024-11-30 17:20:39 +01:00
28fd6c50c4
search box scroll fix
2024-11-30 16:55:45 +01:00
bb2f016f49
text fixes
2024-11-30 00:41:09 +01:00
543185a530
prescale support for video
2024-11-29 23:33:28 +01:00
8808c9538c
use video player for spellbook animation
2024-11-29 21:58:20 +01:00
ccb42deba4
Fix deserialization of int64 values
2024-11-29 16:55:30 +00:00
d4b2ec5b0b
Merge pull request #4995 from IvanSavenko/local_state_fix
...
Fix serialization of selected spellbook page
2024-11-29 15:38:22 +02:00
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
5138412255
Merge pull request #4998 from IvanSavenko/ai_difficulty
...
Allow per-difficulty parameters for NKAI
2024-11-29 13:22:11 +02:00
7574842e93
Replace defines with constexpr
2024-11-28 15:08:15 +00:00
40aa49acff
Fix typo: Absoolute -> Absolute
2024-11-28 14:44:12 +00:00
90536a5fbe
Remove hardcoded morale chance constant
2024-11-28 12:11:32 +00:00
be2327d000
Removed no longer used or redundant constants
2024-11-28 12:11:13 +00:00
b25702f15e
expose safeAttackRatio to AI config
2024-11-28 11:53:51 +00:00
00492a60a7
Moved retreat decision-making constants to config
2024-11-28 11:39:36 +00:00
f41873fe72
Fix View Earth also revealing other objects such as heroes and towns
2024-11-27 21:26:54 +00:00
71d9664295
Allow per-difficulty parameters for NKAI
2024-11-27 21:26:06 +00:00
57097f4ae6
Fix serialization of selected spellbook page
...
On game start, player interface attempts to load local state from empty
json, resetting all values to 0. However we want to show spellbook at
"all spells" page as default, not as top-most page with air spells
2024-11-27 20:50:12 +00:00
fad91acd3a
Merge pull request #4993 from IvanSavenko/mod_preset_fixes
...
Mod preset fixes
2024-11-27 16:42:25 +02:00
e2512eaa7a
Merge pull request #4992 from IvanSavenko/dungeon_heroes_fix
...
Fix swapped Overlord and Warlock models on adventure map
2024-11-27 16:42:14 +02:00