puzzleMark素材初始化移出load过程

This commit is contained in:
MrZ626
2021-03-04 15:14:36 +08:00
parent 6cbd7d19da
commit ecf899f610
6 changed files with 30 additions and 36 deletions

View File

@@ -215,9 +215,10 @@ local function drawNextPreview(P,B)
local y=int(P.gameEnv.fieldH+1-modf(B.sc[1]))+ceil(P.fieldBeneath/30)
B=B.bk
local x=int(6-#B[1]*.5)
local cross=TEXTURE.puzzleMark[-1]
for i=1,#B do for j=1,#B[1]do
if B[i][j]then
gc_draw(puzzleMark[-1],30*(x+j-2),30*(1-y-i))
gc_draw(cross,30*(x+j-2),30*(1-y-i))
end
end end
end