23 lines
625 B
Lua
23 lines
625 B
Lua
local x = Def.ActorFrame{
|
|
Def.Quad{
|
|
InitCommand=cmd(Center;zoomto,SCREEN_WIDTH,80;diffuse,color("0,0,0,0.5"));
|
|
OnCommand=cmd();
|
|
OffCommand=cmd();
|
|
};
|
|
LoadFont("Common Normal")..{
|
|
Text="Saving Profiles...";
|
|
--~ Text=ScreenString("Loading Profiles...");
|
|
InitCommand=cmd(Center;diffuse,color("1,1,1,1");shadowlength,1);
|
|
OffCommand=cmd(linear,0.15;diffusealpha,0);
|
|
};
|
|
};
|
|
|
|
x[#x+1] = Def.Actor {
|
|
BeginCommand=function(self)
|
|
if SCREENMAN:GetTopScreen():HaveProfileToSave() then self:sleep(1); end;
|
|
self:queuecommand("Load");
|
|
end;
|
|
LoadCommand=function() SCREENMAN:GetTopScreen():Continue(); end;
|
|
};
|
|
|
|
return x; |