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

16534 Commits

Author SHA1 Message Date
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
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
Andrii Danylchenko
1be36e1ad4 NKAI: rewardables 2024-07-07 21:58:39 +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
Laserlicht
8b1c038415 fix 2024-07-06 23:57:08 +02:00
Laserlicht
81574138c7 show only used fields 2024-07-06 23:22:40 +02:00
Laserlicht
37c783b7c1 code review 2024-07-06 22:55:56 +02:00
Ivan Savenko
a15a191557
Merge pull request #4228 from IvanSavenko/version_bump_154
Version bump to 1.5.4
2024-07-06 19:35:59 +03:00
Ivan Savenko
f414336243
Merge pull request #4231 from Xilmi/develop
Crash fix
2024-07-06 19:16:41 +03:00
Kryštof Černý
e5e5ccb61a mapeditor cz translation work 2024-07-06 16:06:20 +02:00
Kryštof Černý
67f81c1b91 Translate launcher 2024-07-06 15:57:36 +02:00
Xilmi
cf0d08555b Crash fix
Fixed a crash that could occur when closing the game.
2024-07-06 15:34:36 +02:00
Laserlicht
da83f5dc3b fix if only one line 2024-07-06 13:04:00 +02:00
Laserlicht
301da0b75a fix for multiplayer 2024-07-06 13:04:00 +02:00
Laserlicht
27dd00f8ce remember slider location 2024-07-06 13:04:00 +02:00
Laserlicht
3f0be7e904 invite hero scroll 2024-07-06 13:04:00 +02:00
Laserlicht
684a9519b6 max columns 2024-07-06 13:04:00 +02:00
Laserlicht
b3f0bf1e1d finish slider 2024-07-06 13:04:00 +02:00
Laserlicht
29d4cf274a basic slider 2024-07-06 13:04:00 +02:00
Ivan Savenko
e1ee8df2b9
Merge pull request #4227 from vcmi/beta
Merge beta -> master
2024-07-05 19:34:46 +03:00
Ivan Savenko
0de7e431f0 Version bump to 1.5.4 2024-07-05 13:48:24 +00:00
Ivan Savenko
11a3da3f4f
Merge pull request #4220 from IvanSavenko/ai_optimize
[1.5.4] AI optimizations
2024-07-05 15:45:49 +03:00
Ivan Savenko
5f3394176c
Merge pull request #4223 from vcmi/more_diagonal_roads
Route roads even further away from zone boundary
2024-07-05 15:45:28 +03:00
Ivan Savenko
6835c18c86
Merge pull request #4224 from IvanSavenko/android_sdk_bump
Bump Android target SDK to Android 14 (34)
2024-07-05 15:34:49 +03:00
Ivan Savenko
4695c88705
Merge pull request #4221 from IvanSavenko/bugfixing
[1.5.4] Bugfixing
2024-07-05 15:34:15 +03:00
Ivan Savenko
b5c36958a9 Workaround for very slow boat summon tests 2024-07-04 19:56:01 +00:00
Ivan Savenko
ad972eb7e2 Optimize BonusList::totalValue 2024-07-04 19:55:09 +00:00
Ivan Savenko
b2b3dafe10 Bump Android target SDK to Android 14 (34) 2024-07-04 14:44:25 +00:00
Tomasz Zieliński
5b99974d31 Route roads even further away from zone boundary 2024-07-04 14:22:22 +02:00
Ivan Savenko
4e0d752c3c
Merge pull request #4201 from Gigas002/beta
Embed translations and icons for mapeditor
2024-07-04 11:59:27 +03:00
Ivan Savenko
1f8fa3cd01 Bump version code for Android 2024-07-04 08:46:39 +00:00
Ivan Savenko
38bcc1e475 Restored logic of up/down key in town interface 2024-07-04 08:46:39 +00:00
Ivan Savenko
2584432b92 Fix crash on clicking on map when player is not making turn in MP 2024-07-04 08:46:39 +00:00
Ivan Savenko
5ccf6750ab Fix assertion failure 2024-07-04 08:46:39 +00:00
Ivan Savenko
41ed7e2e10 Added TODO's for potential optimizations that I've discovered 2024-07-04 07:59:50 +00:00