1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-10 22:31:40 +02:00
Commit Graph

19204 Commits

Author SHA1 Message Date
Ivan Savenko
085409bea9 Stables in Castle will now check for and give same bonuses as map stable 2025-02-18 14:35:52 +00:00
Ivan Savenko
aef04236b9 Merge pull request #5430 from Laserlicht/context
[1.6.6] Context menu for modlist
2025-02-17 12:38:09 +02:00
Ivan Savenko
4364ae1f02 Merge pull request #5431 from GeorgeK1ng/czech_update
Updated Czech translation
2025-02-17 12:37:16 +02:00
Ivan Savenko
7d9c9d19c4 Merge pull request #5432 from Laserlicht/fixes
[1.6.6] multiple fixes
2025-02-17 12:36:47 +02:00
Ivan Savenko
7d122bcc3f Merge pull request #5433 from dydzio0614/qol-shortcuts-fixes
[1.6.6] Quality of life shortcuts fixes
2025-02-17 12:35:58 +02:00
Laserlicht
091477aebc possibility to add fonts at end of the font chain 2025-02-15 19:52:59 +01:00
Dydzio
58042c5cd6 Remove default focus from spellbook search, allow toggling focus via shortcut 2025-02-15 18:50:43 +01:00
Dydzio
567c88a924 Hero exchange: Q button swaps army + artifacts instead of opening quests 2025-02-15 18:50:14 +01:00
Dydzio
a6ab76d3ec Add ctrl+click and shift+click behavior for creatures "arrows" - hero exchange 2025-02-15 18:49:12 +01:00
Laserlicht
e9dc9f81b8 text fixes 2025-02-15 16:46:41 +01:00
Laserlicht
bdc15cfdc5 fix scroll issue (#5076) 2025-02-15 15:44:41 +01:00
Laserlicht
b94c4fbbd3 add icons 2025-02-15 14:27:17 +01:00
Laserlicht
57ca797445 code review 2025-02-15 14:17:48 +01:00
Laserlicht
de1c407a8e formatting fix 2025-02-15 14:05:51 +01:00
Laserlicht
9ce8f74455 split enabled/visible 2025-02-15 14:00:59 +01:00
Laserlicht
10b37ba265 refactoring 2025-02-15 13:48:24 +01:00
George King
aafbf3c24c Updated Czech translation 2025-02-15 13:02:39 +01:00
Ivan Savenko
3f390c4aac Merge pull request #5426 from GeorgeK1ng/czech-update
Mapeditor Czech translation mismatch fix
2025-02-15 11:15:40 +02:00
Ivan Savenko
87dec3c1df Merge pull request #5428 from Laserlicht/patch-2
[1.6.6] multiple fixes
2025-02-15 11:14:50 +02:00
Ivan Savenko
ff01fb6410 Merge pull request #5425 from IvanSavenko/campfire_fix
[1.6.6] Fix campfire randomization to be in line with H3
2025-02-15 11:13:44 +02:00
Ivan Savenko
5432dc66c8 Merge pull request #5424 from IvanSavenko/tavern_fix
[1.6.6] Fix stacking of bonuses from buildings like Tavern
2025-02-15 11:13:21 +02:00
Ivan Savenko
80ba2f2af1 Merge pull request #5420 from IvanSavenko/ci_ubuntu
[1.6.6] Update Ubuntu versions used by CI
2025-02-15 11:13:03 +02:00
Ivan Savenko
9effde04bb Merge pull request #5404 from Laserlicht/upgrade_all
[1.6.6] extend radial wheel in town to upgrade all creatures
2025-02-15 11:12:37 +02:00
Laserlicht
d9264bfdc3 fix 2025-02-15 01:38:26 +01:00
Laserlicht
a3fe2859f5 open repository 2025-02-15 01:31:31 +01:00
Laserlicht
7b73c20229 allow to open directory from context menu 2025-02-15 01:02:22 +01:00
Laserlicht
45bb09d9df add context menu 2025-02-15 00:35:08 +01:00
Laserlicht
b276603b34 fixes #5324 2025-02-14 22:45:52 +01:00
Laserlicht
989a437eef fixes #5346 2025-02-14 22:19:26 +01:00
Laserlicht
54606fbe95 fix #5427 2025-02-14 21:49:43 +01:00
Laserlicht
3e161da834 code review 2025-02-14 21:03:23 +01:00
George King
1c57167f1c Mapeditor translation mismatch 2025-02-14 19:54:06 +01:00
Ivan Savenko
71dbe904a6 Fix campfire randomization to be in line with H3
Campfire can now have one of 3 rewards layouts:
- 400 gold + 4 of random non-gold resource
- 500 gold + 5 of random non-gold resource
- 600 gold + 6 of random non-gold resource

This should make it match H3 logic
2025-02-14 14:33:52 +00:00
Ivan Savenko
58a6185b43 Fix stacking of bonuses from buildings like Tavern
- Same buildings in different towns of the same faction that provide
bonuses with propagators will now correctly stack their bonuses. This
fixes Tavern and possibly other such buildings
- Brotherhood of Sword now correctly adds bonus to thieves guild access
2025-02-14 14:29:58 +00:00
Ivan Savenko
2d7535eb00 Merge pull request #5395 from IvanSavenko/xbrz_effects
Implemented bloodlust, clone, and petrify effects for xbrz mode
2025-02-14 14:33:13 +02:00
Ivan Savenko
4e8372ef41 Update Ubuntu versions used by CI
- bump our oldest builder from Ubuntu 20.04 to 22.04 due to Github
phasing-out of 20.04: https://github.com/actions/runner-images/issues/
11101
- use gcc-10 on ubuntu 22.04 (oldest available)
- explicitly use 24.04 image instead of latest, in line with other jobs.
2025-02-14 11:18:33 +00:00
Ivan Savenko
b69e1ce1fb Merge pull request #5399 from Laserlicht/combat_health
[1.6.6] Combat Health Bar & Calculation fix
2025-02-14 13:09:49 +02:00
Ivan Savenko
28a8d4f4a1 Implemented bloodlust, clone, and petrify effects for xbrz mode 2025-02-14 11:01:20 +00:00
Ivan Savenko
2ed145acbc Merge pull request #5416 from XCOM-HUB/patch-15
Update swedish.json (beta)
2025-02-14 12:50:35 +02:00
Ivan Savenko
32a2413b5e Merge pull request #5412 from IvanSavenko/ai_scouts
NKAI - Prefer giving fast units to scouts
2025-02-14 12:49:41 +02:00
Ivan Savenko
099b7a4763 Merge pull request #5413 from IvanSavenko/bugfixing
[1.6.6] Minor fixes
2025-02-14 12:49:14 +02:00
Ivan Savenko
b1ae36bdff Use boost::asio::post instead of deprecated io_service::post 2025-02-13 21:36:24 +00:00
Ivan Savenko
de3b7e3cc6 Merge pull request #5409 from vcmi/sdl_mixer_native_type
use Mix_Music from SDL_Mixer directly
2025-02-12 13:25:24 +02:00
Ivan Savenko
6cafb89ab1 Merge pull request #5397 from dydzio0614/vietnamese-launcher-translation
Update vietnamese launcher translation
2025-02-12 13:25:09 +02:00
Maurycy
a470fb7fae Update swedish.json (beta)
Made some changes.
2025-02-12 12:18:27 +01:00
Ivan Savenko
4c74346508 Hide darkness bonus on creatures - it only works with towns 2025-02-11 20:14:57 +00:00
Ivan Savenko
4c4726847d Fix size of generated images for Chronicles 2025-02-11 20:08:02 +00:00
Ivan Savenko
c559b20791 Add more tracking for crash on Android 2025-02-11 20:07:44 +00:00
Ivan Savenko
7f7327b622 Fix attempt to translated already translated string 2025-02-11 20:07:31 +00:00
Ivan Savenko
f238d89601 NKAI - Prefer giving fast units to scouts
Nullkiller AI will now prefer giving its scout heroes faster units to
optimize their movement points on next turns.

Unit selection logic:
- AI prefers to give 'weak' units that won't affect army strength of main
hero. Unit is considered 'weak' if its level below 4 or if its AI value
is below 1% of total army strength. So AI can give high-tier unit to
scout, but only if main hero already has massive army.

- Within weak units, if hero is moving on terrain with penalty, AI will
always prefer units that are native to this terrain. So on snow AI will
always prefer unit from Tower even if its speed is lower than unit from
another faction.

- Within remaining candidates, AI will prefer unit that will give higher
movement points limit. This also means that in case of H3 rules, all
units with 11+ speed will be viewed as equally good

- If there are multiple units with same speed, AI will prefer unit with
lowest AI value
2025-02-11 16:37:54 +00:00