title menu cleanup
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
local t = LoadFallbackB();
|
||||
|
||||
t[#t+1] = LoadActor( "help pane" ) .. {
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X+186;y,SCREEN_BOTTOM;vertalign,bottom;);
|
||||
};
|
||||
t[#t+1] = LoadActor( "settings pane" ) .. {
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X-200;y,SCREEN_TOP;vertalign,top;);
|
||||
};
|
||||
t[#t+1] = LoadFont("Common", "normal") .. {
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X-266;y,SCREEN_TOP+36;horizalign,left;shadowlengthx,0;shadowlengthy,2;playcommand,"Set");
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X-202;y,SCREEN_TOP+40;shadowlengthx,0;shadowlengthy,2;playcommand,"Set");
|
||||
SetCommand=function(self)
|
||||
local s = "";
|
||||
|
||||
local text = ProductVersion() .. " " .. VersionTime();
|
||||
s = s .. "\n" .. text;
|
||||
|
||||
local fmt = THEME:GetString( Var "LoadingScreen", "%d songs in %d groups" );
|
||||
local text = string.format( fmt, SONGMAN:GetNumSongs(), SONGMAN:GetNumSongGroups() )
|
||||
|
||||
s = s .. text;
|
||||
s = s .. "\n" .. text;
|
||||
|
||||
local fmt = THEME:GetString( Var "LoadingScreen", "%d courses in %d groups" );
|
||||
local text = string.format( fmt, SONGMAN:GetNumCourses(), SONGMAN:GetNumCourseGroups() )
|
||||
@@ -26,14 +27,14 @@ t[#t+1] = LoadFont("Common", "normal") .. {
|
||||
s = s .. "\n" .. text;
|
||||
end
|
||||
|
||||
local fmt = THEME:GetString( Var "LoadingScreen", "Current gametype:" );
|
||||
local fmt = THEME:GetString( Var "LoadingScreen", "Gametype:" );
|
||||
local text = fmt .. " " .. GAMESTATE:GetCurrentGame():GetName();
|
||||
s = s .. "\n" .. text;
|
||||
|
||||
local fmt = THEME:GetString( Var "LoadingScreen", "Difficulty:" );
|
||||
local text = fmt .. " " .. GetTimingDifficulty();
|
||||
s = s .. "\n" .. text;
|
||||
|
||||
|
||||
self:settext( s )
|
||||
end;
|
||||
};
|
||||
@@ -41,12 +42,11 @@ t[#t+1] = LoadFont("Common", "normal") .. {
|
||||
InitCommand=cmd(x,SCREEN_LEFT+20;y,SCREEN_TOP+36;horizalign,left;diffuse,0.6,0.6,0.6,1;shadowlength,2);
|
||||
};
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X-210;y,SCREEN_CENTER_Y+200;);
|
||||
LoadActor( "stepmania logo" ) .. {
|
||||
};
|
||||
LoadFont( "common normal" ) .. {
|
||||
InitCommand=cmd(y,-25;settext,ProductVersion() .. " " .. VersionTime();diffuse,color("#000000");shadowlength,0;);
|
||||
};
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X+210;y,SCREEN_CENTER_Y+200;);
|
||||
LoadActor( "stepmania logo" ) .. {
|
||||
};
|
||||
LoadFont( "common normal" ) .. {
|
||||
InitCommand=cmd(y,-25;settext,ProductVersion() .. " " .. VersionTime();diffuse,color("#000000");shadowlength,0;);
|
||||
};
|
||||
};
|
||||
|
||||
return t;
|
||||
|
||||
Reference in New Issue
Block a user