Revert "The "new" theme is handled."

This reverts commit 2d5d45e365.
This commit is contained in:
Jason Felds
2013-07-18 17:42:22 -04:00
parent f57abda0bc
commit c872bb311c
11 changed files with 95 additions and 212 deletions
@@ -1,60 +1,40 @@
local t = Def.ActorFrame {};
-- Background Color
t[#t+1] = Def.ActorFrame {
InitCommand=function(self)
self:Center();
end;
--
Def.Quad {
InitCommand=function(self)
self:zoomto(SCREEN_WIDTH, SCREEN_HEIGHT);
self:diffuse(color("#005185"));
end;
};
InitCommand=cmd(Center);
--
Def.Quad {
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;diffuse,color("#005185"));
};
};
-- Additive Tint
t[#t+1] = Def.ActorFrame {
InitCommand=function(self)
self:Center();
end;
--
Def.Quad {
InitCommand=function(self)
self:zoomto(SCREEN_WIDTH, SCREEN_HEIGHT);
self:fadetop(1);
self:blend("BlendMode_Add");
self:diffusealpha(0.2);
end;
}
InitCommand=cmd(Center);
--
Def.Quad {
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;fadetop,1;blend,"BlendMode_Add";diffusealpha,0.2);
}
};
-- Textures Frame
t[#t+1] = Def.ActorFrame {
InitCommand=function(self)
self:Center();
end;
-- Scanline
LoadActor("_texture scanline") .. {
InitCommand=function(self)
self:zoomto(SCREEN_WIDTH, SCREEN_HEIGHT);
self:customtexturerect(0, 0, SCREEN_WIDTH / 16, SCREEN_HEIGHT / 32);
self:diffuse(Color.Black);
self:diffusealpha(0.25);
end;
};
-- Checkerboard
LoadActor("_texture checkerboard") .. {
InitCommand=function(self)
self:zoomto(SCREEN_WIDTH, SCREEN_HEIGHT);
self:customtexturerect(0, 0, SCREEN_WIDTH / 64, SCREEN_HEIGHT / 64);
self:texcoordvelocity(0.5, 0);
self:diffuse(Color.Black);
self:diffusealpha(0.25);
end;
};
InitCommand=cmd(Center);
-- Scanline
LoadActor("_texture scanline") .. {
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;
customtexturerect,0,0,SCREEN_WIDTH/16,SCREEN_HEIGHT/32;
diffuse,Color.Black;
diffusealpha,0.25;
);
};
-- Checkerboard
LoadActor("_texture checkerboard") .. {
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;
customtexturerect,0,0,SCREEN_WIDTH/64,SCREEN_HEIGHT/64;
texcoordvelocity,0.5,0;
diffuse,Color.Black;
diffusealpha,0.25;
);
};
};
--