1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
Commit Graph

16569 Commits

Author SHA1 Message Date
Ivan Savenko
22870c4764 Fix potential crash on right-clicking object that gives secondary skills
such as Witch Hut when town is selected
2024-07-10 14:36:24 +00:00
Ivan Savenko
d442da92f6
Merge pull request #4229 from IvanSavenko/changelog_154
Changelog for 1.5.4
2024-07-10 17:33:04 +03:00
Ivan Savenko
ccef09db91
Merge pull request #4243 from Laserlicht/patch-3
extend file open error text
2024-07-10 17:14:37 +03:00
Ivan Savenko
9ce1d3eb34
Merge pull request #4244 from dydzio0614/polish-translations-update-2
Update polish translation for launcher and map editor
2024-07-10 17:14:20 +03:00
Ivan Savenko
ee14c0ab16
Merge pull request #4245 from Laserlicht/ger
Update german translation
2024-07-10 17:14:11 +03:00
Ivan Savenko
fbd4d3444b
Merge pull request #4246 from Laserlicht/slack_remove
remove slack references
2024-07-10 17:14:01 +03:00
Laserlicht
83a09be8a9
keep slack info 2024-07-10 12:56:11 +02:00
Laserlicht
16f1d8d3ce
remove slack 2024-07-10 12:49:53 +02:00
Xilmi
073c5bee45 Spellcasting fixes
Allowed the AI to cast spells that are aimed at a location instead of a unit. For example meteor shower.
Fixed an issue that caused the AI to not kill unit-stacks with spells due to only considering stacks where at least one unit survives in it's score-calculations.
2024-07-10 02:40:42 +02:00
Xilmi
13bbb573bd Spellcasting-bug-fix
Fixed a bug that prevented the AI from using spells when attacking an enemy settlement that has towers.
The bug was caused by noticing how greatly effective spells would be against towers but not being able to actually target them.
By skipping invalid targets, this no longer is an issue.
2024-07-09 22:55:39 +02:00
Laserlicht
2179caeb25
update german 2024-07-09 22:23:20 +02:00
Dydzio
0ce96269f2 Update polish translation for launcher and map editor 2024-07-09 21:53:55 +02:00
Laserlicht
0695502e89
Update firstlaunch_moc.cpp 2024-07-09 21:50:06 +02:00
Ivan Savenko
943b2f1136
Merge pull request #4242 from IvanSavenko/translations_regenerate
Regenerated translations
2024-07-09 17:45:51 +03:00
Xilmi
3367298a2a Merge remote-tracking branch 'upstream/develop' into develop 2024-07-09 16:25:27 +02:00
Ivan Savenko
a98787be43 Regenerated translations 2024-07-09 14:03:50 +00:00
Ivan Savenko
b1a902809e
Merge pull request #4232 from cewbdex/cz-work
Translate cz
2024-07-09 17:02:05 +03:00
Ivan Savenko
af54342792
Merge pull request #4194 from kdmcser/beta
update Chinese translation
2024-07-09 17:01:53 +03:00
Ivan Savenko
c80f865f8c Added changelog for 1.5.4 2024-07-09 11:50:11 +00:00
Ivan Savenko
e42285c2f1
Merge pull request #4240 from IvanSavenko/bugfixing
[1.5.4] Bugfixing
2024-07-09 14:32:24 +03:00
Ivan Savenko
7ec702bac3
Merge pull request #4241 from vcmi/fix_damage_estimation
Limit predicted damage / loses to actual stack health
2024-07-09 14:28:28 +03:00
Ivan Savenko
7775b31182
Merge pull request #4238 from kambala-decapitator/android-install-from-file
treat manually selected/dropped file as a file path instead of URL
2024-07-09 14:28:06 +03:00
Ivan Savenko
7acb93867e
Merge pull request #4239 from Laserlicht/sign
changed to signature based file validation (gog installer)
2024-07-09 14:27:48 +03:00
SoundSSGood
b42c6dbf44 fixed regressions 2024-07-09 14:27:05 +03:00
SoundSSGood
ef1fbffad4 ArtifactsUIController class 2024-07-09 14:27:05 +03:00
SoundSSGood
f87762bc96 endBattleConfirm 2024-07-09 14:27:04 +03:00
SoundSSGood
6dd76908bc MoveArtifact struct not used now 2024-07-09 14:27:04 +03:00
SoundSSGood
5dbe88d9a4 End of battle BulkMoveArtifacts 2024-07-09 14:27:04 +03:00
Tomasz Zieliński
5eabadd7db Use vstd 2024-07-09 06:50:00 +02:00
Tomasz Zieliński
bfa93be765 Limit predicted damage / loses to actual stack health 2024-07-09 06:39:41 +02:00
Ivan Savenko
6300473ff8 Block AI from acting at the same time as guest-human during simturns 2024-07-08 20:57:47 +00:00
Ivan Savenko
a19b3b61ad Fixed missing addInfo when owner updater is used 2024-07-08 20:57:14 +00:00
Ivan Savenko
c64e7ee14c Fix possible crash on Faerie Dragon killing themselves with Frost Ring 2024-07-08 20:56:43 +00:00
Ivan Savenko
c357fdb80d Reveal terrain whenever hero receives a secondary skill 2024-07-08 20:56:17 +00:00
Ivan Savenko
81aa831237 Clarified bonus types documentation to better match actual logic 2024-07-08 20:55:41 +00:00
Ivan Savenko
575d15c425 Fix centering on selected map object on loading save 2024-07-08 20:52:37 +00:00
Ivan Savenko
7445e950ba Replace uint64_t with signed type to prevent overflow on substraction 2024-07-08 20:52:11 +00:00
Ivan Savenko
ae689625e4
Merge pull request #4219 from smanolloff/add-tbb-dependency
Add TBB in conanfile and CMakeLists
2024-07-08 19:34:08 +03:00
Laserlicht
c2e02297e1
code review 2024-07-08 18:00:30 +02:00
Laserlicht
ce46f43eca
changed to signature based file validation 2024-07-08 17:27:02 +02:00
Ivan Savenko
719f920914
Merge pull request #4235 from kaja47/patch-1
reorder fields to shrink struct TerrainTile from 96 to 80 bytes
2024-07-08 17:59:29 +03:00
Xilmi
94e5b5519c Fixed AI constantly visiting towns thinking they can get a huge upgrade
Due to morale-considerations the AI sometimes calculated that their strongest army after doing an exchange had slightly lower total value than the army they used before.
But by using unsigned "slightly lower" became near infinite.
So they constantly wanted to upgrade their army because they considered it more useful than anything else.
Changing the unsigned into signed fixes this.
2024-07-08 16:53:14 +02:00
Andrey Filipenkov
5d9c1f986f [launcher] treat manually selected/dropped file as a file path instead of URL
fixes file installation on Android
2024-07-08 16:10:44 +03:00
Simeon Manolov
601840eb5f
address code review comments 2024-07-08 00:02:01 +03:00
Xilmi
d4308c2ce4 Merge branch 'fixes_only' into develop 2024-07-07 22:52:03 +02:00
Xilmi
a72d23ed8d Debug-Info
Added some debug-info and non-fuzzy-specific-priority-cutoff.
2024-07-07 22:51:50 +02:00
Xilmi
7b407b6432 AI-variant without fuzzy-logic
It is now possible to switch to an AI-variant that uses hand-written heuristics for decision-making rather than the FuzzyLite-engine. This is configurable in nkai-settings.json via the new parameter "useFuzzy".
2024-07-07 22:44:52 +02:00
Xilmi
aa891cb8b1 Armycost
Added new method to retrieve the cost of an army to be used for AI-decision-making.
2024-07-07 22:38:37 +02:00
Xilmi
e0a81b3e69 Fixed AI-exploration-data being lost after loading savegame
The information of whether objects like a redwood-observatory or subterranian gates have been interacted with by the AI will now be retrieved from the game-state instead of using an AI-internal memory that won't survive loading a save-game.
2024-07-07 22:08:19 +02:00
Andrii Danylchenko
1be36e1ad4 NKAI: rewardables 2024-07-07 21:58:39 +03:00