1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-08 22:26:51 +02:00
Commit Graph

19047 Commits

Author SHA1 Message Date
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
5caf12f22f Few more fixes to bonus caching 2024-12-22 13:27:40 +00:00
9c9cbbbe1d Apply suggestions from code review 2024-12-22 09:10:56 +03:00
487297b05e correct align of thiefguild text an add popup 2024-12-22 00:13:36 +01:00
d14e8b7261 Update Russian translation for .ts files 2024-12-21 23:52:17 +01:00
6c4633b064 add shortcut 2024-12-21 22:06:27 +01:00
2ebf37beb0 Define Q_NO_EMIT in cmake in order to include moc compilation 2024-12-21 19:24:26 +00:00
23e46be992 Rename new namespace to avoid WinAPI name clash, review fixes 2024-12-21 19:06:31 +00:00
95a07ee5cb Use bonus system cache whenever possible 2024-12-21 18:47:11 +00:00
e2e5fce3b5 Disable emit macro from Qt to fix Qt-tbb conflict 2024-12-21 15:36:36 +00:00
a432009841 Fix build 2024-12-21 14:43:09 +00:00
291c5e1027 Do not send empty packets changing primary skills by 0 points 2024-12-21 14:43:09 +00:00
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
4f80ccd648 Small micro-optimizations for code that gets called A LOT 2024-12-21 14:43:09 +00:00
b8a04c6356 Avoid vector allocation when accessing game settings value 2024-12-21 14:43:09 +00:00
9e2646898b Add pre-computed vectors of owned objects for faster access 2024-12-21 14:43:09 +00:00
0e1f8f99bc Reduce excessive logging 2024-12-21 14:43:08 +00:00
ab45c58e26 Use small_vector for bonus list to reduce allocations 2024-12-21 14:43:08 +00:00
56d5911452 Optimized getMovementRange method - caching, faster route for 0 turns 2024-12-21 14:43:08 +00:00
94981076a2 Do not aquire pointer to Terrain type multiple times 2024-12-21 14:43:08 +00:00
30b2bba35b [beta] Version bump to 1.6.1
Release date TBD
2024-12-21 14:22:51 +00:00
2272707175 Merge pull request #5117 from IvanSavenko/teleporter_ui
Added new right-click popup to teleporters
2024-12-21 16:17:15 +02:00
5636b9076f Disable terminate handler on Android to fix Google Play reporter 2024-12-21 14:14:04 +00:00
aa775479f4 Add workaround for iOS+Qt bug 2024-12-21 14:13:35 +00:00
69eac2f943 Disable xbrz by default on mobile platforms till performance issues are
fixed
2024-12-21 14:07:43 +00:00
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
e612fbb0c1 Merge pull request #5108 from IvanSavenko/preset_import
[1.6.1?] Mod preset import/export
2024-12-21 15:57:33 +02:00
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
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
48278fe301 Merge pull request #5122 from Laserlicht/fix_music
[1.6.1] fix music
2024-12-21 15:45:33 +02:00
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
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
371063c44e Merge remote-tracking branch 'upstream/develop' into develop 2024-12-21 12:09:05 +01:00
38c0cd138b fix music 2024-12-21 01:38:29 +01:00
b2a24338cb Fix too long strings 2024-12-20 18:00:25 +01:00
6bd765b89e Polish translation to reach 100% 2024-12-20 16:53:37 +01:00
370ecf6f66 Merge pull request #5115 from vcmi/master
Merge master -> develop
2024-12-20 16:00:41 +02:00
1cbe1229ee Merge pull request #5114 from vcmi/beta
Merge beta -> master
1.6.0
2024-12-19 18:14:26 +02:00
0a30e86f10 Merge pull request #5109 from IvanSavenko/release_160
Preparation for release 1.6.0
2024-12-19 16:28:23 +02:00
ab58b6cc42 Merge pull request #5088 from IvanSavenko/changelog_160
Changelog for 1.6.0
2024-12-19 16:04:34 +02:00
9d17794e50 Merge pull request #5111 from IvanSavenko/bugfixing_beta_4
Final bugfixes for 1.6.0
2024-12-19 16:04:17 +02:00
a7ff656c06 Merge remote-tracking branch 'upstream/beta' into develop 2024-12-19 14:56:11 +01:00
9a39fe3571 Final changelog for 1.6.0 2024-12-19 13:48:33 +00:00
34d507154c Merge pull request #5107 from MichalZr6/update_polish_translation
Polish translation update
2024-12-19 15:45:05 +02:00
e3d61d1da7 Merge pull request #5112 from GeorgeK1ng/beta
Updated Czech translation
2024-12-19 15:44:40 +02:00
19e6a83c19 Quick workaround for xbrz terrain animations bug 2024-12-19 13:43:38 +00:00
f893c80192 Move UpgradeInfo class to header and source files 2024-12-19 14:13:09 +01:00
bfa2b47210 Updated Czech translation 2024-12-19 09:26:16 +01:00
7cc9aeaa41 Fix crash on mod update. Do not reset selection on screenshot download 2024-12-18 22:08:38 +00:00
8b9bbadad8 Try to place text inside progress bar on every OS 2024-12-18 22:04:15 +00:00