mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-24 08:51:58 +00:00
Fixing missing headers for win32 - this one caused nasty crash :-)
This commit is contained in:
parent
c88a6fcccd
commit
c0f3a85970
2 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue