Simeon Manolov
9d73b50979
Bind server to a randomly assigned port
2024-07-12 01:06:36 +03: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
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
Ivan Savenko
f414336243
Merge pull request #4231 from Xilmi/develop
...
Crash fix
2024-07-06 19:16:41 +03:00
Xilmi
cf0d08555b
Crash fix
...
Fixed a crash that could occur when closing the game.
2024-07-06 15:34:36 +02:00
Ivan Savenko
1b10aaa493
Merge pull request #4195 from Alexander-Wilms/fix-issues-introduced-by-fixing-typos
...
Fix issues introduced by fixing typos
2024-07-03 13:27:55 +03:00
Alexander Wilms
31e1d39f92
Fix issues introduced by fixing typos
2024-06-27 08:38:04 +00:00
Ivan Savenko
8444f7b330
Merge pull request #4185 from Alexander-Wilms/typo
...
Fix typos
2024-06-26 13:54:21 +03:00
Alexander Wilms
02e429e973
Fix typos using https://github.com/crate-ci/typos
...
Changes were reviewed manually
2024-06-24 03:47:19 +02:00
Alexander Wilms
820b1b446e
Fix typo: TowmPortalFinder -> TownPortalFinder
2024-06-23 22:40:15 +02:00
Ivan Savenko
3bea383b59
Merge branch 'vcmi/beta' into 'vcmi/develop'
2024-06-21 12:58:36 +00:00
Ivan Savenko
c328007687
Merge pull request #4173 from vcmi/master
...
Merge master -> beta
2024-06-21 14:47:41 +03:00
Ivan Savenko
099a491762
Merge pull request #4170 from IvanSavenko/remove_storage_permission
...
Remove storage permissions
2024-06-21 01:15:25 +03:00
Ivan Savenko
bdd9ae5268
Remove excessive auto-generated permissions by Qt
2024-06-20 18:41:06 +00:00
Ivan Savenko
ed685184e4
Updated path to JNI libraries
2024-06-20 17:10:11 +00:00
Ivan Savenko
afc0c8fb5c
Update path to JNI upload
2024-06-20 17:07:48 +00:00
Ivan Savenko
13de373def
Add signing password to build step
2024-06-20 15:49:01 +00:00
Ivan Savenko
dcc9c03237
Add java setup to fix aab generation
2024-06-20 14:43:45 +00:00
Ivan Savenko
8e82764270
Fix aab generation CI
2024-06-20 13:12:58 +00:00
Ivan Savenko
2ff08b42fa
Fix aab generation CI
2024-06-20 13:08:45 +00:00
Ivan Savenko
48f32aa5e2
Merge pull request #4168 from vcmi/beta
...
Merge beta -> master
2024-06-20 14:19:47 +03:00
Ivan Savenko
650dfcbed8
Merge pull request #4166 from IvanSavenko/release_153
...
Preparation for 1.5.3 release
2024-06-20 14:07:44 +03:00
Ivan Savenko
0d3408ee68
Add better runtime error on invalid building ID
2024-06-20 10:08:49 +00:00
Ivan Savenko
f0ad2e042e
Add download counter for 1.5.3
2024-06-19 20:17:05 +00:00
Ivan Savenko
a9dae99a75
Final changelog update
2024-06-19 20:14:46 +00:00
altiereslima
edf10d8174
Update Portuguese Translation ( #4121 )
...
* Update Portuguese Translation
2024-06-19 20:00:25 +00:00
Ivan Savenko
8c63a3e4de
Running out of timer during battle will no longer force retreat
2024-06-19 19:59:06 +00:00
Ivan Savenko
cfcecbf630
Fix documentation to match actual behavior
2024-06-19 19:59:06 +00:00
Ivan Savenko
4e9feca8d4
Validate mod.json as json5 instead of strict json since Android launcher
...
no longer exists
2024-06-19 19:59:06 +00:00
Ivan Savenko
2b7131cfea
Show error message if vcmi unable to access data directory instead of
...
silent crash
2024-06-19 19:59:06 +00:00
Ivan Savenko
0e4be8c776
Fix crash on sieging Citadel or Castle
2024-06-19 19:59:06 +00:00
Ivan Savenko
7fa45f5f89
Merge pull request #4132 from IvanSavenko/launcher_msvc_rcc
...
Try to enable AUTO_RCC on msvc
2024-06-19 22:58:41 +03:00
Ivan Savenko
7fccfb66de
Try to enable AUTO_RCC on msvc
2024-06-19 18:39:27 +00:00
Ivan Savenko
11a9faddb9
Merge pull request #4094 from IvanSavenko/changelog_153
...
[1.5.3] Changelog
2024-06-19 21:33:24 +03:00
Ivan Savenko
c7aeea2c58
Added changelog for 1.5.3
2024-06-19 18:31:21 +00:00
Ivan Savenko
85d170af70
Merge pull request #4163 from godric3/fix-serialization-of-subtype-to-include-mod-id
...
fix CGObjectInstance `subTypeName` to include mod id
2024-06-19 21:29:06 +03:00
Ivan Savenko
a9cf322f61
Merge pull request #4161 from vcmi/fix-4142
...
#4142 - sometimes Battle AI wants to attack unit which is behind a lo…
2024-06-19 21:28:58 +03:00
altiereslima
c8aeee764b
Update Portuguese Translation ( #4121 )
...
* Update Portuguese Translation
2024-06-19 21:28:46 +03:00
godric3
ddfc212a03
fix CGObjectInstance subTypeName
to include mod id
2024-06-18 21:42:22 +02:00
Andrii Danylchenko
fc32078a3a
#4142 - sometimes Battle AI wants to attack unit which is behind a lot of obstackles and other units
2024-06-18 20:03:07 +03:00
Ivan Savenko
af5572db15
Merge pull request #4157 from IvanSavenko/bugfixing
...
[1.5.3] Bugfixing
2024-06-18 12:14:43 +03:00
Ivan Savenko
c9ba006445
Merge pull request #4156 from IvanSavenko/crashfixes
...
[1.5.3] Crashfixes
2024-06-18 12:14:06 +03:00
Ivan Savenko
8e68c7dcd8
Merge pull request #4144 from vcmi/fix-4139
...
#4139 - attempt to fix crash on portal probbing
2024-06-18 12:07:24 +03:00
Ivan Savenko
0ca41127a6
Merge pull request #4152 from IvanSavenko/rmg_fix
...
[1.5.3] Fix rmg generation if player list is not continuous
2024-06-18 12:06:40 +03:00
Ivan Savenko
be35fbab15
Merge pull request #4153 from IvanSavenko/battleai_fix
...
[1.5.3] Fix thread races in BattleAI spellcasting estimation
2024-06-18 12:06:13 +03:00
Ivan Savenko
76bb32536f
Correctly iterate over allowed spells set (was vector originally)
2024-06-17 20:58:04 +00:00
Ivan Savenko
6a0768aae6
Fix allied towns missing from town portal dialog
2024-06-17 20:46:47 +00:00
Ivan Savenko
38bee87cf4
Do not activate mana vortex if hero already has double mana
2024-06-17 20:22:36 +00:00
Ivan Savenko
4e7809d934
Take resources on quest completion instead of giving them
2024-06-17 20:18:34 +00:00
Ivan Savenko
c68f2da977
Fix initialization of gold pile from random resource with fixed amount
2024-06-17 20:08:07 +00:00