1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Part of #12096: ScreenRect for gfx_fill_rect in libopenrct2 (#12109)

This commit is contained in:
frutiemax
2020-07-08 13:07:26 -04:00
committed by GitHub
parent 280a21fa30
commit bf2b8073cb
7 changed files with 28 additions and 19 deletions

View File

@@ -179,8 +179,10 @@ void intro_draw(rct_drawpixelinfo* dpi)
// Draw a white rectangle for the logo background (gives a bit of white margin)
gfx_fill_rect(
dpi, (screenWidth / 2) - 320 + 50, _introStateCounter + 50, (screenWidth / 2) - 320 + 50 + 540,
_introStateCounter + 50 + 425, BORDER_COLOUR_PUBLISHER);
dpi,
{ { (screenWidth / 2) - 320 + 50, _introStateCounter + 50 },
{ (screenWidth / 2) - 320 + 50 + 540, _introStateCounter + 50 + 425 } },
BORDER_COLOUR_PUBLISHER);
// Draw Infogrames logo
gfx_draw_sprite(dpi, SPR_INTRO_INFOGRAMES_00, { (screenWidth / 2) - 320 + 69, _introStateCounter + 69 }, 0);