f2fdaa0cf5
Warning is dismissable now, and cursor does not start in a position that will change a setting. New special actions added: ClearToDefault, ReloadFromDisk, SaveToDisk, SetListMode. Exit is a special action. Player is prompted to save when exiting screen instead of saving after every action. Special actions fallback on Graphics/SMC action if they don't have their own. Moved SMC overlay to Graphics/SMC warning. Metrics for configuring input lock time, warning autodismiss time, lines visible, and NoSetListPrompt autodismiss time. Header row added for cursor to start on. ScreenMapControllers2 deleted as obsolete. BitmapText:maxwidth changed to factor the zoom of the actor into the calculation.
18 lines
666 B
Lua
18 lines
666 B
Lua
return Def.ActorFrame{
|
|
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y),
|
|
Def.Quad{
|
|
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;diffuse,Color.Black;diffusealpha,0),
|
|
TweenOnCommand=cmd(stoptweening;diffusealpha,1;linear,0.5;diffusealpha,0.8),
|
|
TweenOffCommand=cmd(stoptweening;linear,0.5;diffusealpha,0),
|
|
},
|
|
Def.ActorFrame{
|
|
Def.BitmapText{
|
|
Font="Common Normal",
|
|
Text=ScreenString("NoSetListPrompt"),
|
|
InitCommand=cmd(y,10;wrapwidthpixels,SCREEN_WIDTH-48;diffusealpha,0),
|
|
TweenOnCommand=cmd(stoptweening;diffusealpha,0;sleep,0.5125;linear,0.125;diffusealpha,1),
|
|
TweenOffCommand=cmd(stoptweening;linear,0.5;diffusealpha,0),
|
|
},
|
|
},
|
|
}
|