显示ai计算的下一块位置

This commit is contained in:
MrZ626
2021-03-05 18:02:52 +08:00
parent 9714ba1113
commit 37520a9634
3 changed files with 17 additions and 4 deletions

View File

@@ -622,6 +622,15 @@ function draw.norm(P)
drawNextPreview(P,P.nextQueue[1])
end
--Draw AI's drop destination
if P.AI_dest then
local texture=TEXTURE.puzzleMark[21]
local L=P.AI_dest
for i=1,#L,2 do
gc_draw(texture,30*L[i],-30*L[i+1]-30)
end
end
gc.setScissor()
gc_pop()