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

18665 Commits

Author SHA1 Message Date
Ivan Savenko
8cde4f1434
Merge pull request #5143 from IvanSavenko/junkman_fix
Remove MetaString method that can't be used with modded objects
2024-12-25 13:42:44 +02:00
Ivan Savenko
d5e8226939
Merge pull request #5144 from IvanSavenko/selection_fix
Fix crash on attempting to install mod when nothing is selected
2024-12-25 13:42:28 +02:00
Ivan Savenko
0620161287
Merge pull request #5127 from IvanSavenko/hotfix
[1.6.1] Fixes for 1.6.0 issues reported on Discord
2024-12-25 00:12:55 +02:00
Ivan Savenko
cd67ced178
Merge pull request #5110 from IvanSavenko/ai_optimize
[1.6.1] AI optimization
2024-12-25 00:12:38 +02:00
Ivan Savenko
a245000749 Fix crash on attempting to install mod when nothing is selected
Fixes situation in which it was possible to have mod description and mod
actions visible (usually for 1st mod in list) without actually having
this mod selected in the list, leading to crash on pressing "Install"
button.

Now selection should be updated correctly in both mod description view
and in mod list
2024-12-24 15:45:17 +00:00
Ivan Savenko
101fd694b9 Remove MetaString method that can't be used with modded objects 2024-12-24 15:04:01 +00:00
Ivan Savenko
fdc4608e1e Define Q_NO_EMIT only in editor 2024-12-24 13:53:55 +00:00
Ivan Savenko
ec25eb557b
Merge pull request #5140 from IvanSavenko/crashfixes
Fixes for crashes discovered via Google Play
2024-12-24 15:53:23 +02:00
Ivan Savenko
d58202d2a1
Merge pull request #5137 from Laserlicht/bonus
[1.6.1] Bonus display
2024-12-24 15:51:02 +02:00
Ivan Savenko
7b976d058e For PC don't go higher than xbrz2 until performance is fixed 2024-12-24 13:38:32 +00:00
Laserlicht
e1b0a11c54 improve spell school translation 2024-12-24 14:05:21 +01:00
Ivan Savenko
249b26b8c6
Merge pull request #5130 from Laserlicht/android_shortcut
[1.6.1] add shortcut for android
2024-12-24 13:52:42 +02:00
Ivan Savenko
86f42a1c05
Merge pull request #5132 from Laserlicht/graphical
[1.6.1] correct align of thiefguild text an add popup
2024-12-24 13:19:55 +02:00
Ivan Savenko
9cdef066ef
Merge pull request #5126 from IvanSavenko/version_bump_161
[beta] Version bump to 1.6.1
2024-12-24 13:05:10 +02:00
Ivan Savenko
8c6208be04 Fixes for crashes discovered via Google Play
- Fix crash on attempt to enable mod with recursive dependencies
- Fix crash on attempt to enable Chronicles after failed install
- Fixed crash on attempt to access non-installed mod when repository
checkout is off
- Show error message on failure to load filesystem instead of crash in
launcher
- Added workaround for crash on attempt to delete nonexisting save/map
- Added logging of mod settings to log file to simplify debugging
2024-12-23 18:00:35 +00:00
Ivan Savenko
814234017d Minor tweaks to xbrz performance 2024-12-23 13:59:09 +00:00
Ivan Savenko
1caab5100a Try to reduce amount of time AI spends on pathfinding 2024-12-23 13:26:54 +00:00
Laserlicht
7a4afc46a2 fix OPENING_BATTLE_SPELL 2024-12-22 21:23:31 +01:00
Laserlicht
e0e09ccb75 Show OPENING_BATTLE_SPELL 2024-12-22 19:40:14 +01:00
Laserlicht
c68db70405 fix text for spell school bonus 2024-12-22 19:11:16 +01:00
Ivan Savenko
e035cf9e63 Optimized getHeroStrength method
- replaced 4x access to bonus system with single access
- fixed formula for Diplomacy
- fxied formula for hero transfer in campaigns
- removed pointless sqrt(pow()) construct
2024-12-22 14:49:35 +00:00
Ivan Savenko
5caf12f22f Few more fixes to bonus caching 2024-12-22 13:27:40 +00:00
Laserlicht
487297b05e correct align of thiefguild text an add popup 2024-12-22 00:13:36 +01:00
Laserlicht
6c4633b064 add shortcut 2024-12-21 22:06:27 +01:00
Ivan Savenko
2ebf37beb0 Define Q_NO_EMIT in cmake in order to include moc compilation 2024-12-21 19:24:26 +00:00
Ivan Savenko
23e46be992 Rename new namespace to avoid WinAPI name clash, review fixes 2024-12-21 19:06:31 +00:00
Ivan Savenko
95a07ee5cb Use bonus system cache whenever possible 2024-12-21 18:47:11 +00:00
Ivan Savenko
e2e5fce3b5 Disable emit macro from Qt to fix Qt-tbb conflict 2024-12-21 15:36:36 +00:00
Ivan Savenko
a432009841 Fix build 2024-12-21 14:43:09 +00:00
Ivan Savenko
291c5e1027 Do not send empty packets changing primary skills by 0 points 2024-12-21 14:43:09 +00:00
Ivan Savenko
42b960417c Reworked bonus caching locking scheme:
- use concurrent map from tbb for faster access to already cached values
- use std::shared_mutex instead of boost::mutex to access bonuses
- accessing to values existing in cache is now done without locking main
mutex
2024-12-21 14:43:09 +00:00
Ivan Savenko
4f80ccd648 Small micro-optimizations for code that gets called A LOT 2024-12-21 14:43:09 +00:00
Ivan Savenko
b8a04c6356 Avoid vector allocation when accessing game settings value 2024-12-21 14:43:09 +00:00
Ivan Savenko
9e2646898b Add pre-computed vectors of owned objects for faster access 2024-12-21 14:43:09 +00:00
Ivan Savenko
0e1f8f99bc Reduce excessive logging 2024-12-21 14:43:08 +00:00
Ivan Savenko
ab45c58e26 Use small_vector for bonus list to reduce allocations 2024-12-21 14:43:08 +00:00
Ivan Savenko
56d5911452 Optimized getMovementRange method - caching, faster route for 0 turns 2024-12-21 14:43:08 +00:00
Ivan Savenko
94981076a2 Do not aquire pointer to Terrain type multiple times 2024-12-21 14:43:08 +00:00
Ivan Savenko
30b2bba35b [beta] Version bump to 1.6.1
Release date TBD
2024-12-21 14:22:51 +00:00
Ivan Savenko
2272707175
Merge pull request #5117 from IvanSavenko/teleporter_ui
Added new right-click popup to teleporters
2024-12-21 16:17:15 +02:00
Ivan Savenko
5636b9076f Disable terminate handler on Android to fix Google Play reporter 2024-12-21 14:14:04 +00:00
Ivan Savenko
aa775479f4 Add workaround for iOS+Qt bug 2024-12-21 14:13:35 +00:00
Ivan Savenko
69eac2f943 Disable xbrz by default on mobile platforms till performance issues are
fixed
2024-12-21 14:07:43 +00:00
Ivan Savenko
c401eca7c4
Merge pull request #5105 from Xilmi/develop
AI is now able to deal with Coven and Factory special building-behavior's.
2024-12-21 15:57:50 +02:00
Ivan Savenko
e612fbb0c1
Merge pull request #5108 from IvanSavenko/preset_import
[1.6.1?] Mod preset import/export
2024-12-21 15:57:33 +02:00
Ivan Savenko
dac1ba64e1
Merge pull request #5116 from MichalZr6/update_polish_translation
Polish translation for .ts files to reach 100%
2024-12-21 15:52:29 +02:00
Ivan Savenko
0797e571ab
Merge pull request #4996 from MichalZr6/hill_fort_fix_for_AI
Enable AI to use all Hill Fort upgrades, including alternative ones
2024-12-21 15:51:58 +02:00
Ivan Savenko
48278fe301
Merge pull request #5122 from Laserlicht/fix_music
[1.6.1] fix music
2024-12-21 15:45:33 +02:00
Ivan Savenko
2be528ae36
Merge pull request #4999 from MichalZr6/frames_from_def
Fix crash on missing DEF frames for in-game assets
2024-12-21 15:44:25 +02:00
Ivan Savenko
6d8e447ff3 Added new right-click popup to teleporters
Whirlpool, Subterranean Gates, and all Monoliths now show custom popup
on right-click that show all linked objects (exits and entrances).

Only revealed objects are visible, rest are hidden behind fow.

Exits, entrances, and bidirectional objects have different icon that
indicates direction.
2024-12-21 12:01:33 +00:00