Revert "DONE! All lua is future-proofed."

This reverts commit afd0dac0c1.
This commit is contained in:
Jason Felds
2013-07-18 18:02:01 -04:00
parent ea45a6947c
commit fb5db73c45
44 changed files with 1556 additions and 2939 deletions
@@ -2,13 +2,8 @@ return Def.ActorFrame {
LoadFont("Common Normal") .. {
Text=GetTimingDifficulty();
AltText="";
InitCommand=function(self)
self:horizalign(left);
self:zoom(0.675);
end;
OnCommand=function(self)
self:shadowlength(1);
end;
InitCommand=cmd(horizalign,left;zoom,0.675);
OnCommand=cmd(shadowlength,1);
BeginCommand=function(self)
self:settextf( Screen.String("TimingDifficulty"), "" );
end
@@ -16,18 +11,12 @@ return Def.ActorFrame {
LoadFont("Common Normal") .. {
Text=GetTimingDifficulty();
AltText="";
InitCommand=function(self)
self:x(136);
self:zoom(0.675);
self:halign(0);
end;
InitCommand=cmd(x,136;zoom,0.675;halign,0);
OnCommand=function(self)
self:shadowlength(1);
self:skewx(-0.125);
(cmd(shadowlength,1;skewx,-0.125))(self);
if GetTimingDifficulty() == 9 then
self:settext("Justice");
self:zoom(0.5);
self:diffuse(ColorLightTone( Color("Orange")) );
(cmd(zoom,0.5;diffuse,ColorLightTone( Color("Orange")) ))(self);
else
self:settext( GetTimingDifficulty() );
end