Now have doors that you can walk though. No open/close animation yet.

This commit is contained in:
Zed A. Shaw 2026-03-16 12:53:10 -04:00
parent 02d23bb77d
commit 0add3b29ae
10 changed files with 41 additions and 5 deletions

View file

@ -312,6 +312,7 @@ void Raycaster::cast_rays() {
int draw_end = line_height / 2 + $height / 2 + $pitch;
if(draw_end >= $height) draw_end = $height - 1;
// BUG: I thought I got rid of this
auto texture = textures::get_surface($tiles[map_y][map_x]);
// calculate value of wall_x