玩家绘制模块改动,applyFieldOffset函数改为applyField,组合更多功能

修复部分模式往场地内部绘制信息时偏移问题
close #181
This commit is contained in:
MrZ626
2021-08-10 03:32:07 +08:00
parent a73819214b
commit 17479ac08b
9 changed files with 52 additions and 48 deletions

View File

@@ -34,11 +34,10 @@ return{
mText(drawableText.tsd,63,315)
local L=P.modeData.history
if L[1]and L[1]==L[2]and L[1]==L[3]then
gc.push('transform')
PLY.draw.applyFieldOffset(P)
gc.translate(0,P.fieldBeneath+P.fieldUp)
PLY.draw.applyField(P)
gc.setColor(1,.5,.5,.2)
gc.rectangle('fill',30*L[1]-30,0,30,600)
gc.setStencilTest()
gc.pop()
end
end,