+ top 50 to jacket in data panel

This commit is contained in:
FajsiEx 2021-08-16 15:58:28 +02:00
parent e694eae01f
commit 44da7da60c
2 changed files with 7 additions and 0 deletions

View File

@ -12,7 +12,9 @@ local effectedBgImage = gfx.CreateSkinImage("song_select/data_panel/effected_bg.
local illustratedBgImage = gfx.CreateSkinImage("song_select/data_panel/illust_bg.png", 1) local illustratedBgImage = gfx.CreateSkinImage("song_select/data_panel/illust_bg.png", 1)
local songPlateBg = gfx.CreateSkinImage("song_select/plate/bg.png", 1) local songPlateBg = gfx.CreateSkinImage("song_select/plate/bg.png", 1)
local songPlateBottomBarOverlayImage = gfx.CreateSkinImage("song_select/plate/bottom_bar_overlay.png", 1) local songPlateBottomBarOverlayImage = gfx.CreateSkinImage("song_select/plate/bottom_bar_overlay.png", 1)
local top50OverlayImage = gfx.CreateSkinImage("song_select/top50.png", 1) local top50OverlayImage = gfx.CreateSkinImage("song_select/top50.png", 1)
local top50JacketOverlayImage = gfx.CreateSkinImage("song_select/top50_jacket.png", 1)
local cursorImages = { local cursorImages = {
gfx.CreateSkinImage("song_select/cursor.png", 1), -- Effective rate or fallback gfx.CreateSkinImage("song_select/cursor.png", 1), -- Effective rate or fallback
@ -371,6 +373,11 @@ function drawData() -- Draws the song data on the left panel
gfx.BeginPath() gfx.BeginPath()
gfx.ImageRect(96, 324, 348, 348, jacketImage or defaultJacketImage, 1, 0) gfx.ImageRect(96, 324, 348, 348, jacketImage or defaultJacketImage, 1, 0)
if (top50diffs[diff.id]) then
gfx.BeginPath()
gfx.ImageRect(96, 529, 410*0.85, 168*0.85, top50JacketOverlayImage, 1, 0)
end
gfx.Save() gfx.Save()
if bestScore then if bestScore then
-- Draw best score -- Draw best score

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB