Files
itgmania212121/stepmania/Themes/default/Graphics/ScreenWithMenuElements StyleIcon/default.lua
T

18 lines
482 B
Lua
Raw Normal View History

2008-03-31 11:49:26 +00:00
local t = {};
2006-11-22 01:58:11 +00:00
2008-03-31 11:49:26 +00:00
local style = GAMESTATE:GetCurrentStyle();
if style then
local master_pn = GAMESTATE:GetMasterPlayerNumber();
local st = style:GetStyleType();
local pad_file = "";
if st == "StyleType_OnePlayerOneSide" or st == "StyleType_OnePlayerTwoSides" then
pad_file = st .. " " .. master_pn;
elseif st == "StyleType_TwoPlayersTwoSides" then
pad_file = st;
end
2006-11-22 01:58:11 +00:00
2008-03-31 11:49:26 +00:00
return LoadActor( THEME:GetPathG("","_StyleIcon " .. pad_file ) ) .. {};
else
return Def.Actor {};
end