简化自定义模式选项,移除部分不必要的参数

This commit is contained in:
MrZ626
2021-03-06 13:41:38 +08:00
parent b370807de1
commit 1b34a13321
8 changed files with 21 additions and 86 deletions

View File

@@ -153,44 +153,37 @@ CUSTOMENV={--gameEnv for cutsom game
wait=0,
fall=0,
--Control
mindas=0,
minarr=0,
minsdarr=0,
nextCount=6,
nextStartPos=1,
holdCount=1,
infHold=false,
--Visual
block=true,
ghost=.3,
center=1,
bagLine=false,
highCam=false,
nextPos=false,
bone=false,
hideBoard=false,
flipBoard=false,
--Rule
mindas=0,
minarr=0,
minsdarr=0,
sequence="bag",
ospin=true,
deepDrop=false,
fieldH=20,
RS="TRS",
ospin=true,
noTele=false,
fineKill=false,
b2bKill=false,
missionKill=false,
easyFresh=true,
deepDrop=false,
visible="show",
target=1e99,
freshLimit=1e99,
opponent="X",
life=0,
garbageSpeed=1,
pushSpeed=3,
missionKill=false,
--Else
bg="none",

View File

@@ -424,13 +424,6 @@ return{
nextCount="Next",
holdCount="Hold",
infHold="Infinite Hold",
block="Draw Block",
ghost="Ghost",
center="Center",
upEdge="3D Block",
bagLine="Bag Line",
highCam="Birds-eye View",
nextPos="Next Preview",
bone="Bone Blocks",
mindas="Min. DAS",
@@ -438,7 +431,6 @@ return{
minsdarr="Min. SDARR",
noTele="No Teleportation",
fieldH="Field height",
RS="Rotation System",
ospin="O-Spin",
deepDrop="Deep Drop",
target="Target",

View File

@@ -400,13 +400,6 @@ return{
nextCount="Prévisualisations de pièces",
holdCount="Réserve",
infHold="Réserver une fois",
block="Dessiner le bloc",
ghost="Pièce fantôme",
center="Centre",
upEdge="3D bloc",
bagLine="Ligne du Sac",
highCam="Vue d'oiseau",
nextPos="Prévisualisation de position",
bone="Crochets",
mindas="DAS minimum",
@@ -414,7 +407,6 @@ return{
minsdarr="SDARR minimum",
noTele="Pas de téléportation",
-- fieldH="Field height",
RS="Système de rotation",
ospin="O-spin",
-- deepDrop="Deep Drop",
target="But",

View File

@@ -424,13 +424,6 @@ return{
nextCount="Prox.",
holdCount="Segurar",
infHold="Segurar Infinito",
block="Mostrar bloco",
ghost="Fantasma",
center="Centro",
upEdge="3D bloco",
bagLine="Linha De Bolsa",
highCam="Vista Olho-De-Pássaro",
nextPos="Próxima pos.",
bone="Bone Blocks",
mindas="Min. DAS",
@@ -438,7 +431,6 @@ return{
minsdarr="Min. SDARR",
noTele="Sem teleporte",
-- fieldH="Field height",
RS="Sistema de rotação",
ospin="O-Spin",
-- deepDrop="Deep Drop",
target="Alvo",

View File

@@ -400,13 +400,6 @@ return{
nextCount="Siguiente",
holdCount="Reserva",
-- infHold="Hold Único",
block="Dibujar Bloques",
ghost="Fantasma",
center="Centrar",
upEdge="3D Bloques",
bagLine="Línea de Bag de Pzas.",
highCam="Vista Aérea",
nextPos="Nro. de Pzas. Siguientes",
bone="Bone Block",
mindas="DAS Mínimo",
@@ -414,7 +407,6 @@ return{
minsdarr="SDARR Mínimo",
noTele="Sin Teleport",
-- fieldH="Field height",
-- RS="Rotation System",
ospin="O-Spin",
-- deepDrop="Deep Drop",
target="Objetivo",

View File

@@ -281,13 +281,6 @@ return{
nextCount="",
holdCount="[ ]",
infHold="∞*[ ]",
block="==↓==",
ghost="__↓__",
center="+",
upEdge="[]`",
bagLine="123|123",
highCam="↑__↑",
nextPos="???←",
bone="[]",
mindas="mDAS",
@@ -295,7 +288,6 @@ return{
minsdarr="msdARR",
noTele="X→→X",
fieldH="↑[]↓",
RS="''?",
ospin="O→Any",
deepDrop="\\↓↓/",
target="&=",

View File

@@ -424,13 +424,6 @@ return{
nextCount="Next",
holdCount="Hold",
infHold="无限Hold",
block="方块可见",
ghost="阴影透明度",
center="中心透明度",
upEdge="3D方块",
bagLine="包分界线",
highCam="超屏视野",
nextPos="生成预览",
bone="骨块",
mindas="最小DAS",
@@ -438,7 +431,6 @@ return{
minsdarr="最小软降ARR",
noTele="禁止瞬移",
fieldH="场地高度",
RS="旋转系统",
ospin="O-spin",
deepDrop="穿墙软降",
target="目标行数",

View File

@@ -4,35 +4,17 @@ scene.widgetList={
WIDGET.newText{name="title", x=520,y=5,font=70,align="R"},
WIDGET.newText{name="subTitle", x=530,y=50,font=35,align="L",color="grey"},
--Visual
WIDGET.newSwitch{name="block", x=620, y=600, font=25,disp=lnk_CUSval("block"), code=lnk_CUSrev("block")},
WIDGET.newSlider{name="ghost", x=500, y=450,w=200,unit=.6,font=25,disp=lnk_CUSval("ghost"), code=lnk_CUSsto("ghost")},
WIDGET.newSlider{name="center", x=500, y=520,w=200,unit=1, font=25,disp=lnk_CUSval("center"), code=lnk_CUSsto("center")},
WIDGET.newSwitch{name="bagLine", x=1190, y=340,disp=lnk_CUSval("bagLine"),code=lnk_CUSrev("bagLine")},
WIDGET.newSwitch{name="highCam", x=1190, y=410,disp=lnk_CUSval("highCam"),code=lnk_CUSrev("highCam")},
WIDGET.newSwitch{name="nextPos", x=1190, y=480,disp=lnk_CUSval("nextPos"),code=lnk_CUSrev("nextPos")},
WIDGET.newSwitch{name="bone", x=1190, y=550,disp=lnk_CUSval("bone"), code=lnk_CUSrev("bone")},
--Control
WIDGET.newSlider{name="nextCount", x=150,y=450,w=200,unit=6, disp=lnk_CUSval("nextCount"),code=lnk_CUSsto("nextCount")},
WIDGET.newSlider{name="holdCount", x=150,y=520,w=200,unit=6, disp=lnk_CUSval("holdCount"),code=lnk_CUSsto("holdCount")},
WIDGET.newSwitch{name="infHold", x=260,y=600, disp=lnk_CUSval("infHold"), code=lnk_CUSrev("infHold"),hide=function()return CUSTOMENV.holdCount==0 end},
WIDGET.newSlider{name="mindas", x=180, y=150,w=400,unit=15,font=25,disp=lnk_CUSval("mindas"), code=lnk_CUSsto("mindas")},
WIDGET.newSlider{name="minarr", x=180, y=220,w=400,unit=10,font=25,disp=lnk_CUSval("minarr"), code=lnk_CUSsto("minarr")},
WIDGET.newSlider{name="minsdarr", x=180, y=290,w=200,unit=4, font=20,disp=lnk_CUSval("minsdarr"),code=lnk_CUSsto("minsdarr")},
WIDGET.newSlider{name="nextCount", x=180, y=380,w=200,unit=6, disp=lnk_CUSval("nextCount"),code=lnk_CUSsto("nextCount")},
WIDGET.newSlider{name="holdCount", x=180, y=450,w=200,unit=6, disp=lnk_CUSval("holdCount"),code=lnk_CUSsto("holdCount")},
WIDGET.newSwitch{name="infHold", x=280, y=530, disp=lnk_CUSval("infHold"), code=lnk_CUSrev("infHold"),hide=function()return CUSTOMENV.holdCount==0 end},
--Rule
WIDGET.newSwitch{name="ospin", x=910, y=340, font=30,disp=lnk_CUSval("ospin"), code=lnk_CUSrev("ospin")},
WIDGET.newSwitch{name="noTele", x=910, y=410, font=25,disp=lnk_CUSval("noTele"), code=lnk_CUSrev("noTele")},
WIDGET.newSwitch{name="fineKill", x=910, y=480, font=20,disp=lnk_CUSval("fineKill"), code=lnk_CUSrev("fineKill")},
WIDGET.newSwitch{name="b2bKill", x=910, y=550, font=20,disp=lnk_CUSval("b2bKill"), code=lnk_CUSrev("b2bKill")},
WIDGET.newSwitch{name="easyFresh", x=910, y=620, font=20,disp=lnk_CUSval("easyFresh"),code=lnk_CUSrev("easyFresh")},
WIDGET.newSwitch{name="deepDrop", x=910, y=690, font=20,disp=lnk_CUSval("deepDrop"),code=lnk_CUSrev("deepDrop")},
WIDGET.newSelector{name="fieldH", x=550, y=520, w=260,color="sky", list={1,2,3,4,6,8,10,15,20,30,50,100},disp=lnk_CUSval("fieldH"),code=lnk_CUSsto("fieldH")},
WIDGET.newSelector{name="fieldH", x=250, y=370, w=260,color="sky", list={1,2,3,4,6,8,10,15,20,30,50,100},disp=lnk_CUSval("fieldH"),code=lnk_CUSsto("fieldH")},
WIDGET.newSelector{name="RS", x=570, y=370, w=260,color="sea", list={"TRS","SRS","C2","C2sym","Classic","None"},disp=lnk_CUSval("RS"),code=lnk_CUSsto("RS")},
WIDGET.newSelector{name="visible", x=840, y=60, w=260,color="lBlue",list={"show","easy","slow","medium","fast","none"},disp=lnk_CUSval("visible"),code=lnk_CUSsto("visible")},
WIDGET.newSelector{name="target", x=840, y=160, w=260,color="green",list={10,20,40,100,200,500,1000,1e99}, disp=lnk_CUSval("target"),code=lnk_CUSsto("target")},
WIDGET.newSelector{name="freshLimit",x=840, y=260, w=260,color="purple",list={0,8,15,1e99}, disp=lnk_CUSval("freshLimit"),code=lnk_CUSsto("freshLimit")},
@@ -40,6 +22,14 @@ scene.widgetList={
WIDGET.newSelector{name="life", x=1120, y=160, w=260,color="red", list={0,1,2,3,5,10,15,26,42,87,500}, disp=lnk_CUSval("life"),code=lnk_CUSsto("life")},
WIDGET.newSelector{name="pushSpeed",x=1120, y=260, w=260,color="red", list={1,2,3,5,15}, disp=lnk_CUSval("pushSpeed"),code=lnk_CUSsto("pushSpeed")},
WIDGET.newSwitch{name="ospin", x=870, y=350, font=30,disp=lnk_CUSval("ospin"), code=lnk_CUSrev("ospin")},
WIDGET.newSwitch{name="noTele", x=870, y=440, font=25,disp=lnk_CUSval("noTele"), code=lnk_CUSrev("noTele")},
WIDGET.newSwitch{name="fineKill", x=870, y=530, font=20,disp=lnk_CUSval("fineKill"),code=lnk_CUSrev("fineKill")},
WIDGET.newSwitch{name="b2bKill", x=870, y=620, font=20,disp=lnk_CUSval("b2bKill"), code=lnk_CUSrev("b2bKill")},
WIDGET.newSwitch{name="easyFresh", x=1160, y=350, font=20,disp=lnk_CUSval("easyFresh"),code=lnk_CUSrev("easyFresh")},
WIDGET.newSwitch{name="deepDrop", x=1160, y=440, font=30,disp=lnk_CUSval("deepDrop"),code=lnk_CUSrev("deepDrop")},
WIDGET.newSwitch{name="bone", x=1160, y=530, disp=lnk_CUSval("bone"), code=lnk_CUSrev("bone")},
WIDGET.newButton{name="back", x=1140, y=640, w=170,h=80, font=40,code=backScene},
}