Fixing missing headers for win32 - this one caused nasty crash :-)

This commit is contained in:
Danne 2000-05-21 12:39:18 +00:00
parent c88a6fcccd
commit c0f3a85970
2 changed files with 3 additions and 0 deletions

View file

@ -41,6 +41,7 @@
#include "screen.h"
#include "wad.h"
#include "cmd.h"
#include "qendian.h"
#define MINIMUM_MEMORY 0x550000
@ -2278,6 +2279,7 @@ void VID_Init (unsigned char *palette)
vid.maxwarpwidth = WARP_WIDTH;
vid.maxwarpheight = WARP_HEIGHT;
vid.colormap = host_colormap;
// vid.fullbright = 256 - (*((int *)vid.colormap + 2048));
vid.fullbright = 256 - LittleLong (*((int *)vid.colormap + 2048));
vid_testingmode = 0;

View file

@ -41,6 +41,7 @@
#include "keys.h"
#include "qargs.h"
#include "cmd.h"
#include "qendian.h"
#define MAX_MODE_LIST 30
#define VID_ROW_SIZE 3