fix tline bug
This commit is contained in:
parent
85a37ed070
commit
87ddbff355
@ -191,8 +191,9 @@ function level_draw()
|
||||
local zoom = 16 - (14 * (pieces / MAX_PIECES))
|
||||
local h=24 * zoom
|
||||
for y=0,h do
|
||||
tline(0, 128-h+y, 128, 128-h+y,
|
||||
(px)/(8*zoom), 2+y/(8*zoom), 1/(8*zoom), 0)
|
||||
tline(0, 128-h+y, 128, 128-h+y, -- screen coordinates (entire screen scanlines)
|
||||
px/80, 2+y/(8*zoom), 1/(8*zoom), 0)
|
||||
-- don't scale x start with zoom, since position is not dependent
|
||||
end
|
||||
|
||||
toomgis_draw(20, 96-py)
|
||||
|
Loading…
Reference in New Issue
Block a user