玩家act函数addL/R更名zangiL/R

This commit is contained in:
MrZ_26
2020-08-08 02:15:48 +08:00
parent 2424ba692e
commit 9f6a3057f5
2 changed files with 5 additions and 5 deletions

View File

@@ -69,8 +69,8 @@ local virtualkeySet={
{16,970, 50,30},--down10 {16,970, 50,30},--down10
{17,1030, 50,30},--dropLeft {17,1030, 50,30},--dropLeft
{18,1090, 50,30},--dropRight {18,1090, 50,30},--dropRight
{19,1150, 50,30},--addLeft {19,1150, 50,30},--zangiLeft
{20,1210, 50,30},--addRight {20,1210, 50,30},--zangiRight
},--PC key feedback(top&in a row) },--PC key feedback(top&in a row)
} }

View File

@@ -2403,14 +2403,14 @@ function player.act.dropRight(P)
P.act.insRight(P) P.act.insRight(P)
P.act.hardDrop(P) P.act.hardDrop(P)
end end
function player.act.addLeft(P) function player.act.zangiLeft(P)
if P.gameEnv.nofly or not P.cur then return end if P.gameEnv.nofly or not P.cur then return end
P.act.insLeft(P) P.act.insLeft(P)
P.act.insDown(P) P.act.insDown(P)
P.act.insRight(P) P.act.insRight(P)
P.act.hardDrop(P) P.act.hardDrop(P)
end end
function player.act.addRight(P) function player.act.zangiRight(P)
if P.gameEnv.nofly or not P.cur then return end if P.gameEnv.nofly or not P.cur then return end
P.act.insRight(P) P.act.insRight(P)
P.act.insDown(P) P.act.insDown(P)
@@ -2424,7 +2424,7 @@ T={
A.rot180 ,A.hardDrop, A.softDrop, A.hold, A.rot180 ,A.hardDrop, A.softDrop, A.hold,
A.func ,A.restart, A.insLeft, A.insRight, A.func ,A.restart, A.insLeft, A.insRight,
A.insDown ,A.down1, A.down4, A.down10, A.insDown ,A.down1, A.down4, A.down10,
A.dropLeft ,A.dropRight, A.addLeft, A.addRight A.dropLeft ,A.dropRight, A.zangiLeft,A.zangiRight
}for i=1,20 do A[i]=T[i]end;A,T=nil }for i=1,20 do A[i]=T[i]end;A,T=nil
--------------------------</Control>-------------------------- --------------------------</Control>--------------------------