mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 11:51:17 +00:00
You can tell who has what hardware and libs because they tend to forget to
update the files for the stuff they don't use/have...
This commit is contained in:
parent
afe3589124
commit
51676c32e7
3 changed files with 12 additions and 8 deletions
|
@ -31,6 +31,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include <cdaudio.h>
|
#include <cdaudio.h>
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
#include <lib_replace.h>
|
#include <lib_replace.h>
|
||||||
|
#include <cmd.h>
|
||||||
|
|
||||||
#include <quakedef.h>
|
#include <quakedef.h>
|
||||||
|
|
||||||
|
|
|
@ -202,7 +202,7 @@ void VID_SetPalette (unsigned char *palette)
|
||||||
Sys_mkdir (s);
|
Sys_mkdir (s);
|
||||||
snprintf(s, sizeof(s), "%s/glquake/15to8.pal", com_gamedir);
|
snprintf(s, sizeof(s), "%s/glquake/15to8.pal", com_gamedir);
|
||||||
if ((f = gzopen(s, "wb")) != NULL) {
|
if ((f = gzopen(s, "wb")) != NULL) {
|
||||||
gzwrite(d_15to8table, 1<<15, 1);
|
gzwrite(f, d_15to8table, 1<<15);
|
||||||
gzclose(f);
|
gzclose(f);
|
||||||
}
|
}
|
||||||
//#endif // QUAKEWORLD
|
//#endif // QUAKEWORLD
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
/*
|
/*
|
||||||
|
vid_sdl.h - sdl video driver
|
||||||
Copyright (C) 1996-1997 Id Software, Inc.
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
Copyright (C) 1999,2000 contributors of the QuakeForge project
|
Copyright (C) 1999,2000 contributors of the QuakeForge project
|
||||||
Please see the file "AUTHORS" for a list of contributors
|
Please see the file "AUTHORS" for a list of contributors
|
||||||
|
@ -19,15 +20,17 @@ along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
// vid_sdl.h -- sdl video driver
|
|
||||||
|
|
||||||
#include <SDL/SDL.h>
|
#include <SDL/SDL.h>
|
||||||
#include "keys.h"
|
#include <keys.h>
|
||||||
#include "quakedef.h"
|
#include <quakedef.h>
|
||||||
#include "d_local.h"
|
#include <d_local.h>
|
||||||
#include "sound.h"
|
#include <sound.h>
|
||||||
#include "cvar.h"
|
#include <cvar.h>
|
||||||
#include "draw.h"
|
#include <draw.h>
|
||||||
|
#include <sys.h>
|
||||||
|
#include <lib_replace.h>
|
||||||
|
#include <cmd.h>
|
||||||
|
|
||||||
cvar_t _windowed_mouse = {"_windowed_mouse","0", true};
|
cvar_t _windowed_mouse = {"_windowed_mouse","0", true};
|
||||||
static float old_windowed_mouse = 0;
|
static float old_windowed_mouse = 0;
|
||||||
|
|
Loading…
Reference in a new issue