1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00
Commit Graph

280 Commits

Author SHA1 Message Date
Laserlicht
1cada2ba1e using box blur & parrallelism to speed up 2025-07-13 14:43:06 +02:00
Laserlicht
448a97995c use tbb 2025-07-13 12:57:01 +02:00
Laserlicht
7677791217 sonarcloud 2025-07-12 14:30:58 +02:00
Laserlicht
e43df04ae1 better outline matching H3 2025-07-12 14:29:11 +02:00
Laserlicht
f0c24c0ffa fixing some sonar cloud issues 2025-07-12 13:23:46 +02:00
Laserlicht
2f00524439 dont cut overlays & shadows 2025-07-12 00:45:49 +02:00
Laserlicht
79dead4ad6 fix 2025-07-11 23:03:46 +02:00
Laserlicht
7eae917497 basic algorithm 2025-07-11 22:50:16 +02:00
Ivan Savenko
e12765dca0 Fix sonar warnings, convert spaces -> tabs 2025-07-09 17:52:51 +03:00
Laserlicht
a8af226ec5 format fix 2025-06-20 03:46:27 +02:00
Laserlicht
d0d3b96fa9 add battle animation 2025-06-20 01:51:10 +02:00
Laserlicht
9f937e9791 code review 2025-05-23 20:26:17 +02:00
Laserlicht
507cdb5c99 no code duplication 2025-05-19 09:10:28 +02:00
Laserlicht
d102f660a0 color filter cheats 2025-05-19 02:48:13 +02:00
Ivan Savenko
4b30336d03 Fix issues detected by Sonar 2025-05-11 19:50:57 +03:00
Ivan Savenko
554a414302 Fix remaining memory leaks caused by API misuse 2025-04-29 12:11:10 +03:00
Ivan Savenko
975d9aedc9 Merge branch 'vcmi/beta' into 'vcmi/develop' 2025-04-13 18:53:54 +03:00
Ivan Savenko
4555b2d228 Increase system RAM for xbrz2 auto-activation to 4Gb due to crashes on
Android
2025-04-06 18:40:27 +03:00
Ivan Savenko
6c1cb3ac54 Workaround / debug info for crash on failure to render ttf text 2025-04-06 18:39:53 +03:00
Ivan Savenko
7d3e59d7d3 Do not track clipboard on mobile systems to avoid permissions prompt 2025-03-26 16:00:31 +00:00
Ivan Savenko
8a0fed7b3a Temporarily(?) use weak_ptr to reduce ram usage increase during long
game sessions
2025-03-26 15:37:38 +00:00
Ivan Savenko
ded12f2df9 Disable auto-selection of xbrz on 32-bit systems 2025-03-26 15:37:38 +00:00
Ivan Savenko
9da598dcaf Fix possible crash on accessing content rect with nullptr surface 2025-03-26 15:37:38 +00:00
Ivan Savenko
8ed3126a36 Merge pull request #5547 from kambala-decapitator/ios-mute-switch
[iOS] add setting to honor mute switch
2025-03-16 19:09:06 +02:00
Andrey Filipenkov
0435d8f49c [iOS] add setting to honor mute switch 2025-03-13 12:14:25 +03:00
Ivan Savenko
6877bbfe3a Fix issues found by Valgrind 2025-03-12 15:56:52 +00:00
Ivan Savenko
96d691b40c Fix crash on closing game during background image upscaling 2025-03-12 14:18:44 +00:00
Ivan Savenko
8204990fa6 Fix crashes on app shutdown 2025-03-12 13:33:12 +00:00
Ivan Savenko
8f074490a7 Merge branch 'master' into 'develop' 2025-02-27 21:15:42 +00:00
Ivan Savenko
d772521d59 Merge pull request #5460 from Laserlicht/setting
[1.6.7?] Add settings
2025-02-25 16:49:48 +02:00
Ivan Savenko
1bc7c13204 Possible fix for crash on attempt to free sdl surface in worked thread 2025-02-22 17:16:18 +00:00
Laserlicht
3627731041 (config only) setting to disable async upscaling 2025-02-21 21:59:00 +01:00
Ivan Savenko
645b95ba02 Renamed LibClasses * VLC to GameLibrary * LIBRARY 2025-02-21 16:54:56 +00:00
Ivan Savenko
ffd37a8fa8 Removed CGI in favor of VLC. Map handle is for now global variable 2025-02-21 16:53:14 +00:00
Ivan Savenko
f657e85305 Integrated CClientState into GameEngine class 2025-02-21 16:53:14 +00:00
Ivan Savenko
cacceda950 Renamed CGuiHandler to GameEngine
- class CGuiHandler is now called GameEngine to better describe its
functionality
- renamed global GH to more clear ENGINE
- GH/ENGINE is now unique_ptr to make construction / deconstruction
order more clear and to allow interface / implementation split
- CGuiHandler.cpp/h is now called GameEngine.cpp/h and located in root
directory of client dir
2025-02-21 16:53:13 +00:00
Ivan Savenko
2362c6da21 Fixes for multiple new issues from Sonar 2025-02-21 15:57:39 +00:00
Ivan Savenko
0548f325e4 Merge branch 'master' into 'develop' 2025-02-21 13:59:34 +00:00
Laserlicht
091477aebc possibility to add fonts at end of the font chain 2025-02-15 19:52:59 +01:00
Ivan Savenko
28a8d4f4a1 Implemented bloodlust, clone, and petrify effects for xbrz mode 2025-02-14 11:01:20 +00:00
Ivan Savenko
f7f94bb7dc Remove old code 2025-02-10 21:08:30 +00:00
Ivan Savenko
5a9dbc03a8 screen texture and main window are now private members of screen handler 2025-02-10 21:08:30 +00:00
Ivan Savenko
eb7587c000 screen surface is now private member of ScreenHandler instead of global 2025-02-10 21:08:30 +00:00
Ivan Savenko
31e627f128 Remove screen2 and screenBuf global variables 2025-02-10 21:08:30 +00:00
Ivan Savenko
68e0dcb01d Merge pull request #5398 from Laserlicht/portrait_mode
[1.6.6] portrait mode for android & grey bar fix
2025-02-09 19:42:03 +02: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
0424f71cb2 portrait mode for android 2025-02-08 20:02:31 +01:00
Ivan Savenko
3ed599bef3 Enable xbrz2 by default on mobile systems
Since upscaling is now performed in background there should be no
noticeable lags on most systems.

To be safe - it will only be enabled on systems with over 2 Gb RAM, to
exclude oldest hardware

This only affects autoselection. If upscaling filter was selected by
player explicitly, these changes will have no effect
2025-02-07 14:27:37 +00:00
Ivan Savenko
fff5ac5945 Fix transparency on hero portraits 2025-02-06 14:22:06 +00:00
Ivan Savenko
38bb5a76e6 Handle flag color overlay and creature selection overlay separately
Fixes handling of Iron Golem animation from HotA
2025-02-03 11:44:21 +00:00