shithub: qk1

Download patch

ref: a83a58dac35a9723d02f7b36361f07f41ace5cde
parent: 649706d1842fc88845411bba598db8ac8534cc48
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Oct 16 17:51:48 EDT 2023

don't care about ram pic

--- a/screen.c
+++ b/screen.c
@@ -24,7 +24,6 @@
 
 qboolean	scr_initialized;		// ready to draw
 
-qpic_t		*scr_ram;
 qpic_t		*scr_net;
 qpic_t		*scr_turtle;
 
@@ -298,7 +297,6 @@
 	Cmd_AddCommand ("sizeup",SCR_SizeUp_f);
 	Cmd_AddCommand ("sizedown",SCR_SizeDown_f);
 
-	scr_ram = Draw_PicFromWad ("ram");
 	scr_net = Draw_PicFromWad ("net");
 	scr_turtle = Draw_PicFromWad ("turtle");
 
@@ -305,26 +303,8 @@
 	scr_initialized = true;
 }
 
-
-
 /*
 ==============
-SCR_DrawRam
-==============
-*/
-void SCR_DrawRam (void)
-{
-	if (!scr_showram.value)
-		return;
-
-	if (!r_cache_thrash)
-		return;
-
-	Draw_Pic (scr_vrect.x+32, scr_vrect.y, scr_ram);
-}
-
-/*
-==============
 SCR_DrawTurtle
 ==============
 */
@@ -745,7 +725,6 @@
 	}
 	else
 	{
-		SCR_DrawRam ();
 		SCR_DrawNet ();
 		SCR_DrawTurtle ();
 		SCR_DrawPause ();