Ivan Savenko
829739da24
Reduce usage of implicit conversions to int
2025-04-27 14:57:31 +03:00
Ivan Savenko
dd823d1681
Merge pull request #5560 from GeorgeK1ng/campaigns
...
[1.7] Campaigns configurations improvements
2025-04-02 13:54:50 +03:00
George King
11774c279d
Update AssetGenerator.cpp
2025-03-21 17:20:37 +01:00
George King
4a0d8a2015
Merge pull request #1 from vcmi/develop
...
Update branch
2025-03-19 09:45:29 +01:00
Ivan Savenko
7a3e1409d0
Remove old boost includes and defines
2025-03-19 08:03:56 +00:00
George King
f46f295aa1
Support for Generating 4-8 campaigns backgrounds
2025-03-14 15:30:18 +01:00
Ivan Savenko
8204990fa6
Fix crashes on app shutdown
2025-03-12 13:33:12 +00:00
Ivan Savenko
645b95ba02
Renamed LibClasses * VLC
to GameLibrary * LIBRARY
2025-02-21 16:54:56 +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
Ivan Savenko
2d7535eb00
Merge pull request #5395 from IvanSavenko/xbrz_effects
...
Implemented bloodlust, clone, and petrify effects for xbrz mode
2025-02-14 14:33:13 +02:00
Ivan Savenko
28a8d4f4a1
Implemented bloodlust, clone, and petrify effects for xbrz mode
2025-02-14 11:01:20 +00:00
Ivan Savenko
4c4726847d
Fix size of generated images for Chronicles
2025-02-11 20:08:02 +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
4e6560c4c9
Fixes for issues detected by valgrind
2025-02-06 19:22:04 +00:00
Ivan Savenko
5a02a4c07f
Fix path to Chronicles campaigns background, remove old code
2025-02-06 14:21:19 +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
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
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
2ee5f2df02
Merge pull request #5295 from IvanSavenko/bugfixing
...
[1.6.4] Bugfixing for recently reported issues
2025-01-21 15:50:02 +02:00
Ivan Savenko
82b81a7853
Added better error reporting for unclear crashes
2025-01-19 12:39:22 +00:00
Ivan Savenko
364286e1b9
Merge pull request #5287 from Laserlicht/xbrz_fix
...
[1.6.x] fix canvas fillTexture
2025-01-18 15:38:14 +02:00
Laserlicht
24a39a8b48
clear generated assets only on client
2025-01-17 19:27:33 +01:00
Laserlicht
604c466ebd
fix canvas fillTexture
2025-01-17 01:23:14 +01:00
Laserlicht
eb319fc15e
show building names with ALT
2024-12-26 14:22:12 +01: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
19e6a83c19
Quick workaround for xbrz terrain animations bug
2024-12-19 13:43:38 +00: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
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
0842ada1c7
Quick fix for xbrz scaling artifacts on window borders
2024-12-10 14:20:55 +00:00
Laserlicht
4b103fd63b
code review
2024-12-05 23:31:03 +01:00
Laserlicht
6795c9afb6
animations working
2024-11-30 15:44:09 +01:00
Laserlicht
3967c70bf2
fix image creation
2024-11-30 15:03:58 +01:00
Laserlicht
9c0aef6ca2
write json
2024-11-30 13:53:50 +01:00
Laserlicht
1c715e39ba
fix image generation
2024-11-30 13:01:33 +01:00
Laserlicht
443bcf6d50
fix
2024-11-30 03:46:45 +01:00
Laserlicht
bda4efa8b5
gen sprites
2024-11-30 03:45:31 +01:00
Laserlicht
4c7e3644bb
gen sprites
2024-11-30 03:45:15 +01: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
251155d913
More robust management of body/shadow/overlay split
2024-11-17 17:54:55 +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
Ivan Savenko
98a54b61b7
Merge pull request #4874 from Laserlicht/load_prescaled
...
prescaled image support
2024-11-16 17:28:37 +02:00