mirror of
https://github.com/jndean/IPUDOOM.git
synced 2026-08-18 16:28:53 +00:00
Send flat picnums to IPU
This commit is contained in:
@@ -33,7 +33,7 @@ Activity Log:
|
||||
|
||||

|
||||
|
||||
- [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.
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -319,7 +319,6 @@ void P_LoadThings(const unsigned char *buf) {
|
||||
|
||||
P_SpawnMapThing(&spawnthing); // TODO
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -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);
|
||||
|
||||
+5
-6
@@ -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 &&
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user