mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-24 04:51:24 +00:00
rename quakedef.h to host.h (I should have done this months ago).
NOTE: -{sdl,sgl,3dfx,ggi,wgl,mgl} targets are very likely to be broken if any file fails to compile, just put #include "host.h" into it
This commit is contained in:
parent
9554be96f9
commit
97f7b9a568
63 changed files with 63 additions and 76 deletions
|
@ -31,10 +31,12 @@
|
|||
#ifndef __CONTEXT_X11_H__
|
||||
#define __CONTEXT_X11_H__
|
||||
|
||||
#include <qtypes.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
#include "cvar.h"
|
||||
#include "qtypes.h"
|
||||
|
||||
void GetEvent( void );
|
||||
|
||||
extern Display *x_disp;
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#include "qtypes.h"
|
||||
|
||||
/*
|
||||
VID_CheckDGA
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
#include <dpmi.h>
|
||||
#include "quakedef.h"
|
||||
#include "dosisms.h"
|
||||
|
||||
extern cvar_t *bgmvolume;
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
|
||||
void CDAudio_Play(byte track, qboolean looping)
|
||||
{
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#include "quakedef.h"
|
||||
#include "qargs.h"
|
||||
#include "console.h"
|
||||
#include "cdaudio.h"
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#include "quakedef.h"
|
||||
#include "qargs.h"
|
||||
#include "console.h"
|
||||
#include "cdaudio.h"
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "sys.h"
|
||||
#include "cvar.h"
|
||||
#include "sizebuf.h"
|
||||
|
@ -40,7 +42,6 @@
|
|||
#include "qendian.h"
|
||||
#include "va.h"
|
||||
#include "quakefs.h"
|
||||
#include "quakedef.h"
|
||||
#include "pmove.h"
|
||||
#include "cl_main.h"
|
||||
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "sys.h"
|
||||
#include "sys.h"
|
||||
#include "cvar.h"
|
||||
|
@ -40,7 +42,6 @@
|
|||
#include "console.h"
|
||||
#include "qendian.h"
|
||||
#include "quakefs.h"
|
||||
#include "quakedef.h"
|
||||
#include "pmove.h"
|
||||
#include "view.h"
|
||||
#include "teamplay.h"
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "input.h"
|
||||
#include "sys.h"
|
||||
#include "sys.h"
|
||||
|
@ -41,7 +43,6 @@
|
|||
#include "console.h"
|
||||
#include "qendian.h"
|
||||
#include "quakefs.h"
|
||||
#include "quakedef.h"
|
||||
#include "pmove.h"
|
||||
#include "view.h"
|
||||
#include "checksum.h"
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
|
||||
#include "host.h"
|
||||
#include "bothdefs.h"
|
||||
#include "input.h"
|
||||
#include "in_win.h"
|
||||
|
@ -45,7 +47,6 @@
|
|||
#include "console.h"
|
||||
#include "qendian.h"
|
||||
#include "quakefs.h"
|
||||
#include "quakedef.h"
|
||||
#include "pmove.h"
|
||||
#include "view.h"
|
||||
#include "checksum.h"
|
||||
|
|
|
@ -29,8 +29,9 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "sys.h"
|
||||
#include "quakedef.h"
|
||||
|
||||
qboolean ServerPaused (void)
|
||||
{
|
||||
|
|
|
@ -29,12 +29,13 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "sys.h"
|
||||
#include "client.h"
|
||||
#include "cmd.h"
|
||||
#include "screen.h"
|
||||
#include "cdaudio.h"
|
||||
#include "quakedef.h"
|
||||
#include "bothdefs.h"
|
||||
#include "console.h"
|
||||
#include "msg.h"
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
|
||||
#include "sys.h"
|
||||
#include "qargs.h"
|
||||
#include "quakedef.h"
|
||||
#include "qargs.h"
|
||||
#include "client.h"
|
||||
|
||||
|
|
|
@ -44,9 +44,9 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "sys.h"
|
||||
#include "host.h"
|
||||
#include "qargs.h"
|
||||
#include "quakedef.h"
|
||||
#include "sys.h"
|
||||
|
||||
int noconinput = 0;
|
||||
qboolean is_server = false;
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include <io.h>
|
||||
#include <conio.h>
|
||||
|
||||
#include "quakedef.h"
|
||||
#include "winquake.h"
|
||||
#include "resource.h"
|
||||
#include "sys.h"
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h" // Host_EndGame
|
||||
|
||||
#include "host.h"
|
||||
#include "sys.h"
|
||||
#include "ctype.h"
|
||||
#include "render.h"
|
||||
|
|
|
@ -29,16 +29,17 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h" // Host_EndGame
|
||||
#include "sys.h"
|
||||
#include "vid.h"
|
||||
#include "client.h"
|
||||
|
||||
#include <string.h>
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "sys.h"
|
||||
#include "vid.h"
|
||||
#include "client.h"
|
||||
|
||||
/*
|
||||
=====================
|
||||
CL_NewTranslation
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "d_local.h"
|
||||
|
||||
static int miplevel;
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
#include "sys.h"
|
||||
#include "quakedef.h"
|
||||
#include "d_local.h"
|
||||
|
||||
int d_vrectx, d_vrecty, d_vrectright_particle, d_vrectbottom_particle;
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "d_local.h"
|
||||
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "r_local.h"
|
||||
#include "d_local.h"
|
||||
#include "bothdefs.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "r_local.h"
|
||||
#include "d_local.h"
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "r_local.h"
|
||||
#include "d_local.h"
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "d_local.h"
|
||||
|
||||
static int sprite_height;
|
||||
|
|
|
@ -31,7 +31,8 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
|
||||
#include "host.h"
|
||||
|
||||
// all global and static refresh variables are collected in a contiguous block
|
||||
// to avoid cache conflicts.
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "d_local.h"
|
||||
|
||||
|
||||
|
|
|
@ -28,7 +28,9 @@
|
|||
$Id$
|
||||
*/
|
||||
|
||||
#include <quakedef.h>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
|
|
@ -29,8 +29,9 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "glquake.h"
|
||||
#include "quakedef.h"
|
||||
#include "cmd.h"
|
||||
#include "qargs.h"
|
||||
#include "console.h"
|
||||
|
|
|
@ -53,7 +53,6 @@
|
|||
#include "console.h"
|
||||
#include "glquake.h"
|
||||
#include "quakefs.h"
|
||||
#include "quakedef.h"
|
||||
#include "cl_main.h"
|
||||
|
||||
mnode_t *r_pefragtopnode;
|
||||
|
|
|
@ -29,8 +29,9 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "sys.h"
|
||||
#include "quakedef.h"
|
||||
#include "protocol.h"
|
||||
#include "glquake.h"
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
|
||||
void IN_Init (void)
|
||||
{
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
#include "sys.h"
|
||||
#include "qargs.h"
|
||||
#include "qendian.h"
|
||||
#include "quakedef.h"
|
||||
#include "vid.h"
|
||||
#include "view.h"
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
$Id$
|
||||
*/
|
||||
|
||||
#include "host.h"
|
||||
#include "client.h"
|
||||
#include "cl_input.h"
|
||||
#include "cmd.h"
|
||||
|
@ -39,7 +40,6 @@
|
|||
#include "keys.h"
|
||||
#include "qargs.h"
|
||||
#include "qtypes.h"
|
||||
#include "quakedef.h"
|
||||
#include "sys.h"
|
||||
#include "view.h"
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#ifdef __MINGW32__
|
||||
# define INITGUID
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "winquake.h"
|
||||
#include <dinput.h>
|
||||
#include "client.h"
|
||||
|
|
|
@ -55,9 +55,9 @@
|
|||
#include <X11/extensions/xf86dga.h>
|
||||
#endif
|
||||
|
||||
#include "quakedef.h"
|
||||
#include "dga_check.h"
|
||||
#include "d_local.h"
|
||||
#include "host.h"
|
||||
#include "sound.h"
|
||||
#include "keys.h"
|
||||
#include "cvar.h"
|
||||
|
|
|
@ -29,8 +29,9 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "sys.h"
|
||||
#include "quakedef.h"
|
||||
#ifdef _WIN32
|
||||
#include "winquake.h"
|
||||
#endif
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
|
||||
#ifndef USE_INTEL_ASM
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "r_local.h"
|
||||
#include "d_local.h"
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "r_local.h"
|
||||
#include "d_local.h" // FIXME: shouldn't need to include this
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "r_local.h"
|
||||
|
||||
int r_dlightframecount;
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "sys.h"
|
||||
#include "console.h"
|
||||
#include "cmd.h"
|
||||
|
@ -36,7 +38,6 @@
|
|||
#include "r_local.h"
|
||||
#include "draw.h"
|
||||
#include "menu.h"
|
||||
#include "quakedef.h"
|
||||
#include "cl_parse.h"
|
||||
|
||||
qboolean allowskybox; // whether or not to allow skyboxes --KB
|
||||
|
|
|
@ -29,11 +29,12 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "qargs.h"
|
||||
#include "r_local.h"
|
||||
#include "console.h"
|
||||
#include "quakefs.h"
|
||||
#include "quakedef.h"
|
||||
#include "r_dynamic.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "r_local.h"
|
||||
#include "d_local.h"
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
#include "sys.h"
|
||||
#include "quakedef.h"
|
||||
#include "r_local.h"
|
||||
|
||||
drawsurf_t r_drawsurf;
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
|
||||
#ifndef USE_INTEL_ASM
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "host.h"
|
||||
#include "view.h"
|
||||
#include "bothdefs.h"
|
||||
#include "screen.h"
|
||||
|
@ -40,7 +41,6 @@
|
|||
#include "r_local.h"
|
||||
#include "msg.h"
|
||||
#include "commdef.h"
|
||||
#include "quakedef.h"
|
||||
|
||||
/*
|
||||
|
||||
|
|
|
@ -38,11 +38,11 @@
|
|||
#include "console.h"
|
||||
#include "d_iface.h"
|
||||
#include "draw.h"
|
||||
#include "host.h"
|
||||
#include "keys.h"
|
||||
#include "menu.h"
|
||||
#include "pcx.h"
|
||||
#include "qendian.h"
|
||||
#include "quakedef.h"
|
||||
#include "sbar.h"
|
||||
#include "skin.h"
|
||||
#include "sys.h"
|
||||
|
|
|
@ -29,13 +29,14 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "host.h"
|
||||
#include "sys.h"
|
||||
#include "sound.h"
|
||||
#include "cmd.h"
|
||||
#include "console.h"
|
||||
#include "client.h"
|
||||
#include "qargs.h"
|
||||
#include "quakedef.h"
|
||||
|
||||
// fixme: Damn crappy complier doesn't allow me to UNDEF _win32 on command line!
|
||||
#ifdef WIN32SDL
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "winquake.h"
|
||||
#include "qargs.h"
|
||||
#include "console.h"
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
|
||||
#include "host.h"
|
||||
#include "r_local.h"
|
||||
|
||||
extern byte gammatable[256];
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "errno.h"
|
||||
|
||||
|
||||
|
|
|
@ -30,10 +30,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "sys.h"
|
||||
#include "qargs.h"
|
||||
#include "cvar.h"
|
||||
#include "server.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -43,7 +39,10 @@
|
|||
#include <sys/time.h>
|
||||
|
||||
#include "sys.h"
|
||||
#include "quakedef.h"
|
||||
#include "qargs.h"
|
||||
#include "host.h"
|
||||
#include "cvar.h"
|
||||
#include "server.h"
|
||||
|
||||
/* This is unused in the client, but we need the symbol there too. */
|
||||
server_static_t svs;
|
||||
|
|
|
@ -56,7 +56,6 @@
|
|||
#include "glquake.h"
|
||||
#include "qargs.h"
|
||||
#include "qendian.h"
|
||||
#include "quakedef.h"
|
||||
#include "quakefs.h"
|
||||
#include "sbar.h"
|
||||
#include "sys.h"
|
||||
|
|
|
@ -41,8 +41,6 @@
|
|||
|
||||
#include "bothdefs.h" // needed by: common.h, net.h, client.h
|
||||
|
||||
#include "quakedef.h"
|
||||
|
||||
#include "bspfile.h" // needed by: glquake.h
|
||||
#include "vid.h"
|
||||
#include "sys.h"
|
||||
|
|
|
@ -42,16 +42,16 @@
|
|||
# include <X11/extensions/xf86dga.h>
|
||||
#endif
|
||||
|
||||
#include "va.h"
|
||||
#include "console.h"
|
||||
#include "glquake.h"
|
||||
#include "quakefs.h"
|
||||
#include "input.h"
|
||||
#include "sbar.h"
|
||||
#include "context_x11.h"
|
||||
#include "quakedef.h"
|
||||
#include "qendian.h"
|
||||
#include "glquake.h"
|
||||
#include "host.h"
|
||||
#include "input.h"
|
||||
#include "qargs.h"
|
||||
#include "qendian.h"
|
||||
#include "quakefs.h"
|
||||
#include "sbar.h"
|
||||
#include "va.h"
|
||||
|
||||
#define WARP_WIDTH 320
|
||||
#define WARP_HEIGHT 200
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "quakedef.h"
|
||||
#include "va.h"
|
||||
#include "winquake.h"
|
||||
#include "sys.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "d_local.h"
|
||||
|
||||
viddef_t vid; // global video state
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include "cvar.h"
|
||||
#include "d_local.h"
|
||||
#include "qendian.h"
|
||||
#include "quakedef.h"
|
||||
#include "sys.h"
|
||||
#include "va.h"
|
||||
#include "vid.h"
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include "console.h"
|
||||
#include "qargs.h"
|
||||
#include "qendian.h"
|
||||
#include "quakedef.h"
|
||||
#include "sys.h"
|
||||
#include "va.h"
|
||||
#include "glquake.h"
|
||||
|
|
|
@ -34,7 +34,8 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
|
||||
#include "host.h"
|
||||
#include "d_local.h"
|
||||
#include "cvar.h"
|
||||
#include "cmd.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "va.h"
|
||||
#include "winquake.h"
|
||||
#include "sys.h"
|
||||
|
|
|
@ -69,13 +69,13 @@
|
|||
#include "d_local.h"
|
||||
#include "dga_check.h"
|
||||
#include "draw.h"
|
||||
#include "host.h"
|
||||
#include "input.h"
|
||||
#include "input.h"
|
||||
#include "keys.h"
|
||||
#include "menu.h"
|
||||
#include "qargs.h"
|
||||
#include "qendian.h"
|
||||
#include "quakedef.h"
|
||||
#include "sys.h"
|
||||
#include "va.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue