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
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
aef6b0cc00
Fix several new issues detected by SonarCloud
2024-11-20 16:06:38 +00: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
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
11b437db62
prescaled image support
2024-11-03 20:27:11 +01:00
Ivan Savenko
248cff49a4
Moved fonts handling from Graphics to RenderHandler class
2024-09-23 15:43:11 +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
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
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
Ivan Savenko
0d6ec0d224
Reviewed usage of EBlitMode, now specified clearly in all cases
2024-07-19 10:08:50 +00:00
Ivan Savenko
b850b6339f
Flipped images are now tracked by RenderHandler
2024-07-19 10:08:50 +00:00
Ivan Savenko
9f31ec5326
Restore previously disabled icons registry
2024-07-19 10:08:50 +00:00
Ivan Savenko
47de9a62dc
Created separate classes for shared, unchangeable image and image
...
manipulators owned by UI elements
2024-07-19 10:08:50 +00:00
Ivan Savenko
600b06b74d
Moved all handling of image loading to render handler
2024-07-19 10:08:50 +00:00
Ivan Savenko
56f1725234
All images are now loaded via RenderHandler class
2024-07-19 10:08:50 +00:00
Ivan Savenko
1d0e696db6
Added RenderHandler that acts as factory for images and animations
2023-09-04 18:22:34 +03:00