diff --git a/README.md b/README.md index 5d137a5..75bdbd0 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Activity Log: ![Gameplay with untextured walls](README_imgs/flats.gif) -- [x] Split rendering across 32 render tiles. Reformat textures into a big buffer that can be striped over dedicated texture tiles, and accessed by the render tiles using JIT-patched exchange programs to enable fetches based on dynamic indices. +- [x] Split rendering across 32 render tiles. Reformat textures into a big buffer that can be striped over dedicated texture tiles, and accessed by the render tiles using JIT-patched exchange programs to enable fetches based on dynamic indices. So now IPU can texture walls. ![Gameplay with textured walls (but nothing else)](README_imgs/WallsTextured_noCPU.gif) diff --git a/src/ipu/p_setup.c b/src/ipu/p_setup.c index f1cafb4..416f5fa 100644 --- a/src/ipu/p_setup.c +++ b/src/ipu/p_setup.c @@ -319,7 +319,6 @@ void P_LoadThings(const unsigned char *buf) { P_SpawnMapThing(&spawnthing); // TODO } - } // diff --git a/src/ipu/r_bsp.c b/src/ipu/r_bsp.c index 3a5e53e..7995882 100644 --- a/src/ipu/r_bsp.c +++ b/src/ipu/r_bsp.c @@ -310,7 +310,6 @@ void R_AddLine(seg_t *line) { backsector->floorheight != frontsector->floorheight) goto clippass; - /* LATER // Reject empty lines used for triggers // and special events. // Identical floor and ceiling on both sides, @@ -322,7 +321,6 @@ void R_AddLine(seg_t *line) { curline->sidedef->midtexture == 0) { return; } - */ clippass: R_ClipPassWallSegment(x1, x2 - 1); diff --git a/src/ipu/r_plane.c b/src/ipu/r_plane.c index 6703303..f3393f2 100644 --- a/src/ipu/r_plane.c +++ b/src/ipu/r_plane.c @@ -196,12 +196,11 @@ void R_ClearPlanes(void) { visplane_t *R_FindPlane(fixed_t height, int picnum, int lightlevel) { visplane_t *check; - /* LATER - if (picnum == skyflatnum) { - height = 0; // all skys map together - lightlevel = 0; - } - */ + // LATER + // if (picnum == skyflatnum) { + // height = 0; // all skys map together + // lightlevel = 0; + // } for (check = visplanes; check < lastvisplane; check++) { if (height == check->height && picnum == check->picnum && diff --git a/src/r_bsp.c b/src/r_bsp.c index aec1211..961ed4a 100644 --- a/src/r_bsp.c +++ b/src/r_bsp.c @@ -296,7 +296,6 @@ void R_AddLine(seg_t *line) { backsector->floorpic == frontsector->floorpic && backsector->lightlevel == frontsector->lightlevel && curline->sidedef->midtexture == 0) { - printf(" NOTE: Reject empty lines used for triggers\n"); return; } diff --git a/src/r_main.c b/src/r_main.c index 47121da..43ff42c 100644 --- a/src/r_main.c +++ b/src/r_main.c @@ -742,7 +742,7 @@ void R_RenderPlayerView(player_t *player) { // The head node is the last node output. R_RenderBSPNode(numnodes - 1); - IPU_R_RenderPlayerView(); + // IPU_R_RenderPlayerView(); // Check for new console commands. NetUpdate();