1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Add monochrome 'no preview' logo

This commit is contained in:
Aaron van Geffen
2025-02-19 23:15:01 +01:00
parent 878054c1ea
commit 1ae4874212
4 changed files with 8 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -11,6 +11,9 @@
{
"path": "logo_text.png"
},
{
"path": "logo_mono_dithered.png"
},
{
"path": "icons/fast_forward.png"
},

View File

@@ -388,6 +388,10 @@ namespace OpenRCT2::Ui::Windows
// Draw OpenRCT2 logo if no preview was found
if (!foundImage)
{
auto imagePos = frameStartPos + ScreenCoordsXY(1, 1);
auto colour = ColourMapA[colours[1].colour].dark;
GfxDrawSpriteSolid(dpi, ImageId(SPR_G2_LOGO_MONO_DITHERED), imagePos, colour);
auto textPos = imagePos + ScreenCoordsXY(kPreviewWidth / 2, kPreviewHeight / 2 - 6);
DrawTextBasic(
dpi, textPos, STR_NO_PREVIEW_AVAILABLE, {},

View File

@@ -884,6 +884,7 @@ enum : ImageIndex
SPR_G2_LOGO,
SPR_G2_TITLE,
SPR_G2_LOGO_MONO_DITHERED,
SPR_G2_FASTFORWARD,
SPR_G2_SPEED_ARROW,
SPR_G2_HYPER_ARROW,