2013-07-03 20:08:34 -04:00
|
|
|
local x = Def.ActorFrame{
|
|
|
|
|
Def.Quad{
|
|
|
|
|
InitCommand=function(self)
|
|
|
|
|
self:Center();
|
|
|
|
|
self:zoomto(SCREEN_WIDTH, 80);
|
|
|
|
|
self:diffuse(color("0,0,0,0.5"));
|
|
|
|
|
end;
|
|
|
|
|
OnCommand=function(self) end;
|
|
|
|
|
OffCommand=function(self) end;
|
|
|
|
|
};
|
|
|
|
|
LoadFont("Common Normal")..{
|
|
|
|
|
Text=ScreenString("Loading Profiles");
|
|
|
|
|
InitCommand=function(self)
|
|
|
|
|
self:Center();
|
|
|
|
|
self:diffuse(color("1,1,1,1"));
|
|
|
|
|
self:shadowlength(1);
|
|
|
|
|
end;
|
|
|
|
|
OffCommand=function(self)
|
|
|
|
|
self:linear(0.15);
|
|
|
|
|
self:diffusealpha(0);
|
|
|
|
|
end;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
x[#x+1] = Def.Actor {
|
|
|
|
|
BeginCommand=function(self)
|
|
|
|
|
if SCREENMAN:GetTopScreen():HaveProfileToLoad() then self:sleep(1); end;
|
|
|
|
|
self:queuecommand("Load");
|
|
|
|
|
end;
|
|
|
|
|
LoadCommand=function() SCREENMAN:GetTopScreen():Continue(); end;
|
|
|
|
|
};
|
|
|
|
|
|
2010-01-26 21:00:30 -06:00
|
|
|
return x;
|