CLOSES #623, CLOSES #624, CLOSES #636, CLOSES #637, CLOSES #639, CLOSES #650, CLOSES #697, CLOSES #704, CLOSES #722

This commit is contained in:
bryanthaboi
2026-08-03 13:05:57 -04:00
parent 5c041ea857
commit 0f7261dd92
22 changed files with 1783 additions and 132 deletions
+7
View File
@@ -441,7 +441,14 @@ function Game:draw()
if classicOffset ~= 0 and not wideState then
love.graphics.push()
love.graphics.translate(classicOffset, 0)
-- a classic state reports its trueColor rects in its own 160x144
-- coordinates, so they take the same shift its pixels just got --
-- centerClassicZones already does exactly this to its zone list,
-- and without the pair the unshaded re-blit misses the pic (#637)
local P = require("src.render.PaletteFX")
P.setMarkOffset(classicOffset)
state:draw()
P.setMarkOffset(0)
love.graphics.pop()
else
state:draw()