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
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
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
Ivan Savenko
3d6c58c366
Fix crash on scaling empty surface
2025-02-01 13:55:09 +00:00
Ivan Savenko
cca4c0888c
In-memory assets generation
...
All assets generation (large spellbook, terrain animations, etc) are now
done in memory and used as it, without saving to disk.
This should slightly improve load times since there is no encode png /
decode png, and should help with avoiding strange bug when vcmi fails to
load recently saved assets.
If needed, such assets can be force-dumped on disk using already
existing console command
2025-01-30 22:21:38 +00:00
Ivan Savenko
5d67de0e46
Fixed few more cases of incorrect town building ordering
2025-01-29 23:11:53 +00:00
Ivan Savenko
33f4db3c31
Merge pull request #5338 from IvanSavenko/lobby_chat_languages
...
[1.6.4] Configuring of visible language channels in lobby
2025-01-29 12:02:16 +02:00
Ivan Savenko
f4c3367e43
Workarounds for crashes from Google Play
...
- Do not crash on failure to read json from disk
- Add more debug information for crash on BattleHex access
2025-01-28 20:22:28 +00:00
Ivan Savenko
b50e6851f0
Merge pull request #5334 from IvanSavenko/detect_overlap
...
Add detection for same z-index buildings overlapping in town screen
2025-01-28 13:16:18 +02:00
Ivan Savenko
9d7c4a60e0
Added support for configuring which language channels are visible to
...
player in lobby
2025-01-27 17:19:14 +00:00
Ivan Savenko
6fe8700761
If mod validation is set to full, VCMI will now detect overlapping
...
buildings with same z-index
2025-01-26 14:38:51 +00:00
Ivan Savenko
a4052d0cf4
Fix corrupted display of H3 fonts when xbrz is in use
2025-01-26 11:18:21 +00:00
Ivan Savenko
301086d956
Support for shadow, overlay and player-colored premade images for 1x
2025-01-24 19:49:30 +00:00
Ivan Savenko
c3fb76b56f
Offloaded xbrz upscaling to background threads
2025-01-21 21:15:21 +00:00
Ivan Savenko
391986e0ba
Moved image scaling & optimization logic to separate classes
2025-01-21 21:15:21 +00:00
Ivan Savenko
68bac73632
Initial part of background scaling
2025-01-21 21:15:21 +00:00
Ivan Savenko
c9dd3dab5d
Fix loading of pre-scaled assets
2025-01-21 21:15:21 +00:00
Ivan Savenko
668bf63fc0
Remove access to internal surface of Canvas
2025-01-21 21:15:21 +00:00
Ivan Savenko
4a600a9d4c
Reworked image container classes for easier support of new features
2025-01-21 21:15:21 +00:00
Ivan Savenko
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
Ivan Savenko
2ca77ed6ec
Fix possible crash on invalid upscaling filter set in config
2025-01-07 15:06:26 +00:00
Andrey Filipenkov
3db1a01080
use TTF_Font from SDL_ttf directly
2025-01-07 12:09:11 +03:00
Ivan Savenko
698d43e195
Fix crash on attempt to flip empty image
2025-01-01 21:00:43 +00:00
Ivan Savenko
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
Laserlicht
3beb78104e
fix margin (hd texture)
2024-12-26 15:05:30 +01:00
Laserlicht
eb319fc15e
show building names with ALT
2024-12-26 14:22:12 +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
7b976d058e
For PC don't go higher than xbrz2 until performance is fixed
2024-12-24 13:38:32 +00:00
Ivan Savenko
814234017d
Minor tweaks to xbrz performance
2024-12-23 13:59:09 +00:00
Ivan Savenko
69eac2f943
Disable xbrz by default on mobile platforms till performance issues are
...
fixed
2024-12-21 14:07:43 +00: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
03b7622a1d
Fix positioning of scaleable main menu when xbrz is in use
2024-12-18 22:04:15 +00:00
MichalZr6
f4a15a198b
Cleanup
2024-12-15 21:32:23 +01:00
Ivan Savenko
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
MichalZr6
81e29d6ce2
Return built in default image
2024-12-15 11:43:39 +01:00
MichalZr6
5fc61df717
fix_crash_loading_frames_from_def
2024-12-15 11:43:39 +01:00
Laserlicht
d232b7b46b
fix margin if image prescaled and not equal to current scaling
2024-12-15 04:44:08 +01:00
Ivan Savenko
0842ada1c7
Quick fix for xbrz scaling artifacts on window borders
2024-12-10 14:20:55 +00:00
Laserlicht
a0c0496784
fix shadow hex
2024-12-09 20:27:39 +01:00
Laserlicht
bb2f016f49
text fixes
2024-11-30 00:41:09 +01:00
Ivan Savenko
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
Ivan Savenko
2b692c2606
Fix h3 bug: icons of View Earth and View Air are swapped
2024-11-24 19:26:06 +00:00