shithub: choc

Download patch

ref: 617e75e9a4c79a21b68385fe69066ab3cab353ae
parent: fb176d6121a9313cd98cd015045d239ddfef3994
author: Simon Howard <[email protected]>
date: Wed Sep 24 14:09:44 EDT 2008

Remove redundant destscreen,destview variables

Subversion-branch: /branches/raven-branch
Subversion-revision: 1267

--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -68,8 +68,6 @@
 // ticcmd_t
 #include "d_ticcmd.h"
 
-extern byte *destview, *destscreen;     // PC direct to screen pointers
-
 #define	SAVEGAMENAME "hticsav"
 #define SAVEGAMENAMECD "c:\\heretic.cd\\hticsav"
 
--- a/src/heretic/r_main.c
+++ b/src/heretic/r_main.c
@@ -802,16 +802,6 @@
         BorderTopRefresh = false;
         UpdateState |= I_MESSAGES;
     }
-
-    destview = destscreen + (viewwindowx >> 2) + viewwindowy * 80;
-
-#if 0
-    {
-        static int frame;
-        memset(I_VideoBuffer, frame, SCREENWIDTH * SCREENHEIGHT);
-        frame++;
-    }
-#endif
 }
 
 /*