fixup
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
local t = Def.ActorFrame {
|
||||
LoadSongBackground() .. {
|
||||
Condition=not GAMESTATE:IsCourseMode();
|
||||
OnCommand=cmd(diffusealpha,1;sleep,.5;linear,.5;diffusealpha,0);
|
||||
};
|
||||
};
|
||||
local OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+180;diffusealpha,.75;sleep,0.5;linear,0.5;diffusealpha,0);
|
||||
local function AddChild( name )
|
||||
t[#t+1] = LoadActor( "ScreenStage overlay/" .. name .. ".png" ) .. {
|
||||
OnCommand=OnCommand;
|
||||
Condition=GAMESTATE:GetCurrentStage() == "Stage_" .. name;
|
||||
};
|
||||
end
|
||||
for i = 1, 6, 1 do
|
||||
AddChild( i );
|
||||
end
|
||||
AddChild( "Final" );
|
||||
AddChild( "Extra1" );
|
||||
AddChild( "Extra2" );
|
||||
AddChild( "Event" );
|
||||
AddChild( "Nonstop" );
|
||||
AddChild( "Oni" );
|
||||
AddChild( "Endless" );
|
||||
return t;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
_shared background fade in
|
||||
@@ -1,52 +0,0 @@
|
||||
local t = Def.ActorFrame {
|
||||
LoadActor( "help pane" ) .. {
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X+200;y,SCREEN_BOTTOM;vertalign,bottom;);
|
||||
};
|
||||
LoadActor( "settings pane" ) .. {
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X-200;y,SCREEN_TOP;vertalign,top;);
|
||||
};
|
||||
LoadFont("Common", "normal") .. {
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X-266;y,SCREEN_TOP+36;horizalign,left;shadowlengthx,0;shadowlengthy,2;playcommand,"Set");
|
||||
SetCommand=function(self)
|
||||
local s = "";
|
||||
local fmt = THEME:GetString( Var "LoadingScreen", "%d songs in %d groups" );
|
||||
local text = string.format( fmt, SONGMAN:GetNumSongs(), SONGMAN:GetNumSongGroups() )
|
||||
|
||||
s = s .. text;
|
||||
|
||||
local fmt = THEME:GetString( Var "LoadingScreen", "%d courses in %d groups" );
|
||||
local text = string.format( fmt, SONGMAN:GetNumCourses(), SONGMAN:GetNumCourseGroups() )
|
||||
|
||||
s = s .. "\n" .. text;
|
||||
|
||||
if PREFSMAN:GetPreference("UseUnlockSystem") then
|
||||
local fmt = THEME:GetString( Var "LoadingScreen", "%d unlocks" );
|
||||
local text = string.format( fmt, UNLOCKMAN:GetNumUnlocks() )
|
||||
s = s .. "\n" .. text;
|
||||
end
|
||||
|
||||
local fmt = THEME:GetString( Var "LoadingScreen", "Current 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;
|
||||
};
|
||||
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);
|
||||
};
|
||||
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;);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
return t;
|
||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 9.7 KiB |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 19 KiB |
@@ -1,31 +0,0 @@
|
||||
local function MakeHelpDisplay()
|
||||
local X = ScreenMetric("HelpX");
|
||||
local Y = ScreenMetric("HelpY");
|
||||
local On = ScreenMetric("HelpOnCommand");
|
||||
local Off = ScreenMetric("HelpOffCommand");
|
||||
|
||||
local t = Def.HelpDisplay {
|
||||
File = THEME:GetPathF("HelpDisplay", "text");
|
||||
|
||||
InitCommand=function(self)
|
||||
local s = THEME:GetMetric(Var "LoadingScreen","HelpText");
|
||||
self:SetTipsColonSeparated(s);
|
||||
end;
|
||||
|
||||
SetHelpTextCommand=function(self, params)
|
||||
self:SetTipsColonSeparated( params.Text );
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:x( X );
|
||||
self:y( Y );
|
||||
On(self);
|
||||
end;
|
||||
OffCommand=Off;
|
||||
};
|
||||
return t;
|
||||
end
|
||||
|
||||
local t = Def.ActorFrame { };
|
||||
t[#t+1] = MakeHelpDisplay();
|
||||
return t;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
_shared2
|
||||
@@ -1 +0,0 @@
|
||||
_sf square head 13px
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 9.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
@@ -1,34 +0,0 @@
|
||||
# The characters in this font are actually much larger than 16 pixels.
|
||||
# The "16px" indicates what size uppercase letter this font is meant
|
||||
# for, not necessarily the actual size of the characters.
|
||||
|
||||
[main]
|
||||
0=24
|
||||
1=24
|
||||
2=18
|
||||
3=18
|
||||
4=24
|
||||
5=24
|
||||
6=18
|
||||
7=18
|
||||
8=40
|
||||
|
||||
# Don't load this font grayscale.
|
||||
TextureHints=16bpp
|
||||
|
||||
Top=8
|
||||
Baseline=18
|
||||
|
||||
map up=0
|
||||
map down=1
|
||||
map left=2
|
||||
map right=3
|
||||
map menuup=4
|
||||
map menudown=5
|
||||
map menuleft=6
|
||||
map menuright=7
|
||||
map start=8
|
||||
|
||||
# Do this to use a different glyph for a game character:
|
||||
# map pump up=1
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
_shared options header
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user