test remove all the networking crap from rendering code

This commit is contained in:
Alug committed 2024-07-10 10:13:53 +02:00
1 parent 5ff665a073
commit 7a9ffa7ee8
3 files changed
+1 -14

No files matched your search

-2
View File
@@ -568,8 +568,6 @@ static boolean D_Display(void)
}
}
NetUpdate(); // send out any new accumulation
// It's safe to end the game now.
if (G_GetExitGameFlag())
{
+1 -6
View File
@@ -4277,6 +4277,7 @@ static void HWR_SortVisSprites(void)
{
gr_vsprorder[i] = HWR_GetVisSprite(i);
}
qs22j(gr_vsprorder, gr_visspritecount, sizeof(gr_vissprite_t*), CompareVisSprites);
}
@@ -5679,9 +5680,6 @@ void HWR_RenderFrame(INT32 viewnumber, player_t *player, boolean skybox)
}
}
// check for new console commands.
NetUpdate();
// Clear view, set viewport (glViewport), set perspective...
HWR_ClearView();
@@ -5715,9 +5713,6 @@ void HWR_RenderFrame(INT32 viewnumber, player_t *player, boolean skybox)
if (!skybox)
HWR_DoPostProcessor(player);
// Check for new console commands.
NetUpdate();
// added by Hurdler for correct splitscreen
// moved here by hurdler so it works with the new near clipping plane
HWD.pfnGClipRect(0, 0, vid.width, vid.height, NZCLIP_PLANE, FAR_ZCLIP_DEFAULT);
-6
View File
@@ -1717,9 +1717,6 @@ void R_RenderPlayerView(player_t *player)
R_ClearVisibleFloorSplats();
#endif
// check for new console commands.
NetUpdate();
// The head node is the last node output.
ps_numbspcalls.value.i = ps_numpolyobjects.value.i = ps_numdrawnodes.value.i = 0;
@@ -1777,9 +1774,6 @@ void R_RenderPlayerView(player_t *player)
R_DrawMasked();
PS_STOP_TIMING(ps_sw_maskedtime);
// Check for new console commands.
NetUpdate();
// save value to skyVisiblePerPlayer
// this is so that P1 can't affect whether P2 can see a skybox or not, or vice versa
for (i = 0; i <= splitscreen; i++)