代码/注释整理
This commit is contained in:
@@ -20,6 +20,7 @@ function sceneInit.load()
|
||||
sceneTemp={
|
||||
phase=1,--Loading stage
|
||||
cur=1,--Counter
|
||||
tar=#VOC.name,--Loading bar length(current)
|
||||
tip=setting.appLock or require("parts/getTip"),
|
||||
list={
|
||||
#VOC.name,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
local freeRow={}
|
||||
local L={}--Storage
|
||||
local _=0--Lenth
|
||||
local _=0--Length
|
||||
function freeRow.reset(num)
|
||||
if num<_ then
|
||||
for i=_,num+1,-1 do
|
||||
|
||||
@@ -1428,7 +1428,7 @@ function player.freshBlock(P,keepGhost,control,system)
|
||||
end
|
||||
function player.lock(P)
|
||||
local dest=P.AI_dest
|
||||
local has_dest = (dest ~= nil)
|
||||
local has_dest=dest~=nil
|
||||
for i=1,P.r do
|
||||
local y=P.curY+i-1
|
||||
if not P.field[y]then P.field[y],P.visTime[y]=freeRow.get(0),freeRow.get(0)end
|
||||
|
||||
Reference in New Issue
Block a user