From d4f2376bb0ea219b79dac3f4f37b77342ca6ef4a Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Thu, 7 Oct 2021 11:25:09 -0400 Subject: Variable height ceilings! Plus bonus graphical artefacts around the edges of such! In the end the majority of this code was rather easy: take the upwards floor drawing code and reflect it. However, there were many edge-cases and plenty of off-by-one pixels and rounding issues that didn't quite work the same way going down as they do going up. Also the object drawing code used to take advantage of the fact that the z-buffer was painted bottom-up only, so that required change too. --- screenshot.png | Bin 42650 -> 97917 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'screenshot.png') diff --git a/screenshot.png b/screenshot.png index c5c6444..6026f7f 100644 Binary files a/screenshot.png and b/screenshot.png differ -- cgit v1.3.1