1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-30 23:18:08 +02:00
Commit Graph

18680 Commits

Author SHA1 Message Date
altiereslima
9853cc3766 Update Portuguese translation 2024-12-25 12:08:30 +00:00
altiereslima
21effc41e6 Update portuguese.json 2024-12-25 12:08:25 +00:00
altiereslima
ac4309832b Update portuguese.ts 2024-12-25 12:08:16 +00:00
altiereslima
725ca87091 Update portuguese.json 2024-12-25 12:07:38 +00:00
Maurycy
3743c636f3 Update swedish.json
I added some new code lines I found in the latest Czech translation and translated those into Swedish. I also made other smaller changes.
2024-12-25 12:07:30 +00:00
Ivan Savenko
4e5d44bc9c
Merge pull request #5149 from vcmi/fix_visitablePos_calls
Fix visitable pos calls
2024-12-25 13:45:51 +02:00
Ivan Savenko
8402602e35
Merge pull request #5145 from IvanSavenko/spell_school_descr
Better spell school translation in bonuses
2024-12-25 13:44:48 +02:00
Ivan Savenko
28790900a5
Merge pull request #5131 from MichalZr6/update_russian_translation
Update Russian translation for .ts files
2024-12-25 13:43:30 +02:00
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
8c4738c7b9 Better spell school translation in bonuses
Changed per-school bonus descriptions to be translateable for non-
English languages
2024-12-25 11:41:16 +00:00
Tomasz Zieliński
d631e3f604 Do not call visitablePos for non-visitable objects 2024-12-25 08:23:45 +01: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
Andrey Filipenkov
cfc8254b06
revert change in source 2024-12-24 15:18:06 +03:00
Ivan Savenko
77a35f76f7 Fix build with tests and scripting enabled 2024-12-24 11:54:55 +00: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
6da58a6871 Fixes excessive logging causing RMG slowdown
- Do not apply formatting on log entries that will be discarded due to
high log level
- Do not log incorrect access to visitablePos due to its numerous use by
RMG
2024-12-23 21:24:00 +00: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
Andrey Filipenkov
9c9cbbbe1d
Apply suggestions from code review 2024-12-22 09:10:56 +03:00
Laserlicht
487297b05e correct align of thiefguild text an add popup 2024-12-22 00:13:36 +01:00
MichalZr6
d14e8b7261 Update Russian translation for .ts files 2024-12-21 23:52:17 +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