grey的拼写改为gray
This commit is contained in:
4
main.lua
4
main.lua
@@ -261,6 +261,10 @@ do
|
|||||||
needSave=true
|
needSave=true
|
||||||
autoRestart=true
|
autoRestart=true
|
||||||
end
|
end
|
||||||
|
if SETTING.ghostType=='greyCell'then
|
||||||
|
SETTING.ghostType='grayCell'
|
||||||
|
needSave=true
|
||||||
|
end
|
||||||
if not SETTING.VKSkin then SETTING.VKSkin=1 end
|
if not SETTING.VKSkin then SETTING.VKSkin=1 end
|
||||||
if not TABLE.find({8,10,13,17,22,29,37,47,62,80,100},SETTING.frameMul)then
|
if not TABLE.find({8,10,13,17,22,29,37,47,62,80,100},SETTING.frameMul)then
|
||||||
SETTING.frameMul=100
|
SETTING.frameMul=100
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ do--function applyXxxSatur(mode)
|
|||||||
local saturateValues={
|
local saturateValues={
|
||||||
normal={0,1},
|
normal={0,1},
|
||||||
soft={.2,.7},
|
soft={.2,.7},
|
||||||
grey={.4,.4},
|
gray={.4,.4},
|
||||||
light={.2,.8},
|
light={.2,.8},
|
||||||
color={-.2,1.2},
|
color={-.2,1.2},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ local drawGhost={
|
|||||||
end
|
end
|
||||||
end end
|
end end
|
||||||
end,
|
end,
|
||||||
greyCell=function(P,_,alpha)
|
grayCell=function(P,_,alpha)
|
||||||
gc_setColor(1,1,1,alpha)
|
gc_setColor(1,1,1,alpha)
|
||||||
local CB=P.cur.bk
|
local CB=P.cur.bk
|
||||||
for i=1,#CB do for j=1,#CB[1]do
|
for i=1,#CB do for j=1,#CB[1]do
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ scene.widgetList={
|
|||||||
WIDGET.newSwitch{name="upEdge", x=380,y=320,disp=SETval("upEdge"),code=SETrev("upEdge")},
|
WIDGET.newSwitch{name="upEdge", x=380,y=320,disp=SETval("upEdge"),code=SETrev("upEdge")},
|
||||||
WIDGET.newSwitch{name="bagLine", x=380,y=390,disp=SETval("bagLine"),code=SETrev("bagLine")},
|
WIDGET.newSwitch{name="bagLine", x=380,y=390,disp=SETval("bagLine"),code=SETrev("bagLine")},
|
||||||
|
|
||||||
WIDGET.newSelector{name="ghostType",x=915,y=180,w=350,list={'color','gray','colorCell','greyCell','colorLine','grayLine'},disp=SETval("ghostType"),code=SETsto("ghostType")},
|
WIDGET.newSelector{name="ghostType",x=915,y=180,w=350,list={'color','gray','colorCell','grayCell','colorLine','grayLine'},disp=SETval("ghostType"),code=SETsto("ghostType")},
|
||||||
WIDGET.newSlider{name="ghost", x=740,y=240,w=350,unit=1, disp=SETval("ghost"),show="percent",code=SETsto("ghost")},
|
WIDGET.newSlider{name="ghost", x=740,y=240,w=350,unit=1, disp=SETval("ghost"),show="percent",code=SETsto("ghost")},
|
||||||
WIDGET.newSlider{name="grid", x=740,y=320,w=350,unit=.4, disp=SETval("grid"),show="percent", code=SETsto("grid")},
|
WIDGET.newSlider{name="grid", x=740,y=320,w=350,unit=.4, disp=SETval("grid"),show="percent", code=SETsto("grid")},
|
||||||
WIDGET.newSlider{name="center", x=740,y=400,w=350,unit=1, disp=SETval("center"), code=SETsto("center")},
|
WIDGET.newSlider{name="center", x=740,y=400,w=350,unit=1, disp=SETval("center"), code=SETsto("center")},
|
||||||
@@ -79,12 +79,12 @@ scene.widgetList={
|
|||||||
end},
|
end},
|
||||||
|
|
||||||
WIDGET.newSelector{name="blockSatur",x=800,y=1440,w=300,color='lN',
|
WIDGET.newSelector{name="blockSatur",x=800,y=1440,w=300,color='lN',
|
||||||
list={'normal','soft','grey','light','color'},
|
list={'normal','soft','gray','light','color'},
|
||||||
disp=SETval("blockSatur"),
|
disp=SETval("blockSatur"),
|
||||||
code=function(v)SETTING.blockSatur=v;applyBlockSatur(SETTING.blockSatur)end
|
code=function(v)SETTING.blockSatur=v;applyBlockSatur(SETTING.blockSatur)end
|
||||||
},
|
},
|
||||||
WIDGET.newSelector{name="fieldSatur",x=800,y=1540,w=300,color='lN',
|
WIDGET.newSelector{name="fieldSatur",x=800,y=1540,w=300,color='lN',
|
||||||
list={'normal','soft','grey','light','color'},
|
list={'normal','soft','gray','light','color'},
|
||||||
disp=SETval("fieldSatur"),
|
disp=SETval("fieldSatur"),
|
||||||
code=function(v)SETTING.fieldSatur=v;applyFieldSatur(SETTING.fieldSatur)end
|
code=function(v)SETTING.fieldSatur=v;applyFieldSatur(SETTING.fieldSatur)end
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user