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
@@ -6,47 +6,33 @@ local t = Def.ActorFrame {
LoadActor( THEME:GetPathB("Screen", "out") );
LoadFont( "common normal" ) .. {
InitCommand=function(self)
self:settext("Press &START; for more options");
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y + 100);
self:visible(false);
end;
AskForGoToOptionsCommand=function(self)
self:visible(true);
self:diffusealpha(0);
self:linear(0.15);
self:zoomy(1);
self:diffusealpha(1);
self:sleep(1);
self:linear(0.15);
self:diffusealpha(0);
self:zoomy(0);
end;
GoToOptionsCommand=function(self)
self:visible(false);
end;
InitCommand=cmd(settext,"Press &START; for more options";x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+100;visible,false);
AskForGoToOptionsCommand=cmd(
visible,true;
diffusealpha,0;
linear,0.15;
zoomy,1;
diffusealpha,1;
sleep,1;
linear,0.15;
diffusealpha,0;
zoomy,0;
);
GoToOptionsCommand=cmd(visible,false);
};
LoadFont( "common normal" ) .. {
InitCommand=function(self)
self:settext("entering options...");
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y + 100);
self:visible(false);
end;
AskForGoToOptionsCommand=function(self)
self:visible(false);
self:linear(0.15);
self:zoomy(1);
self:diffusealpha(1);
self:sleep(1);
self:linear(0.15);
self:diffusealpha(0);
self:zoomy(0);
end;
GoToOptionsCommand=function(self)
self:visible(true);
end;
InitCommand=cmd(settext,"entering options...";x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+100;visible,false);
AskForGoToOptionsCommand=cmd(
visible,false;
linear,0.15;
zoomy,1;
diffusealpha,1;
sleep,1;
linear,0.15;
diffusealpha,0;
zoomy,0;
);
GoToOptionsCommand=cmd(visible,true);
};
};