v_video.c/h cleanup, error message corrections (#1246)

This commit is contained in:
Alaux 2023-11-01 06:30:02 -03:00 committed by GitHub
parent 02d4fde2a5
commit 9ede0ab471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -34,7 +34,6 @@
// Each screen is [SCREENWIDTH*SCREENHEIGHT];
byte *screens[5];
int dirtybox[4];
//jff 2/18/98 palette color ranges for translation
//jff 4/24/98 now pointers set to predefined lumps to allow overloading
@ -830,7 +829,7 @@ void V_GetBlock(int x, int y, int scrn, int width, int height, byte *dest)
|| y<0
|| y+height>SCREENHEIGHT
|| (unsigned)scrn>4 )
I_Error ("Bad V_DrawBlock");
I_Error ("Bad V_GetBlock");
#endif
if (hires) // killough 11/98: hires support
@ -857,7 +856,7 @@ void V_PutBlock(int x, int y, int scrn, int width, int height, byte *src)
|| y<0
|| y+height>SCREENHEIGHT
|| (unsigned)scrn>4 )
I_Error ("Bad V_DrawBlock");
I_Error ("Bad V_PutBlock");
#endif
if (hires)

View File

@ -85,7 +85,6 @@ typedef enum
//jff 1/16/98 end palette color range additions
extern byte *screens[5];
extern int dirtybox[4];
extern byte gammatable[5][256];
//jff 4/24/98 loads color translation lumps