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

16290 Commits

Author SHA1 Message Date
Ivan Savenko
04a81fee87 Reduce size of CGPathNode and AIPathNode 2024-07-15 07:49:04 +00:00
Ivan Savenko
6b8f94e6e7 Merge remote-tracking branch 'vcmi/master' into develop 2024-07-11 17:43:44 +00:00
Ivan Savenko
286a70c007
Merge pull request #4250 from vcmi/beta
Merge beta -> master
2024-07-11 15:13:26 +03:00
Ivan Savenko
006fadb82c
Merge pull request #4247 from IvanSavenko/release_154
Preparations for release 1.5.4
2024-07-11 11:45:27 +03:00
Ivan Savenko
143fcb7907
Merge pull request #4249 from kambala-decapitator/install-file-async
call Install From File button handler asynchronously
2024-07-11 11:45:18 +03:00
Ivan Savenko
fd297f08e2 Add quick workaround for loading identifiers from difficulty bonuses 2024-07-10 22:33:09 +00:00
Andrey Filipenkov
98cda246a2 [launcher] call Install From File button handler asynchronously 2024-07-10 21:41:26 +03:00
Ivan Savenko
b2729f2661 Updated changelog 2024-07-10 14:41:19 +00:00
Xilmi
98415e98da 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-10 14:36:35 +00:00
Ivan Savenko
92d32c4573 Add downloads counter for 1.5.4. Remove some older ones since they won't
fit into a single row
2024-07-10 14:36:24 +00:00
Ivan Savenko
ef68bd7ac0 Show message to player and close game if creature battle animation is
missing (demo assets usage?)
2024-07-10 14:36:24 +00:00
Ivan Savenko
bd10f2d939 Updated Ukrainian translation 2024-07-10 14:36:24 +00:00
Ivan Savenko
dbc227da04 Fix incorrect tooltip when right-clicking Witch Hut if selected hero
already has this skill
2024-07-10 14:36:24 +00:00
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
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
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
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
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
Kryštof Černý
3219adace9 Base cz work 2024-07-07 16:39:18 +02:00
K
d3c198678c
reorder fields to shrink struct TerrainTile from 96 to 80 bytes
When I was playing a very large map, computer's turn took up to 2 minutes and that give me time to fire up perf and profile the code while waiting.

I noticed that 1.7% of time was spent in function CPathfinderHelper::getNeighbors and half of that on a single load from an array backing multi_array of TerrainTiles. That signals the CMap::terrain is too big to fit in CPU caches.

This patch reorders fields in TerrainTile struct, shrinking it from 96 bytes to 80 bytes and hopefully helping to keep more tiles in the cache and speeding things up a little bit.
2024-07-07 12:53:29 +00:00