1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00
Commit Graph

214 Commits

Author SHA1 Message Date
662e0f8541 Merge pull request #5222 from kambala-decapitator/use-sdl_ttf-type
use TTF_Font from SDL_ttf directly
2025-01-09 12:58:34 +02:00
2ca77ed6ec Fix possible crash on invalid upscaling filter set in config 2025-01-07 15:06:26 +00:00
3db1a01080 use TTF_Font from SDL_ttf directly 2025-01-07 12:09:11 +03:00
698d43e195 Fix crash on attempt to flip empty image 2025-01-01 21:00:43 +00:00
8bf5c474d6 Merge pull request #5160 from Laserlicht/alt_town
[1.6.2] show building names with ALT
2024-12-30 21:52:32 +02:00
3beb78104e fix margin (hd texture) 2024-12-26 15:05:30 +01:00
eb319fc15e show building names with ALT 2024-12-26 14:22:12 +01:00
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
7b976d058e For PC don't go higher than xbrz2 until performance is fixed 2024-12-24 13:38:32 +00:00
814234017d Minor tweaks to xbrz performance 2024-12-23 13:59:09 +00:00
69eac2f943 Disable xbrz by default on mobile platforms till performance issues are
fixed
2024-12-21 14:07:43 +00: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
03b7622a1d Fix positioning of scaleable main menu when xbrz is in use 2024-12-18 22:04:15 +00:00
f4a15a198b Cleanup 2024-12-15 21:32:23 +01:00
4e30af287e Merge pull request #5090 from Laserlicht/fix_prescale
fix margin if image prescaled and not equal to current scaling
2024-12-15 13:29:54 +02:00
81e29d6ce2 Return built in default image 2024-12-15 11:43:39 +01:00
5fc61df717 fix_crash_loading_frames_from_def 2024-12-15 11:43:39 +01:00
d232b7b46b fix margin if image prescaled and not equal to current scaling 2024-12-15 04:44:08 +01:00
0842ada1c7 Quick fix for xbrz scaling artifacts on window borders 2024-12-10 14:20:55 +00:00
a0c0496784 fix shadow hex 2024-12-09 20:27:39 +01:00
bb2f016f49 text fixes 2024-11-30 00:41:09 +01:00
7fdddee503 Merge pull request #4978 from IvanSavenko/swap_h3_icons
Fix h3 bug: icons of View Earth and View Air are swapped
2024-11-25 15:29:39 +02:00
2b692c2606 Fix h3 bug: icons of View Earth and View Air are swapped 2024-11-24 19:26:06 +00:00
aef6b0cc00 Fix several new issues detected by SonarCloud 2024-11-20 16:06:38 +00:00
931017f58b Fix bugs caused by image optimization procedure 2024-11-18 10:19:48 +00:00
29c040fa69 Try to crop borders for images that are not from pre-optimized def 2024-11-17 20:41:12 +00:00
251155d913 More robust management of body/shadow/overlay split 2024-11-17 17:54:55 +00:00
d81d682939 Merge pull request #4933 from Laserlicht/fix_overlay
allow seperate overlay and shadow images also for unscaled images
2024-11-17 19:38:26 +02:00
8cd77fc5fc allow overlay and shadow also for unscaled images 2024-11-17 17:09:13 +01:00
7f0cb6ce6a ISharedImage is now always const, remove creation of image copy when
upscaling to same factor
2024-11-16 15:40:05 +00:00
149c6cd778 code review 2024-11-15 19:09:34 +01:00
a6c985c4f5 code review 2024-11-13 23:10:41 +01:00
23709ab217 support loading layer images 2024-11-09 21:04:20 +01:00
3872a3ea89 fix fallback scaling 2024-11-09 17:58:23 +01:00
35e198078b cleanup logic 2024-11-09 14:02:09 +01:00
ac31a946e6 use path instead of different filename 2024-11-09 13:07:15 +01:00
1f7cec3ae3 missing prescalefactor 2024-11-08 00:09:17 +01:00
bcdef11093 rename variable 2024-11-07 02:32:06 +01:00
7c3afde7ee fix 2024-11-05 23:12:02 +01:00
52aa4aeb82 fix for not loaded images 2024-11-03 22:17:29 +01:00
11b437db62 prescaled image support 2024-11-03 20:27:11 +01:00
22f517686d Better handling of encoding detection for maps and campaigns
Now VCMI will use either preferred language or install language to load
maps and campaigns that are part of "core" mod, or, in other words -
placed in Maps directory of H3 data (like most of manually downloaded
maps and campaigns are)

If game data is in English, then game can safely use encoding of player-
selected language (such as Chinese) to load maps. After all, both GBK
and all Win-125X encoding are superset of ASCII, so English map will
always load up correctly.

Maps that are part of a mod still use mod language as before - it is up
to mod maker to correctly set up mod language.
2024-10-30 11:54:35 +00:00
a8e84c55f6 Fix some of the new warnings from sonarcloud 2024-10-11 10:45:29 +00:00
e442e71ed9 Fix handling of autoselected interface scaling by client 2024-10-09 17:37:54 +00:00
68e5cff276 Implement user-defined cursor scaling 2024-10-09 17:37:54 +00:00
58d13fdce5 Implemented scaling of hardware cursor 2024-10-09 17:37:54 +00:00
42adc9d394 Enable auto-detection of UI scaling 2024-10-09 17:37:54 +00:00
0c03e0b7c7 Enable autodetection of upscaling filter 2024-10-09 17:37:54 +00:00
4ed478b6e5 Improve font mode auto-selection for languages like Chinese 2024-09-28 19:31:16 +00:00
51848ced3b Add font loading tracking to log 2024-09-28 19:30:26 +00:00