Revert "DONE! All lua is future-proofed."
This reverts commit afd0dac0c1.
This commit is contained in:
@@ -1,39 +1,19 @@
|
||||
local jl = Var "JudgmentLine";
|
||||
|
||||
return Def.ActorFrame {
|
||||
Def.Quad {
|
||||
InitCommand=function(self)
|
||||
self:horizalign(right);
|
||||
self:zoomto(256,18);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:diffuse(Color("Black"));
|
||||
self:fadeleft(1);
|
||||
end;
|
||||
};
|
||||
Def.Quad {
|
||||
InitCommand=function(self)
|
||||
self:horizalign(left);
|
||||
self:zoomto(256,18);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:diffuse(Color("Black"));
|
||||
self:faderight(1);
|
||||
end;
|
||||
};
|
||||
|
||||
LoadActor("_frame") .. {
|
||||
InitCommand=function(self)
|
||||
self:diffuse(JudgmentLineToColor(jl));
|
||||
end;
|
||||
};
|
||||
LoadFont("Common Normal") .. {
|
||||
InitCommand=function(self)
|
||||
self:zoom(0.675);
|
||||
self:settext(string.upper(JudgmentLineToLocalizedString(jl)));
|
||||
self:diffuse(JudgmentLineToColor(jl));
|
||||
self:shadowlength(1);
|
||||
self:maxwidth(180);
|
||||
end;
|
||||
};
|
||||
local jl = Var "JudgmentLine";
|
||||
|
||||
return Def.ActorFrame {
|
||||
Def.Quad {
|
||||
InitCommand=cmd(horizalign,right;zoomto,256,18);
|
||||
OnCommand=cmd(diffuse,Color("Black");fadeleft,1);
|
||||
};
|
||||
Def.Quad {
|
||||
InitCommand=cmd(horizalign,left;zoomto,256,18);
|
||||
OnCommand=cmd(diffuse,Color("Black");faderight,1);
|
||||
};
|
||||
|
||||
LoadActor("_frame") .. {
|
||||
InitCommand=cmd(diffuse,JudgmentLineToColor(jl));
|
||||
};
|
||||
LoadFont("Common Normal") .. {
|
||||
InitCommand=cmd(zoom,0.675;settext,string.upper(JudgmentLineToLocalizedString(jl));diffuse,JudgmentLineToColor(jl);shadowlength,1;maxwidth,180);
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user