2022-05-08 16:48:00 +02:00
|
|
|
local infPanelX = 475;
|
|
|
|
local infPanelY = 1590;
|
|
|
|
|
|
|
|
local m_info_panel = gfx.CreateSkinImage("multi/lobby/button_panel.png", 1);
|
|
|
|
|
|
|
|
local Info = {
|
|
|
|
BTs = {
|
|
|
|
BTA = "EXCESSIVE",
|
|
|
|
BTB = "MIRROR",
|
|
|
|
BTC = "ROTATE",
|
2023-12-02 23:58:03 +01:00
|
|
|
BTD = "UNKNOWN",
|
2022-05-08 16:48:00 +02:00
|
|
|
ST = "START",
|
|
|
|
FXS = "FX-L/FX-R TO SETTINGS",
|
|
|
|
},
|
|
|
|
MEME = {
|
|
|
|
BTs = "SEX",
|
|
|
|
FXS = "START TO EXCEED SEX",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-02 23:58:03 +01:00
|
|
|
local draw = function (hard_mode,start_game_soon,owner,user_id,host) -- the info panel
|
2022-05-08 16:48:00 +02:00
|
|
|
local jw , jh = gfx.ImageSize(m_info_panel);
|
|
|
|
gfx.BeginPath();
|
|
|
|
gfx.ImageRect(infPanelX, infPanelY, jw/1.18, jh/1.18, m_info_panel,1,0);
|
|
|
|
gfx.FontSize(24)
|
2023-12-02 23:58:03 +01:00
|
|
|
gfx.FillColor(255,255,255)
|
2022-05-08 16:48:00 +02:00
|
|
|
draw_checkbox(Info.BTs.BTA,infPanelX+160, infPanelY+50, toggle_hard, hard_mode, not start_game_soon)
|
|
|
|
draw_checkbox(Info.BTs.BTB,infPanelX+187, infPanelY+87.5, toggle_mirror, mirror_mode, not start_game_soon)
|
2023-12-02 23:58:03 +01:00
|
|
|
gfx.FillColor(255,255,255)
|
|
|
|
draw_checkbox(Info.BTs.BTC,infPanelX+390, infPanelY+87.5, toggle_rotate, do_rotate,(owner == user_id or host == user_id) and not start_game_soon)
|
2022-05-08 16:48:00 +02:00
|
|
|
|
2023-12-02 23:58:03 +01:00
|
|
|
gfx.FillColor(255, 255, 255, 100)
|
2022-05-08 16:48:00 +02:00
|
|
|
gfx.Text(Info.BTs.BTD,infPanelX+417.5, infPanelY+49)
|
|
|
|
gfx.Text(Info.BTs.ST,infPanelX*1.61, infPanelY+35)
|
|
|
|
gfx.FontSize(24)
|
|
|
|
gfx.Text(Info.BTs.FXS,infPanelX+290.5,infPanelY+269)
|
|
|
|
-- gfx.Text(Info.MEME.FXS,infPanelX+290.5,infPanelY+269)
|
|
|
|
end
|
|
|
|
|
2023-12-02 23:58:03 +01:00
|
|
|
return {Draw=draw}
|