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
@@ -12,22 +12,23 @@ local grades = {
Grade_None = 8;
};
--[[ local t = LoadActor( "grades" ) .. {
InitCommand=cmd(pause);
SetGradeCommand=function(self, params)
local state = grades[params.Grade] or grades.Grade_None;
state = state*2;
if params.PlayerNumber == PLAYER_2 then
state = state+1;
end
self:setstate(state);
end;
}; --]]
local t = LoadFont("Common Normal") .. {
InitCommand=function(self)
self:zoom(0.75);
self:shadowlength(1);
self:strokecolor(Color("Black"));
end;
ShowCommand=function(self)
self:stoptweening();
self:bounceend(0.15);
self:zoomy(0.75);
end;
HideCommand=function(self)
self:stoptweening();
self:bouncebegin(0.15);
self:zoomy(0);
end;
InitCommand=cmd(zoom,0.75;shadowlength,1;strokecolor,Color("Black"));
ShowCommand=cmd(stoptweening;bounceend,0.15;zoomy,0.75);
HideCommand=cmd(stoptweening;bouncebegin,0.15;zoomy,0);
SetGradeCommand=function(self,params)
local pnPlayer = params.PlayerNumber;
local sGrade = params.Grade or 'Grade_None';
@@ -37,6 +38,12 @@ local t = LoadFont("Common Normal") .. {
self:diffuse(PlayerColor(pnPlayer));
self:diffusetopedge(BoostColor(PlayerColor(pnPlayer),1.5));
self:strokecolor(BoostColor(PlayerColor(pnPlayer),0.25));
--[[ if sGrade == "Grade_NoTier" then
self:playcommand("Hide");
else
self:playcommand("Show");
end; --]]
end;
};