1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-19 21:10:12 +02:00

7710 Commits

Author SHA1 Message Date
Ivan Savenko
e7fbe2d387 Fix build 2025-02-25 16:55:58 +00:00
Ivan Savenko
d1b13a0fe4 Add check for mod compatibilty 2025-02-25 16:19:15 +00:00
Ivan Savenko
e720d06e79 Add logging for failure to extract file from .zip, with check for Windows
260 path length limit
2025-02-25 15:28:07 +00:00
Ivan Savenko
b372cc84e9 Avoid crash if object has same name as on provided in compatiblity
identifiers field
2025-02-25 15:26:16 +00:00
Ivan Savenko
3c88d8a2c3
Merge pull request #5446 from IvanSavenko/stable_fix
[1.6.6] Fix visiting of Stables in Castle after visiting adventure map stables on the same week
2025-02-19 19:37:29 +02:00
Ivan Savenko
085409bea9 Stables in Castle will now check for and give same bonuses as map stable 2025-02-18 14:35:52 +00:00
Laserlicht
70891b0304
portmaster support 2025-02-16 22:29:07 +01:00
Ivan Savenko
87dec3c1df
Merge pull request #5428 from Laserlicht/patch-2
[1.6.6] multiple fixes
2025-02-15 11:14:50 +02:00
Ivan Savenko
5432dc66c8
Merge pull request #5424 from IvanSavenko/tavern_fix
[1.6.6] Fix stacking of bonuses from buildings like Tavern
2025-02-15 11:13:21 +02:00
Laserlicht
989a437eef fixes #5346 2025-02-14 22:19:26 +01:00
Ivan Savenko
58a6185b43 Fix stacking of bonuses from buildings like Tavern
- Same buildings in different towns of the same faction that provide
bonuses with propagators will now correctly stack their bonuses. This
fixes Tavern and possibly other such buildings
- Brotherhood of Sword now correctly adds bonus to thieves guild access
2025-02-14 14:29:58 +00:00
Ivan Savenko
2d7535eb00
Merge pull request #5395 from IvanSavenko/xbrz_effects
Implemented bloodlust, clone, and petrify effects for xbrz mode
2025-02-14 14:33:13 +02:00
Ivan Savenko
28a8d4f4a1 Implemented bloodlust, clone, and petrify effects for xbrz mode 2025-02-14 11:01:20 +00:00
Ivan Savenko
b1ae36bdff Use boost::asio::post instead of deprecated io_service::post 2025-02-13 21:36:24 +00:00
Ivan Savenko
1917fae2c0 Fix loading of HotA maps with Cove town placed on map 2025-02-09 22:11:19 +00:00
Xilmi
6c4996ff54 AI will now devalue the usefulness of non-flying units when attacking defensive structures in order to prevent suiciding against castles 2025-02-09 17:33:39 +00:00
Ivan Savenko
c13edc8af3
Merge pull request #5383 from IvanSavenko/bugfixing
[1.6.6] Fixes for issues in 1.6.5
2025-02-09 19:27:43 +02:00
Laserlicht
07b494632b optimize textSearchSimilar 2025-02-08 13:22:11 +01:00
Ivan Savenko
8bac023e82 Fix internal connection sending queued packages after closing 2025-02-06 19:22:46 +00:00
Ivan Savenko
4e6560c4c9 Fixes for issues detected by valgrind 2025-02-06 19:22:04 +00:00
Ivan Savenko
0efa39ec79 Fix pack name in logs 2025-02-06 14:21:32 +00:00
Ivan Savenko
5a02a4c07f Fix path to Chronicles campaigns background, remove old code 2025-02-06 14:21:19 +00:00
Ivan Savenko
7823dd3945 Block pathfinder from allowing to interact with heroes standing on
another visitable object
2025-02-06 14:18:18 +00:00
Ivan Savenko
2beb4c6aa4
Merge pull request #5379 from IvanSavenko/chronicle_install_fix
Fixes Chronicles installation on Windows with non-ascii chars in path
2025-02-04 17:38:29 +02:00
Ivan Savenko
b2c340158d Fixes Chronicles installation on Windows with non-ascii chars in path 2025-02-04 14:57:26 +00:00
Ivan Savenko
d72b743ce5
Merge pull request #5350 from MichalZr6/fix_miniHillFort
Fix creating buttons in Stack Window when upgrade is unavailable
2025-02-04 01:02:50 +02:00
Ivan Savenko
d9244cf061 Remove network connection from local games
This removes need for TCP network connection in single-player games.

Instead, game will now create internal pseudo-connection that performs
client<->server communication by posting sent messages to client/server
asio::io_service'a.

This should fix gameplay aborting on switching to another app on iOS (and
apparently, on Android in some cases)
2025-02-03 17:24:02 +00:00
Ivan Savenko
a95ab5a7ce Add better debugging for text conversion failure 2025-02-01 18:10:42 +00:00
Ivan Savenko
3bbfee0e1c Fix usage of std::bitset 2025-01-31 11:41:44 +00:00
MichalZr6
93414eb3bf Boost::small_vector for UpgradeInfo data, UpgradeInfo minor changes 2025-01-31 12:23:48 +01:00
Ivan Savenko
313fa1e80e Remove commented-out code 2025-01-30 11:31:54 +00:00
Ivan Savenko
d8ec69bfaa Remove non-const iterators to BattleHexArray container
Replaced with several non-const methods to prevent modification of
internal storage without corresponding modification of internal flags
2025-01-29 23:02:51 +00:00
Ivan Savenko
5c8c69e665 Smarter logic for determining whether hex is inside the walls 2025-01-29 23:01:42 +00:00
Ivan Savenko
f4c3367e43 Workarounds for crashes from Google Play
- Do not crash on failure to read json from disk
- Add more debug information for crash on BattleHex access
2025-01-28 20:22:28 +00:00
Ivan Savenko
abc7168ff6 Consider units on wall hexes as 'inside' town for tower target selection 2025-01-26 15:51:54 +00:00
Ivan Savenko
112de6324f Do not show full damage range limit for units without range penalty 2025-01-26 15:51:09 +00:00
Ivan Savenko
f858a6e04b
Merge pull request #5266 from MichalZr6/battlefield
Minor fixes to BattleHexArray. BattleHex'es as const reference where possible.
2025-01-25 17:44:14 +02:00
Ivan Savenko
df99645eca
Merge pull request #5301 from IvanSavenko/map_loading_fix
Map loading fixes
2025-01-25 17:23:54 +02:00
Ivan Savenko
722d68643f
Merge pull request #5306 from IvanSavenko/xbrz_foreground
[1.6.4?] Move xbrz upscaling from foreground thread to background
2025-01-25 17:23:46 +02:00
Ivan Savenko
9a1c2a5800
Merge pull request #5317 from Laserlicht/search_inp
[1.6.4] improved text search
2025-01-25 13:54:27 +02:00
Ivan Savenko
5ea4014589
Merge pull request #5304 from IvanSavenko/oneway_ai
Enable one-way monoliths for AI
2025-01-25 13:42:31 +02:00
Ivan Savenko
09db3e4bef Reworked resource piles loading to fix wog maps with mithril 2025-01-25 11:40:21 +00:00
Ivan Savenko
baa9b1e312 Load unknown objects as "Nothing" object 2025-01-24 19:26:40 +00:00
Ivan Savenko
e4505f20b9 Remove no longer used map checksum computation 2025-01-24 19:26:40 +00:00
Laserlicht
0035b2346a optimized search input 2025-01-23 23:50:04 +01:00
Dydzio
4f707173df Try to fix build 2025-01-23 22:27:52 +01:00
Dydzio
1c1af5c04a Basic creature joining default behavior configuration 2025-01-23 22:04:35 +01:00
Ivan Savenko
32391dc7a9 Pathfinder cache is now stored separately per playerBlocked
- human player will now use pathfinder settings from config (as before)
- nullkiller AI will now use its own, modified settings
- added option to configure NKAI usage of monolith to config
- fixed pathfinder costs not updating on receiving levelup
2025-01-23 15:28:44 +00:00
Ivan Savenko
ced98f4698 Fix pathfinding reducing tile cost by only 1 point 2025-01-22 11:05:07 +00:00
Ivan Savenko
391986e0ba Moved image scaling & optimization logic to separate classes 2025-01-21 21:15:21 +00:00