1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-06 22:23:15 +02:00
Commit Graph

18822 Commits

Author SHA1 Message Date
d42ae2995b Fix crash on attempt to install mod not present in mod repository 2024-12-15 19:37:25 +00:00
88bf46f57b Add more logging to Launcher 2024-12-15 19:17:06 +00:00
63af2d174f Fix overwriting mod download URL during repo checkout 2024-12-15 19:16:49 +00:00
92dcac90ae Reload start game tab state on language change 2024-12-15 19:15:54 +00:00
bfbc97c14f Merge pull request #5093 from kdmcser/beta
update Chinese translation
2024-12-15 13:30:01 +02:00
4e30af287e Merge pull request #5090 from Laserlicht/fix_prescale
fix margin if image prescaled and not equal to current scaling
2024-12-15 13:29:54 +02:00
c9ccfd8625 Merge pull request #5089 from IvanSavenko/profile_translation_fix
Fix crash on selecting different language during initial setup
2024-12-15 13:29:46 +02:00
81e29d6ce2 Return built in default image 2024-12-15 11:43:39 +01:00
5fc61df717 fix_crash_loading_frames_from_def 2024-12-15 11:43:39 +01:00
edbf555695 update Chinese translation 2024-12-15 16:38:19 +08:00
d232b7b46b fix margin if image prescaled and not equal to current scaling 2024-12-15 04:44:08 +01:00
321fc42a8e Fix crash on selecting different language during initial setup
Remove placeholder item from mod preset combobox - it should be filled
using mod preset list from user config file, and should not be translated.
2024-12-14 22:44:27 +00:00
1517dcca6c boost 1.87 2024-12-14 22:26:26 +01:00
132500b292 Merge pull request #5084 from IvanSavenko/ukrainian
Ukrainian translation update
2024-12-14 21:11:39 +02:00
d939e7cce8 Merge pull request #5081 from Laserlicht/german
German translation update
2024-12-14 21:11:32 +02:00
d69be1a504 Merge pull request #5082 from MichalZr6/update_polish_translation
Polish translation update
2024-12-14 21:11:20 +02:00
b07b1b794b Merge pull request #5083 from IvanSavenko/bugfixing_beta_2
Another batch of fixes for beta
2024-12-14 21:11:12 +02:00
9a2be51b90 Partial Ukrainian translation for map editor 2024-12-14 15:51:33 +00:00
69c219ccfd Translate Launcher to Ukrainian 2024-12-14 15:00:31 +00:00
52b1af12d8 Translated VCMI strings to Ukrainian 2024-12-14 15:00:24 +00:00
bb7cf3ffbf Use existing callback method instead of custom one in AI 2024-12-14 14:53:34 +00:00
0a99d60ee7 polish translation update 2024-12-14 15:42:50 +01:00
64db89711e Retranslate start game tab on language change 2024-12-14 14:34:15 +00:00
92b49370ed Remove not used window title from Start Game tab 2024-12-14 14:34:15 +00:00
b0c66ae69b Completely erase old cache on mod repo checkout
This allows to remove any outdated data that might be present:
- mods removed from repository
- mods that came from no longer used repository
- fields that were removed from mod.json's
2024-12-14 14:34:15 +00:00
b39e8dc1ef Merge pull request #5021 from Xilmi/develop
Fix for AI not defending in some cases
2024-12-14 16:33:17 +02:00
65c73051c6 fine adjust 2024-12-14 15:04:16 +01:00
5c4f59546c update german qt 2024-12-14 14:36:42 +01:00
3b442bc4e4 update german 2024-12-14 14:36:09 +01:00
5ff834aac2 Remove debug-outputs
Debug-outputs removed
2024-12-13 22:13:27 +01:00
33f5b473b3 Defender should not run off for troop-delivery
Fixed a rare case in which a town-defender could become an indirect part of a troop-delivery-task by doing a sub-task like capturing a shipyard that takes less than 1 turn but leaves him out in the open.
2024-12-13 21:50:45 +01:00
d0c99423a3 Merge remote-tracking branch 'upstream/beta' into develop 2024-12-13 12:31:51 +01:00
79fb5faa2e Fixed a freeze
It was happening when all slots were full but no unit even needed disbanding because the unit to be bought is part of the units that are inside of the existing slots.

(This commit contains excessive debugging but I don't want to remove it just yet incase another issue pops up.)
2024-12-13 12:23:13 +01:00
fac18d953e Fixed and improved disband-logic
The score for buying army now scales with the cost of that army.
The cost of the units that need to be disbanded in order to hire the new units is subtracted from the army-hiring-score so the AI will prefer hiring armies where the amount of troops to disband is low or non-existent.
Fixed a bug that also disbanded troops when there still were free slots available.
2024-12-13 00:09:10 +01:00
2ad9038709 AI can now disband units that block slots for buying better units
When the AI cannot buy units in a city because all slots are blocked and the units in the slot are cheaper than the units it wants to buy, the AI will now get rid of the units that block that slot in order to be able to buy the better units.
2024-12-12 20:06:33 +01:00
6536c9a18e Satisfy SonarCube 2024-12-12 14:58:29 +01:00
59497db428 Fixed isEnemy becoming true for things it shouldn't
Not sure whether it actually impacts behavior but better fix it either way.
2024-12-12 13:40:50 +01:00
1cfbd3b2da Merge pull request #5065 from IvanSavenko/launcher_ui
Launcher changes from Discord suggestions
2024-12-12 13:46:37 +02:00
1033fcd1d1 Launcher changes from Discord suggestions
- new "Game" tab on the left is now top-most tab, insted of bottom-most
- moved start game / start editor buttons to the right
- Update information is now right-most column in start game tab
- extended columns in start game tab all the way to bottom
- Changed "Installing chronicles" to "Installing Heroes Chronicles" in
translations
- Fixed plural form for English translation of artifacts transfer
- Added clear text button to mod name filter
2024-12-12 11:41:00 +00:00
8c84846812 Merge pull request #5063 from GeorgeK1ng/beta
Updated Czech translation
2024-12-12 13:37:59 +02:00
5560467cc4 Merge pull request #5061 from IvanSavenko/bugfixing_beta
Fixes for issues found in current beta
2024-12-12 13:37:46 +02:00
1223639cef Merge pull request #5069 from Laserlicht/video_fix
Video fix with subtitles
2024-12-12 13:37:22 +02:00
f6b1aea5a7 Merge pull request #5062 from Laserlicht/launcher_fix
Launcher fix
2024-12-12 13:37:05 +02:00
5e71aa4bf1 Update czech.ts 2024-12-12 11:51:57 +01:00
32d85ce6ff Fix for retreating-behavior generally not working
Fixed that armyInvolvement was only filled in when the action involved a target to interact with rather than just a tile.
Since armyInvolvement was used for scoring actions such as retreating towards the closest town, this caused the AI to never retreat to their towns when they were supposed to.
2024-12-12 11:07:56 +01:00
a29f455625 fix video crash with subtitles 2024-12-11 21:31:00 +01:00
9144f98952 Fix incorrect missing video files diagnostics on polish version 2024-12-11 19:46:03 +00:00
e752a26fd8 Enable Chronicles on importing 2024-12-11 19:45:36 +00:00
347efa98a0 Introduced new priority-tiers for handling attacking and gathering near enemies that are really far away
So that the AI won't become too passive on giant maps.
2024-12-11 14:47:08 +01:00
650db73300 Ignore all ExceuteHeroChain-tasks with 0 movement-cost
These can happen when an enemy spawns ontop of an AI-hero. If the action would win, it wouldn't be executed anyways. So now AI does the next best thing instead, which likely what it wanted to do anyways.
2024-12-11 13:05:51 +01:00