1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-16 02:47:36 +02:00
Commit Graph

18637 Commits

Author SHA1 Message Date
Ivan Savenko
5caf12f22f Few more fixes to bonus caching 2024-12-22 13:27:40 +00: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
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
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
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
Xilmi
371063c44e Merge remote-tracking branch 'upstream/develop' into develop 2024-12-21 12:09:05 +01:00
Laserlicht
38c0cd138b fix music 2024-12-21 01:38:29 +01:00
MichalZr6
b2a24338cb Fix too long strings 2024-12-20 18:00:25 +01:00
MichalZr6
6bd765b89e Polish translation to reach 100% 2024-12-20 16:53:37 +01:00
Ivan Savenko
370ecf6f66
Merge pull request #5115 from vcmi/master
Merge master -> develop
2024-12-20 16:00:41 +02:00
Ivan Savenko
1cbe1229ee
Merge pull request #5114 from vcmi/beta
Merge beta -> master
2024-12-19 18:14:26 +02:00
Ivan Savenko
0a30e86f10
Merge pull request #5109 from IvanSavenko/release_160
Preparation for release 1.6.0
2024-12-19 16:28:23 +02:00
Ivan Savenko
ab58b6cc42
Merge pull request #5088 from IvanSavenko/changelog_160
Changelog for 1.6.0
2024-12-19 16:04:34 +02:00
Ivan Savenko
9d17794e50
Merge pull request #5111 from IvanSavenko/bugfixing_beta_4
Final bugfixes for 1.6.0
2024-12-19 16:04:17 +02:00
Xilmi
a7ff656c06 Merge remote-tracking branch 'upstream/beta' into develop 2024-12-19 14:56:11 +01:00
Ivan Savenko
9a39fe3571 Final changelog for 1.6.0 2024-12-19 13:48:33 +00:00
Ivan Savenko
34d507154c
Merge pull request #5107 from MichalZr6/update_polish_translation
Polish translation update
2024-12-19 15:45:05 +02:00
Ivan Savenko
e3d61d1da7
Merge pull request #5112 from GeorgeK1ng/beta
Updated Czech translation
2024-12-19 15:44:40 +02:00
Ivan Savenko
19e6a83c19 Quick workaround for xbrz terrain animations bug 2024-12-19 13:43:38 +00:00
MichalZr6
f893c80192 Move UpgradeInfo class to header and source files 2024-12-19 14:13:09 +01:00
George King
bfa2b47210
Updated Czech translation 2024-12-19 09:26:16 +01:00
Ivan Savenko
7cc9aeaa41 Fix crash on mod update. Do not reset selection on screenshot download 2024-12-18 22:08:38 +00:00
Ivan Savenko
8b9bbadad8 Try to place text inside progress bar on every OS 2024-12-18 22:04:15 +00:00
Ivan Savenko
03b7622a1d Fix positioning of scaleable main menu when xbrz is in use 2024-12-18 22:04:15 +00:00
Ivan Savenko
23f3936739 Correctly disable root mod if it conflicts with mod player is trying to
enable
2024-12-18 22:04:15 +00:00
Xilmi
fa3e0867c4 Merge remote-tracking branch 'upstream/beta' into develop 2024-12-18 15:03:22 +01:00
MichalZr6
af9445c16f Fixes following review 2024-12-17 22:34:06 +01:00
MichalZr6
bbc41fc1b9 fix typo, fix unused variable 2024-12-17 22:34:06 +01:00
MichalZr6
d8d3948ac3 Fix AI to use hillFort all available upgrades. UpgradeInfo refactor. 2024-12-17 22:34:06 +01:00
Ivan Savenko
e8842c2e12
Merge pull request #5104 from GeorgeK1ng/beta
Support for native multilanguage installer in main VCMI languages
2024-12-17 19:32:08 +02:00
Ivan Savenko
3cbe4323c6 Release 1.6.0 2024-12-17 17:26:56 +00:00
Ivan Savenko
87e3340a56 Track clipboard state and update UI accordingly 2024-12-17 17:20:36 +00:00
Ivan Savenko
ba5ed98da5 Automatically install missing mods from preset 2024-12-17 16:37:55 +00:00