This commit is contained in:
boonsboos
2025-09-08 22:59:59 +02:00
commit aca5cd42f1
36 changed files with 1137 additions and 0 deletions

42
dst/jacket.lua Normal file
View File

@@ -0,0 +1,42 @@
local function getJacket(jacketWindowX, jacketWindowY)
-- jacket image
return {
{
id = "jacket_window",
dst = {
{ x = jacketWindowX, y = jacketWindowY, w = 408, h = 372, a = 255 }
}
},
{
id = "text_jacket_title",
dst = {
{ x = jacketWindowX + 68, y = jacketWindowY + 314, w = 130, h = 40, a = 255, r = 255, g = 255, b = 255 }
}
},
{
id = -110, -- black image for the black bars in the jacket window
dst = {
{ x = jacketWindowX + 6, y = jacketWindowY + 6, w = 396, h = 296, a = 255 }
}
},
{
id = -100, -- stage file (music select image)
op = { 191 },
dst = {
{ x = jacketWindowX + 6, y = jacketWindowY + 6, w = 396, h = 296, a = 255 }
}
},
{
id = "jacket_no_jacket",
op = { 190 },
dst = { -- text is centered so the draw origin is shifted by 200 px
{ x = jacketWindowX + 206, y = jacketWindowY + 120, w = 400, h = 52, a = 255, r = 255, g = 255, b = 255 }
}
}
}
end
return {
getJacket = getJacket
}