移除省流模式

This commit is contained in:
MrZ626
2021-06-08 15:04:15 +08:00
parent 6519e8445e
commit 94e3f15ee7
10 changed files with 5 additions and 13 deletions

View File

@@ -256,6 +256,7 @@ do
SETTING.frameMul=100
end
SETTING.appLock=nil
SETTING.dataSaving=nil
for _,v in next,VK_org do v.color=nil end
if RANKS.GM then RANKS.GM=0 end
if RANKS.infinite then RANKS.infinite=6 end

View File

@@ -304,7 +304,6 @@ SETTING={--Settings
10,13,2,8
},
face={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
dataSaving=false,
--Graphic
block=true,ghost=.3,center=1,

View File

@@ -312,7 +312,6 @@ return{
autoPause="Pause while unfocused",
swap="Key Combination (Change Atk. Mode)",
fine="Finesse Error SFX",
dataSaving="Data saving",
simpMode="Simplistic Style",
},
setting_video={

View File

@@ -284,7 +284,6 @@ return{
autoPause="Mettre en pause en cas de perte de focus",
swap="Combinaison de touches (changer le mode d'attaque)",
fine="Son d'erreur de Finesse",
-- dataSaving="Data saving",
-- simpMode="Simple mode",
},
setting_video={

View File

@@ -311,7 +311,6 @@ return{
autoPause="Pausar quando foco for perco",
swap="Combinação de tecla(Mudar modo de atk)",
fine="Som Falha de destreza",
-- dataSaving="Data saving",
-- simpMode="Simple mode",
},
setting_video={

View File

@@ -287,7 +287,6 @@ return{
autoPause="Pausar cuando la ventana no está enfocada",
swap="Combinación de Teclas (Cambiar Modo de Ataque)",
fine="Sonido de Error de Finesse",
-- dataSaving="Data saving",
simpMode="Modo Sencillo",
},
setting_video={

View File

@@ -136,7 +136,6 @@ return{
autoPause="A||",
swap="=+=+=",
fine="12 X 21",
dataSaving="XX.",
simpMode=".",
},
setting_video={

View File

@@ -312,7 +312,6 @@ return{
autoPause="失去焦点自动暂停",
swap="组合键切换攻击模式",
fine="极简操作提示音",
dataSaving="省流模式",
simpMode="简洁模式",
},
setting_video={

View File

@@ -224,12 +224,11 @@ function NET.getAccessToken()
end
end
function NET.getUserInfo(uid)
local hash=(not SETTING.dataSaving or nil)and USERS.getHash(uid)
WS.send('user',JSON.encode{
action=1,
data={
uid=uid,
hash=hash,
hash=USERS.getHash(uid),
},
})
end

View File

@@ -31,10 +31,9 @@ scene.widgetList={
WIDGET.newSelector{name="RS", x=300, y=420, w=300,color='S',list={'TRS','SRS','C2','C2sym','Classic','None'},disp=SETval("RS"),code=SETsto("RS")},
WIDGET.newButton{name="layout", x=250, y=540, w=200,h=70,font=35, code=goScene'setting_skin'},
WIDGET.newSwitch{name="autoPause", x=1060, y=310, disp=SETval("autoPause"), code=SETrev("autoPause")},
WIDGET.newSwitch{name="swap", x=1060, y=370, disp=SETval("swap"), code=SETrev("swap")},
WIDGET.newSwitch{name="fine", x=1060, y=430, disp=SETval("fine"), code=function()SETTING.fine=not SETTING.fine if SETTING.fine then SFX.play('finesseError',.6)end end},
WIDGET.newSwitch{name="dataSaving", x=1060, y=490, disp=SETval("dataSaving"), code=function()SETTING.dataSaving=not SETTING.dataSaving if not SETTING.dataSaving then USERS.forceFreshAvatar()end end},
WIDGET.newSwitch{name="simpMode", x=1060, y=550, disp=SETval("simpMode"),
WIDGET.newSwitch{name="swap", x=1060, y=380, disp=SETval("swap"), code=SETrev("swap")},
WIDGET.newSwitch{name="fine", x=1060, y=450, disp=SETval("fine"), code=function()SETTING.fine=not SETTING.fine if SETTING.fine then SFX.play('finesseError',.6)end end},
WIDGET.newSwitch{name="simpMode", x=1060, y=520, disp=SETval("simpMode"),
code=function()
SETTING.simpMode=not SETTING.simpMode
for i=1,#SCN.stack,2 do