quakefs.h -> vfs.h

quakeio.h -> vfile.h

More diff reduction between trunk and my VFS code.  Also took the time to
put some headers in order and fix a few #include's pointed out by moving
things around a bit.
This commit is contained in:
Joseph Carter 2001-05-30 04:34:06 +00:00
parent 186d577818
commit 05adfd0e53
64 changed files with 90 additions and 84 deletions

View file

@ -5,7 +5,6 @@ include_HEADERS = asm_i386.h bspfile.h cdaudio.h checksum.h cmd.h compat.h \
console.h crc.h cvar.h draw.h gcc_attr.h gib.h hash.h hl.h info.h \ console.h crc.h cvar.h draw.h gcc_attr.h gib.h hash.h hl.h info.h \
input.h joystick.h keys.h link.h locs.h mathlib.h mdfour.h model.h \ input.h joystick.h keys.h link.h locs.h mathlib.h mdfour.h model.h \
modelgen.h msg.h pcx.h plugin.h pr_comp.h progs.h qargs.h qdefs.h \ modelgen.h msg.h pcx.h plugin.h pr_comp.h progs.h qargs.h qdefs.h \
qendian.h qfgl_ext.h qfplist.h qtypes.h quakefs.h quakeio.h render.h \ qendian.h qfgl_ext.h qfplist.h qtypes.h render.h screen.h sizebuf.h \
screen.h sizebuf.h skin.h sound.h spritegn.h sys.h teamplay.h \ skin.h sound.h spritegn.h sys.h teamplay.h texture.h tga.h uint32.h \
texture.h tga.h uint32.h va.h varrays.h ver_check.h vid.h wad.h \ va.h varrays.h ver_check.h vfile.h vfs.h vid.h wad.h zone.h
zone.h

View file

@ -30,7 +30,7 @@
#define __cvar_h #define __cvar_h
#include "QF/qtypes.h" #include "QF/qtypes.h"
#include "QF/quakeio.h" #include "QF/vfile.h"
typedef struct cvar_s typedef struct cvar_s
{ {

View file

@ -30,7 +30,7 @@
#ifndef _KEYS_H #ifndef _KEYS_H
#define _KEYS_H #define _KEYS_H
#include "QF/quakeio.h" #include "QF/vfile.h"
// these are the key numbers that should be passed to Key_Event // these are the key numbers that should be passed to Key_Event

View file

@ -29,7 +29,7 @@
#ifndef __pcx_h #ifndef __pcx_h
#define __pcx_h #define __pcx_h
#include "QF/quakeio.h" #include "QF/vfile.h"
typedef struct typedef struct
{ {

View file

@ -30,7 +30,7 @@
#define _PROGS_H #define _PROGS_H
#include "QF/link.h" #include "QF/link.h"
#include "QF/quakeio.h" #include "QF/vfile.h"
#include "QF/pr_comp.h" #include "QF/pr_comp.h"
typedef union eval_s typedef union eval_s

View file

@ -31,6 +31,7 @@
#include "QF/gcc_attr.h" #include "QF/gcc_attr.h"
#include "QF/qtypes.h" #include "QF/qtypes.h"
#include "QF/vfile.h"
#ifndef __GNUC__ #ifndef __GNUC__
# if defined (__BORLANDC__) || defined (_MSC_VER) # if defined (__BORLANDC__) || defined (_MSC_VER)

View file

@ -32,7 +32,7 @@
#define __quakefs_h #define __quakefs_h
#include "QF/qtypes.h" #include "QF/qtypes.h"
#include "QF/quakeio.h" #include "QF/vfile.h"
#include "QF/cvar.h" #include "QF/cvar.h"
//============================================================================ //============================================================================

View file

@ -30,7 +30,7 @@
*/ */
#include "QF/gib.h" #include "QF/gib.h"
#include "QF/quakeio.h" #include "QF/vfile.h"
void GIB_Module_Load (char *name, VFile *f); void GIB_Module_Load (char *name, VFile *f);
gib_module_t *GIB_Create_Module (char *name); gib_module_t *GIB_Create_Module (char *name);

View file

@ -38,9 +38,9 @@
#include "QF/console.h" #include "QF/console.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h"
#include "QF/sound.h" #include "QF/sound.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vfs.h"
int cache_full_cycle; int cache_full_cycle;

View file

@ -47,10 +47,10 @@
#include "QF/progs.h" #include "QF/progs.h"
#include "QF/qdefs.h" #include "QF/qdefs.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h"
#include "QF/sys.h" //XXX #include "QF/sys.h" //XXX
#include "QF/zone.h" #include "QF/zone.h"
#include "QF/va.h" #include "QF/va.h"
#include "QF/vfs.h"
cvar_t *pr_boundscheck; cvar_t *pr_boundscheck;
cvar_t *pr_deadbeef; cvar_t *pr_deadbeef;

View file

@ -37,7 +37,7 @@
#include "QF/cmd.h" #include "QF/cmd.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/gib.h" #include "QF/gib.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "gib_instructions.h" #include "gib_instructions.h"
#include "gib_interpret.h" #include "gib_interpret.h"

View file

@ -46,7 +46,7 @@
#include "QF/console.h" #include "QF/console.h"
#include "QF/gib.h" #include "QF/gib.h"
#include "QF/quakeio.h" #include "QF/vfile.h"
#include "gib_modules.h" #include "gib_modules.h"

View file

@ -42,7 +42,7 @@
#include "QF/console.h" #include "QF/console.h"
#include "QF/mdfour.h" #include "QF/mdfour.h"
#include "QF/model.h" #include "QF/model.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
/* /*
ALIAS MODEL DISPLAY LIST GENERATION ALIAS MODEL DISPLAY LIST GENERATION

View file

@ -45,8 +45,8 @@
#include "QF/model.h" #include "QF/model.h"
#include "QF/msg.h" #include "QF/msg.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vfs.h"
#include "d_iface.h" #include "d_iface.h"
#include "r_local.h" #include "r_local.h"

View file

@ -44,7 +44,7 @@
#include "glquake.h" #include "glquake.h"
#include "QF/model.h" #include "QF/model.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
int Mod_Fullbright (byte * skin, int width, int height, char *name); int Mod_Fullbright (byte * skin, int width, int height, char *name);

View file

@ -43,8 +43,8 @@
#include "QF/cvar.h" #include "QF/cvar.h"
#include "QF/model.h" #include "QF/model.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vfs.h"
void Mod_LoadAliasModel (model_t *mod, void *buf); void Mod_LoadAliasModel (model_t *mod, void *buf);
void Mod_LoadSpriteModel (model_t *mod, void *buf); void Mod_LoadSpriteModel (model_t *mod, void *buf);

View file

@ -45,9 +45,9 @@
#include "QF/hash.h" #include "QF/hash.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h"
#include "QF/sizebuf.h" #include "QF/sizebuf.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vfs.h"
#include "QF/zone.h" #include "QF/zone.h"
#define MAX_ALIAS_NAME 32 #define MAX_ALIAS_NAME 32

View file

@ -47,6 +47,7 @@
#include "QF/cvar.h" #include "QF/cvar.h"
#include "QF/hash.h" #include "QF/hash.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/vfs.h"
#define USER_RO_CVAR "User-created READ-ONLY Cvar" #define USER_RO_CVAR "User-created READ-ONLY Cvar"
#define USER_CVAR "User-created cvar" #define USER_CVAR "User-created cvar"

View file

@ -70,7 +70,7 @@
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/qtypes.h" #include "QF/qtypes.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/va.h" #include "QF/va.h"
#include "QF/zone.h" #include "QF/zone.h"

View file

@ -57,8 +57,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <limits.h> #include <limits.h>
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "QF/quakeio.h" #include "QF/vfile.h"
#ifdef WIN32 #ifdef WIN32
# ifndef __BORLANDC__ # ifndef __BORLANDC__

View file

@ -41,12 +41,12 @@
#include "QF/cmd.h" #include "QF/cmd.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/draw.h" #include "QF/draw.h"
#include "QF/quakefs.h"
#include "QF/render.h" #include "QF/render.h"
#include "QF/screen.h" #include "QF/screen.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vid.h" #include "QF/vid.h"
#include "QF/va.h" #include "QF/va.h"
#include "QF/vfs.h"
#include "glquake.h" #include "glquake.h"
#include "r_cvar.h" #include "r_cvar.h"

View file

@ -42,10 +42,10 @@
#include "QF/compat.h" #include "QF/compat.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/quakefs.h"
#include "QF/render.h" #include "QF/render.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/varrays.h" #include "QF/varrays.h"
#include "QF/vfs.h"
#include "glquake.h" #include "glquake.h"
#include "r_dynamic.h" #include "r_dynamic.h"

View file

@ -41,12 +41,12 @@
#include "QF/cmd.h" #include "QF/cmd.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/cvar.h" #include "QF/cvar.h"
#include "QF/quakefs.h"
#include "QF/render.h" #include "QF/render.h"
#include "QF/skin.h" #include "QF/skin.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vid.h" #include "QF/vid.h"
#include "QF/varrays.h" #include "QF/varrays.h"
#include "QF/vfs.h"
#include "glquake.h" #include "glquake.h"
#include "r_dynamic.h" #include "r_dynamic.h"

View file

@ -44,12 +44,12 @@
#include "QF/draw.h" #include "QF/draw.h"
#include "QF/keys.h" #include "QF/keys.h"
#include "QF/pcx.h" #include "QF/pcx.h"
#include "QF/quakefs.h" // MAX_OSPATH
#include "QF/render.h" // r_refdef #include "QF/render.h" // r_refdef
#include "QF/screen.h" #include "QF/screen.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/texture.h" #include "QF/texture.h"
#include "QF/tga.h" #include "QF/tga.h"
#include "QF/vfs.h" // MAX_OSPATH
#include "glquake.h" #include "glquake.h"
#include "r_cvar.h" #include "r_cvar.h"

View file

@ -38,9 +38,9 @@
#include "QF/compat.h" #include "QF/compat.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/quakefs.h"
#include "QF/render.h" #include "QF/render.h"
#include "QF/tga.h" #include "QF/tga.h"
#include "QF/vfs.h"
#include "QF/vid.h" #include "QF/vid.h"
#include "glquake.h" #include "glquake.h"

View file

@ -38,9 +38,9 @@
#include "QF/console.h" #include "QF/console.h"
#include "QF/draw.h" #include "QF/draw.h"
#include "QF/quakefs.h"
#include "QF/sound.h" #include "QF/sound.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vfs.h"
#include "d_iface.h" #include "d_iface.h"
#include "r_cvar.h" #include "r_cvar.h"

View file

@ -44,11 +44,11 @@
#include "QF/draw.h" #include "QF/draw.h"
#include "QF/keys.h" #include "QF/keys.h"
#include "QF/pcx.h" #include "QF/pcx.h"
#include "QF/quakefs.h"
#include "QF/render.h" #include "QF/render.h"
#include "QF/screen.h" #include "QF/screen.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/texture.h" #include "QF/texture.h"
#include "QF/vfs.h"
#include "QF/vid.h" #include "QF/vid.h"
#include "d_iface.h" #include "d_iface.h"

View file

@ -35,7 +35,7 @@
#include "QF/compat.h" #include "QF/compat.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "QF/render.h" #include "QF/render.h"
#include "r_cvar.h" #include "r_cvar.h"

View file

@ -48,8 +48,8 @@
#include "QF/console.h" #include "QF/console.h"
#include "QF/input.h" #include "QF/input.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/quakefs.h"
#include "QF/qfgl_ext.h" #include "QF/qfgl_ext.h"
#include "QF/vfs.h"
#include "QF/vid.h" #include "QF/vid.h"
#include "glquake.h" #include "glquake.h"
#include "sbar.h" #include "sbar.h"

View file

@ -52,7 +52,6 @@
#include "QF/input.h" #include "QF/input.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h"
#include "QF/va.h" #include "QF/va.h"
#include "QF/vid.h" #include "QF/vid.h"

View file

@ -40,7 +40,7 @@
#include "QF/keys.h" #include "QF/keys.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "sbar.h" #include "sbar.h"
#include "QF/screen.h" #include "QF/screen.h"
#include "QF/sound.h" #include "QF/sound.h"

View file

@ -35,8 +35,8 @@
#include "QF/info.h" #include "QF/info.h"
#include "QF/mathlib.h" #include "QF/mathlib.h"
#include "QF/model.h" #include "QF/model.h"
#include "QF/quakefs.h"
#include "QF/sound.h" #include "QF/sound.h"
#include "QF/vfs.h"
#include "net.h" #include "net.h"
#include "protocol.h" #include "protocol.h"

View file

@ -39,7 +39,7 @@
#include "sv_progs.h" #include "sv_progs.h"
#include "QF/sizebuf.h" #include "QF/sizebuf.h"
#include "QF/info.h" #include "QF/info.h"
#include "QF/quakeio.h" #include "QF/vfile.h"
#include "client.h" #include "client.h"
extern progs_t sv_pr_state; extern progs_t sv_pr_state;

View file

@ -30,12 +30,12 @@
# include "config.h" # include "config.h"
#endif #endif
#include "QF/cvar.h"
#include "QF/quakefs.h"
#include "QF/console.h"
#include "QF/qargs.h"
#include "game.h"
#include "QF/cmd.h" #include "QF/cmd.h"
#include "QF/console.h"
#include "QF/cvar.h"
#include "QF/qargs.h"
#include "QF/vfs.h"
#include "game.h"
void Cvar_Info (struct cvar_s *var); void Cvar_Info (struct cvar_s *var);

View file

@ -32,7 +32,7 @@
# include <config.h> # include <config.h>
#endif #endif
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "game.h" #include "game.h"
qboolean standard_quake = false; qboolean standard_quake = false;

View file

@ -41,9 +41,9 @@
#include "QF/compat.h" #include "QF/compat.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/locs.h" #include "QF/locs.h"
#include "QF/quakefs.h"
#include "QF/qtypes.h" #include "QF/qtypes.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vfs.h"
#include "client.h" #include "client.h"

View file

@ -37,14 +37,14 @@
#endif #endif
#include "QF/cmd.h" #include "QF/cmd.h"
#include "QF/console.h"
#include "QF/msg.h" #include "QF/msg.h"
#include "net.h"
#include "net_vcr.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/sizebuf.h" #include "QF/sizebuf.h"
#include "QF/console.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/quakeio.h" #include "QF/vfile.h"
#include "net.h"
#include "net_vcr.h"
#include "server.h" #include "server.h"
qsocket_t *net_activeSockets = NULL; qsocket_t *net_activeSockets = NULL;

View file

@ -40,8 +40,8 @@
#include "QF/pcx.h" #include "QF/pcx.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/qtypes.h" #include "QF/qtypes.h"
#include "QF/quakefs.h"
#include "QF/texture.h" #include "QF/texture.h"
#include "QF/vfs.h"
#include "QF/vid.h" #include "QF/vid.h"
#include "QF/zone.h" #include "QF/zone.h"

View file

@ -40,10 +40,10 @@
#include "QF/console.h" #include "QF/console.h"
#include "QF/hash.h" #include "QF/hash.h"
#include "QF/pcx.h" #include "QF/pcx.h"
#include "QF/quakefs.h"
#include "QF/skin.h" #include "QF/skin.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/texture.h" #include "QF/texture.h"
#include "QF/vfs.h"
#include "client.h" #include "client.h"

View file

@ -36,13 +36,13 @@
#include "QF/compat.h" #include "QF/compat.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/quakeio.h" #include "QF/screen.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vfile.h"
#include "client.h" #include "client.h"
#include "game.h" #include "game.h"
#include "host.h" #include "host.h"
#include "QF/screen.h"
#define MINIMUM_WIN_MEMORY 0x0880000 #define MINIMUM_WIN_MEMORY 0x0880000
#define MAXIMUM_WIN_MEMORY 0x1000000 #define MAXIMUM_WIN_MEMORY 0x1000000

View file

@ -39,9 +39,9 @@
#include <stdlib.h> #include <stdlib.h>
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/tga.h" #include "QF/tga.h"
#include "QF/vfs.h"
static int static int

View file

@ -31,9 +31,9 @@
#endif #endif
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/wad.h" #include "QF/wad.h"
#include "QF/vfs.h"
int wad_numlumps; int wad_numlumps;
lumpinfo_t *wad_lumps; lumpinfo_t *wad_lumps;

View file

@ -31,7 +31,7 @@
#ifndef _CL_SLIST_H #ifndef _CL_SLIST_H
#define _CL_SLIST_H #define _CL_SLIST_H
#include "QF/quakeio.h" #include "QF/vfile.h"
typedef struct server_entry_s { typedef struct server_entry_s {
char *server; char *server;

View file

@ -30,7 +30,7 @@
#define _CLIENT_H #define _CLIENT_H
#include "QF/info.h" #include "QF/info.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "QF/vid.h" #include "QF/vid.h"
#include "QF/zone.h" #include "QF/zone.h"

View file

@ -39,7 +39,7 @@
#include "QF/progs.h" #include "QF/progs.h"
#include "QF/sizebuf.h" #include "QF/sizebuf.h"
#include "QF/info.h" #include "QF/info.h"
#include "QF/quakeio.h" #include "QF/vfile.h"
#define QW_SERVER #define QW_SERVER

View file

@ -47,6 +47,9 @@
#ifdef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H
# include <netinet/in.h> # include <netinet/in.h>
#endif #endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_WINSOCK_H #ifdef HAVE_WINSOCK_H
# include <winsock.h> # include <winsock.h>
@ -70,7 +73,6 @@
#include "QF/msg.h" #include "QF/msg.h"
#include "QF/plugin.h" #include "QF/plugin.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/screen.h" #include "QF/screen.h"
#include "QF/sound.h" #include "QF/sound.h"
@ -78,6 +80,7 @@
#include "QF/teamplay.h" #include "QF/teamplay.h"
#include "QF/vid.h" #include "QF/vid.h"
#include "QF/va.h" #include "QF/va.h"
#include "QF/vfs.h"
#include "bothdefs.h" #include "bothdefs.h"
#include "buildnum.h" #include "buildnum.h"

View file

@ -51,6 +51,7 @@
#include "QF/sound.h" #include "QF/sound.h"
#include "QF/teamplay.h" #include "QF/teamplay.h"
#include "QF/va.h" #include "QF/va.h"
#include "QF/vfile.h"
#include "bothdefs.h" #include "bothdefs.h"
#include "cl_ents.h" #include "cl_ents.h"

View file

@ -58,9 +58,9 @@
#include "client.h" #include "client.h"
#include "QF/cmd.h" #include "QF/cmd.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/quakefs.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/va.h" #include "QF/va.h"
#include "QF/vfile.h"
server_entry_t *slist; server_entry_t *slist;
server_entry_t *all_slist; server_entry_t *all_slist;

View file

@ -35,8 +35,8 @@
#include "QF/cmd.h" #include "QF/cmd.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/cvar.h" #include "QF/cvar.h"
#include "QF/quakefs.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vfs.h"
cvar_t *registered; cvar_t *registered;

View file

@ -43,7 +43,7 @@
#include "QF/cvar.h" #include "QF/cvar.h"
#include "QF/info.h" #include "QF/info.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "game.h" #include "game.h"
#include "server.h" #include "server.h"

View file

@ -42,10 +42,11 @@
#include "QF/compat.h" #include "QF/compat.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "QF/render.h" #include "QF/render.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/varrays.h" #include "QF/varrays.h"
#include "QF/vfile.h"
#include "glquake.h" #include "glquake.h"
#include "r_dynamic.h" #include "r_dynamic.h"

View file

@ -50,6 +50,7 @@
#include "QF/keys.h" #include "QF/keys.h"
#include "QF/screen.h" #include "QF/screen.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vfs.h"
/* /*
key up events are sent even if in console mode key up events are sent even if in console mode

View file

@ -41,9 +41,9 @@
#include "QF/compat.h" #include "QF/compat.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/locs.h" #include "QF/locs.h"
#include "QF/quakefs.h"
#include "QF/qtypes.h" #include "QF/qtypes.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/vfs.h"
#include "client.h" #include "client.h"

View file

@ -44,7 +44,7 @@
#include "QF/msg.h" #include "QF/msg.h"
#include "net.h" #include "net.h"
#include "protocol.h" #include "protocol.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "server.h" #include "server.h"
#include "QF/va.h" #include "QF/va.h"

View file

@ -40,8 +40,8 @@
#include "QF/pcx.h" #include "QF/pcx.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/qtypes.h" #include "QF/qtypes.h"
#include "QF/quakefs.h"
#include "QF/texture.h" #include "QF/texture.h"
#include "QF/vfs.h"
#include "QF/vid.h" #include "QF/vid.h"
#include "QF/zone.h" #include "QF/zone.h"

View file

@ -40,10 +40,10 @@
#include "QF/console.h" #include "QF/console.h"
#include "QF/hash.h" #include "QF/hash.h"
#include "QF/pcx.h" #include "QF/pcx.h"
#include "QF/quakefs.h"
#include "QF/skin.h" #include "QF/skin.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/texture.h" #include "QF/texture.h"
#include "QF/vfs.h"
#include "client.h" #include "client.h"

View file

@ -44,7 +44,7 @@
#include "QF/msg.h" #include "QF/msg.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "server.h" #include "server.h"
#include "sv_progs.h" #include "sv_progs.h"
#include "QF/sys.h" #include "QF/sys.h"

View file

@ -39,11 +39,11 @@
#include "QF/crc.h" #include "QF/crc.h"
#include "QF/compat.h" #include "QF/compat.h"
#include "QF/msg.h" #include "QF/msg.h"
#include "QF/quakefs.h" #include "QF/va.h"
#include "QF/vfs.h"
#include "server.h" #include "server.h"
#include "sv_progs.h" #include "sv_progs.h"
#include "world.h" #include "world.h"
#include "QF/va.h"
server_t sv; // local server server_t sv; // local server

View file

@ -39,24 +39,24 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>
#include "bothdefs.h"
#include "buildnum.h"
#include "QF/cmd.h" #include "QF/cmd.h"
#include "QF/compat.h" #include "QF/compat.h"
#include "game.h"
#include "QF/model.h" #include "QF/model.h"
#include "net.h"
#include "QF/msg.h" #include "QF/msg.h"
#include "pmove.h"
#include "QF/plugin.h" #include "QF/plugin.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/quakefs.h"
#include "server.h"
#include "sv_progs.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/va.h" #include "QF/va.h"
#include "QF/ver_check.h" #include "QF/ver_check.h"
#include "QF/vfs.h"
#include "QF/zone.h" #include "QF/zone.h"
#include "bothdefs.h"
#include "buildnum.h"
#include "game.h"
#include "net.h"
#include "pmove.h"
#include "server.h"
#include "sv_progs.h"
quakeparms_t host_parms; quakeparms_t host_parms;
qboolean host_initialized; // true if into command execution qboolean host_initialized; // true if into command execution

View file

@ -41,19 +41,19 @@
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h> #include <ctype.h>
#include "bothdefs.h"
#include "QF/checksum.h" #include "QF/checksum.h"
#include "QF/cmd.h" #include "QF/cmd.h"
#include "QF/compat.h" #include "QF/compat.h"
#include "QF/cvar.h" #include "QF/cvar.h"
#include "QF/msg.h" #include "QF/msg.h"
#include "msg_ucmd.h"
#include "pmove.h"
#include "QF/quakefs.h"
#include "server.h"
#include "sv_progs.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/va.h" #include "QF/va.h"
#include "QF/vfs.h"
#include "bothdefs.h"
#include "msg_ucmd.h"
#include "pmove.h"
#include "server.h"
#include "sv_progs.h"
#include "world.h" #include "world.h"
edict_t *sv_player; edict_t *sv_player;

View file

@ -35,7 +35,7 @@
#include "QF/compat.h" #include "QF/compat.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/qargs.h" #include "QF/qargs.h"
#include "QF/quakefs.h" #include "QF/vfs.h"
#include "QF/render.h" #include "QF/render.h"
#include "r_cvar.h" #include "r_cvar.h"

View file

@ -39,9 +39,9 @@
#include <stdlib.h> #include <stdlib.h>
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/tga.h" #include "QF/tga.h"
#include "QF/vfs.h"
static int static int

View file

@ -37,9 +37,9 @@
#endif #endif
#include "QF/qendian.h" #include "QF/qendian.h"
#include "QF/quakefs.h"
#include "QF/sys.h" #include "QF/sys.h"
#include "QF/wad.h" #include "QF/wad.h"
#include "QF/vfs.h"
int wad_numlumps; int wad_numlumps;
lumpinfo_t *wad_lumps; lumpinfo_t *wad_lumps;