diff options
author | Simon Howard | 2008-09-20 21:37:33 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-20 21:37:33 +0000 |
commit | 71d54112ed3ffc780846a222e3dd45368acd3d88 (patch) | |
tree | 98f47a604f591ebf2919612a36291b12b64b86da /src/heretic/sb_bar.c | |
parent | 7c1407ea7171f83287b720ec65450940c9cbf158 (diff) | |
download | chocolate-doom-71d54112ed3ffc780846a222e3dd45368acd3d88.tar.gz chocolate-doom-71d54112ed3ffc780846a222e3dd45368acd3d88.tar.bz2 chocolate-doom-71d54112ed3ffc780846a222e3dd45368acd3d88.zip |
Replace heretic "screen" variable with I_VideoBuffer.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1253
Diffstat (limited to 'src/heretic/sb_bar.c')
-rw-r--r-- | src/heretic/sb_bar.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |