show number of stages as set by user, make icon glow diffuseshift for the time being, add stroke to * players text

This commit is contained in:
AJ Kelly
2008-02-19 18:36:39 +00:00
parent bfa9f2042a
commit efeaafebee
@@ -9,6 +9,7 @@ elseif st == "StyleType_TwoPlayersTwoSides" then
else else
assert(0); assert(0);
end end
local max_stages = PREFSMAN:GetPreference( "SongsPerPlay" );
local t = Def.ActorFrame { local t = Def.ActorFrame {
LoadActor( "preview " .. st ) .. { LoadActor( "preview " .. st ) .. {
@@ -32,7 +33,7 @@ local t = Def.ActorFrame {
InitCommand=cmd(horizalign,right;x,98;y,42;settext,"MAX STAGE/";maxwidth,300;shadowlength,0;diffuse,color("#32d545");zoom,0.5); InitCommand=cmd(horizalign,right;x,98;y,42;settext,"MAX STAGE/";maxwidth,300;shadowlength,0;diffuse,color("#32d545");zoom,0.5);
}; };
LoadFont( "_sf square head 32" ) .. { LoadFont( "_sf square head 32" ) .. {
InitCommand=cmd(horizalign,right;x,128;y,40;settext,"3";maxwidth,100;shadowlength,0;zoom,0.5); InitCommand=cmd(horizalign,right;x,128;y,40;settext,max_stages;maxwidth,100;shadowlength,0;zoom,0.5);
}; };
LoadActor( "card " .. pad_file ) .. { LoadActor( "card " .. pad_file ) .. {
InitCommand=cmd(x,-82;y,8;); InitCommand=cmd(x,-82;y,8;);
@@ -50,11 +51,11 @@ local t = Def.ActorFrame {
}; };
LoadActor( "icon glow" ) .. { LoadActor( "icon glow" ) .. {
InitCommand=cmd(blend,"BlendMode_Add"); InitCommand=cmd(blend,"BlendMode_Add");
GainFocusCommand=cmd(visible,true); GainFocusCommand=cmd(diffuseshift;visible,true);
LoseFocusCommand=cmd(visible,false); LoseFocusCommand=cmd(stopeffect;visible,false);
}; };
LoadFont( "_terminator two 36" ) .. { LoadFont( "_terminator two 36" ) .. {
InitCommand=cmd(y,-30;settext,string.upper(gc:GetText());shadowlength,0;zoom,0.5;maxwidth,160); InitCommand=cmd(y,-30;settext,string.upper(gc:GetText());shadowlength,0;zoom,0.5;maxwidth,160;strokecolor,color("#000000FF"));
}; };
Def.ActorFrame { Def.ActorFrame {
InitCommand=cmd(y,10;); InitCommand=cmd(y,10;);