aboutsummaryrefslogtreecommitdiff
path: root/src/level.zig
AgeCommit message (Collapse)Author
2021-10-22Specialise layers to be either lists of vertices or squarestslil clingman
2021-10-17Texture scalingtslil clingman
2021-10-15Well, there's no reason not to do this ... Multiple polygon layers!tslil clingman
2021-10-13Polygonal walls!tslil clingman
It was essentially working before, just some indexing bug.
2021-10-12It almost works, but for some reason everything only has 3 sides...?tslil clingman
2021-10-10Untested first mock up of polygon intersection in squaretslil clingman
2021-10-07Variable height ceilings!tslil clingman
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.
2021-09-12Walk bob and collision detectiontslil clingman
2021-09-09Added ceilings and pos_z to sprites (they can now be on the ceiling)tslil clingman
2021-09-05In response to issue #9629, correct usingnamespace usagetslil clingman