From 44da7da60cb48d3d9b46e744fd7922e67bd930c0 Mon Sep 17 00:00:00 2001 From: FajsiEx Date: Mon, 16 Aug 2021 15:58:28 +0200 Subject: [PATCH] + top 50 to jacket in data panel --- scripts/songselect/songwheel.lua | 7 +++++++ .../{top50album.png => top50_jacket.png} | Bin 2 files changed, 7 insertions(+) rename textures/song_select/{top50album.png => top50_jacket.png} (100%) diff --git a/scripts/songselect/songwheel.lua b/scripts/songselect/songwheel.lua index f7b735a..f5adde2 100644 --- a/scripts/songselect/songwheel.lua +++ b/scripts/songselect/songwheel.lua @@ -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 songPlateBg = gfx.CreateSkinImage("song_select/plate/bg.png", 1) local songPlateBottomBarOverlayImage = gfx.CreateSkinImage("song_select/plate/bottom_bar_overlay.png", 1) + local top50OverlayImage = gfx.CreateSkinImage("song_select/top50.png", 1) +local top50JacketOverlayImage = gfx.CreateSkinImage("song_select/top50_jacket.png", 1) local cursorImages = { gfx.CreateSkinImage("song_select/cursor.png", 1), -- Effective rate or fallback @@ -370,6 +372,11 @@ function drawData() -- Draws the song data on the left panel local jacketImage = getJacketImage(song); gfx.BeginPath() 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() if bestScore then diff --git a/textures/song_select/top50album.png b/textures/song_select/top50_jacket.png similarity index 100% rename from textures/song_select/top50album.png rename to textures/song_select/top50_jacket.png