玩家act函数addL/R更名zangiL/R
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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>--------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user