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:
BIN
resources/g2/logo_mono_dithered.png
Normal file
BIN
resources/g2/logo_mono_dithered.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"path": "logo_text.png"
|
||||
},
|
||||
{
|
||||
"path": "logo_mono_dithered.png"
|
||||
},
|
||||
{
|
||||
"path": "icons/fast_forward.png"
|
||||
},
|
||||
|
||||
@@ -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, {},
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user