Laserlicht
091477aebc
possibility to add fonts at end of the font chain
2025-02-15 19:52:59 +01: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
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
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
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
301086d956
Support for shadow, overlay and player-colored premade images for 1x
2025-01-24 19:49:30 +00:00
Ivan Savenko
391986e0ba
Moved image scaling & optimization logic to separate classes
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
MichalZr6
f4a15a198b
Cleanup
2024-12-15 21:32:23 +01: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
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
Ivan Savenko
aef6b0cc00
Fix several new issues detected by SonarCloud
2024-11-20 16:06:38 +00:00
Ivan Savenko
251155d913
More robust management of body/shadow/overlay split
2024-11-17 17:54:55 +00:00
Ivan Savenko
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
Laserlicht
8cd77fc5fc
allow overlay and shadow also for unscaled images
2024-11-17 17:09:13 +01:00
Ivan Savenko
7f0cb6ce6a
ISharedImage is now always const, remove creation of image copy when
...
upscaling to same factor
2024-11-16 15:40:05 +00:00
Laserlicht
149c6cd778
code review
2024-11-15 19:09:34 +01:00
Laserlicht
a6c985c4f5
code review
2024-11-13 23:10:41 +01:00
Laserlicht
23709ab217
support loading layer images
2024-11-09 21:04:20 +01:00
Laserlicht
3872a3ea89
fix fallback scaling
2024-11-09 17:58:23 +01:00
Laserlicht
35e198078b
cleanup logic
2024-11-09 14:02:09 +01:00
Laserlicht
ac31a946e6
use path instead of different filename
2024-11-09 13:07:15 +01:00
Laserlicht
7c3afde7ee
fix
2024-11-05 23:12:02 +01:00
Laserlicht
52aa4aeb82
fix for not loaded images
2024-11-03 22:17:29 +01:00
Laserlicht
11b437db62
prescaled image support
2024-11-03 20:27:11 +01:00
Ivan Savenko
51848ced3b
Add font loading tracking to log
2024-09-28 19:30:26 +00:00
Ivan Savenko
ca3c6227c4
Add selector for font type in Launcher, add autoselection
2024-09-24 13:25:36 +00:00
Ivan Savenko
87274128e7
Proper support for usage of multiple fonts in a chain
2024-09-24 10:59:35 +00:00
Ivan Savenko
557b72f2b3
Launcher now controls ttf fonts usage directly instead of toggling mod
...
from extras
2024-09-23 18:31:44 +00:00
Ivan Savenko
248cff49a4
Moved fonts handling from Graphics to RenderHandler class
2024-09-23 15:43:11 +00:00
Ivan Savenko
626c34a105
Fix colorization of Fortress and Inferno adventure map image from hota
2024-09-13 12:45:51 +00:00
Ivan Savenko
4abd96dba4
Add debug code to save every loaded image to a file
2024-09-13 12:26:31 +00:00
Ivan Savenko
dfd3f0c1a6
Fixed generation of upscaled spellbook
2024-09-12 21:22:41 +00:00
Ivan Savenko
0bbc2bce33
Fix handling of transparency in xbrz and in images with non-cyan
...
transparent color in unscaled mode
2024-08-27 19:44:11 +00:00
Ivan Savenko
d6059b044d
Implement selection of upscaling filter in launcher
2024-08-17 15:25:26 +00:00
Ivan Savenko
f29a687234
Clean up scaling code, implemented image size optimization
2024-08-17 15:25:26 +00:00
Ivan Savenko
ffba847f40
xBRZ-upscaled images now support common palette-transform effects:
...
- Player coloring
- Flag color for map
- Glue selection for combat
2024-08-17 15:25:26 +00:00
Ivan Savenko
502f47c6b5
Rename IConstImage to more clear ISharedImage
2024-08-17 15:25:26 +00:00
Ivan Savenko
4171026035
First iteration of upscaled rendering
2024-08-17 15:25:25 +00:00
Ivan Savenko
9f3663b7d4
Remove unused method
2024-07-19 10:08:50 +00:00
Ivan Savenko
4f8f217b49
Moved range highlight transforms to config file
2024-07-19 10:08:50 +00:00
Ivan Savenko
81c7c0ce24
Fixed loading of flipped and duplicate images in animations
2024-07-19 10:08:50 +00:00
Ivan Savenko
e4bed98674
Replaced raw json nodes with ImageLocator class
2024-07-19 10:08:50 +00:00
Ivan Savenko
fd726523a2
Remove creations of custom animations in runtime
2024-07-19 10:08:50 +00:00