From 71d54112ed3ffc780846a222e3dd45368acd3d88 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 20 Sep 2008 21:37:33 +0000 Subject: Replace heretic "screen" variable with I_VideoBuffer. Subversion-branch: /branches/raven-branch Subversion-revision: 1253 --- src/heretic/sb_bar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/heretic/sb_bar.c') diff --git a/src/heretic/sb_bar.c b/src/heretic/sb_bar.c index 57db3560..02608ae7 100644 --- a/src/heretic/sb_bar.c +++ b/src/heretic/sb_bar.c @@ -24,6 +24,7 @@ // SB_bar.c #include "doomdef.h" +#include "i_video.h" #include "p_local.h" #include "s_sound.h" #include "v_video.h" @@ -125,7 +126,6 @@ patch_t *PatchINVBAR; patch_t *PatchARMCLEAR; patch_t *PatchCHAINBACK; //byte *ShadeTables; -extern byte *screen; int FontBNumBase; int spinbooklump; int spinflylump; @@ -558,7 +558,7 @@ static void ShadeLine(int x, int y, int height, int shade) byte *shades; shades = colormaps + 9 * 256 + shade * 2 * 256; - dest = screen + y * SCREENWIDTH + x; + dest = I_VideoBuffer + y * SCREENWIDTH + x; while (height--) { *(dest) = *(shades + *dest); -- cgit v1.2.3