[Theme-side] Added Fancy UI Background preference to Theme Options.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
local hideFancyElements = (GetUserPrefB("UserPrefFancyUIBG") == false)
|
||||
|
||||
local t = Def.ActorFrame {};
|
||||
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
@@ -9,12 +11,12 @@ t[#t+1] = Def.ActorFrame {
|
||||
};
|
||||
Def.ActorFrame {
|
||||
LoadActor("_pattern") .. {
|
||||
InitCommand=cmd(rotationy,-12.25;rotationz,-30;rotationx,-20;zoomto,SCREEN_WIDTH*2,SCREEN_HEIGHT*2;customtexturerect,0,0,SCREEN_WIDTH*4/256,SCREEN_HEIGHT*4/256);
|
||||
InitCommand=cmd(hide_if,hideFancyElements;rotationy,-12.25;rotationz,-30;rotationx,-20;zoomto,SCREEN_WIDTH*2,SCREEN_HEIGHT*2;customtexturerect,0,0,SCREEN_WIDTH*4/256,SCREEN_HEIGHT*4/256);
|
||||
OnCommand=cmd(texcoordvelocity,0.125,0.5;diffuse,color("#ffd400");diffusealpha,0.045;bob;effectmagnitude,0,0,35;effectperiod,4);
|
||||
};
|
||||
};
|
||||
LoadActor("_particleLoader") .. {
|
||||
InitCommand=cmd(x,-SCREEN_CENTER_X;y,-SCREEN_CENTER_Y);
|
||||
InitCommand=cmd(x,-SCREEN_CENTER_X;y,-SCREEN_CENTER_Y;hide_if,hideFancyElements;);
|
||||
};
|
||||
--[[ LoadActor("_particles") .. {
|
||||
InitCommand=cmd(x,-SCREEN_CENTER_X;y,-SCREEN_CENTER_Y);
|
||||
|
||||
Reference in New Issue
Block a user