1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
Commit Graph

16473 Commits

Author SHA1 Message Date
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
Ivan Savenko
075582910a Less CPU intensive version of ExplorationHelper::scanMap method 2024-07-04 07:53:25 +00:00
Ivan Savenko
b0ff97675e Remove mutex from access to constant value 2024-07-03 21:16:25 +00:00
Ivan Savenko
73fdd12581 Use optimized container without dynamic memory allocations 2024-07-03 21:15:40 +00:00
Ivan Savenko
1468abb8a0 Remove excessive copies of large objects 2024-07-03 21:14:22 +00:00
Ivan Savenko
95d8e447b2 Remove access to text translation system from AI 2024-07-03 21:13:55 +00:00
Ivan Savenko
40f17d654d Use containers with pre-allocations to improve pathfinding speed 2024-07-03 18:06:56 +00:00
Ivan Savenko
24b77b0972 Remove access to hero name translation 2024-07-03 17:01:38 +00:00
Gigas002
b328a423a4
Update mapeditor/CMakeLists.txt
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-07-03 14:46:15 +00:00
Simeon Manolov
41a19bcdf3
Add TBB in conanfile and CMakeLists 2024-07-03 14:17:11 +03:00
Ivan Savenko
17841b8f2a
Merge pull request #4171 from Laserlicht/tutorial_reset
reset tutorial button
2024-07-03 13:45:48 +03:00
Ivan Savenko
70af104839
Merge pull request #4208 from Laserlicht/patch-3
[1.5.4] fix text lenght
2024-07-03 13:31:29 +03:00