move quakedefs to q_defs
parent
6909073d3d
commit
8df34b4c3f
|
@ -99,10 +99,9 @@ set(srcs
|
||||||
source/progs.h
|
source/progs.h
|
||||||
source/protocol.h
|
source/protocol.h
|
||||||
source/q_ctype.h
|
source/q_ctype.h
|
||||||
|
source/q_defs.h
|
||||||
source/q_sound.h
|
source/q_sound.h
|
||||||
source/q_stdinc.h
|
source/q_stdinc.h
|
||||||
source/qs_bmp.h
|
|
||||||
source/quakedef.h
|
|
||||||
source/r_alias.c
|
source/r_alias.c
|
||||||
source/r_brush.c
|
source/r_brush.c
|
||||||
source/r_part.c
|
source/r_part.c
|
||||||
|
@ -154,7 +153,8 @@ set(srcs
|
||||||
source/zone.h)
|
source/zone.h)
|
||||||
|
|
||||||
set(srcs_linux
|
set(srcs_linux
|
||||||
source/linux/pl_linux.c)
|
source/linux/pl_linux.c
|
||||||
|
source/linux/qs_bmp.h)
|
||||||
|
|
||||||
set(srcs_osx
|
set(srcs_osx
|
||||||
source/osx/pl_osx.c)
|
source/osx/pl_osx.c)
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "snd_codec.h"
|
#include "snd_codec.h"
|
||||||
#include "bgmusic.h"
|
#include "bgmusic.h"
|
||||||
#include "cdaudio.h"
|
#include "cdaudio.h"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
int32_t CDAudio_Play(byte track, bool looping)
|
int32_t CDAudio_Play(byte track, bool looping)
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#else /* defined(SDL_INIT_CDROM) */
|
#else /* defined(SDL_INIT_CDROM) */
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "cdaudio.h"
|
#include "cdaudio.h"
|
||||||
|
|
||||||
static bool cdValid = false;
|
static bool cdValid = false;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
|
|
||||||
static fshandle_t *cfg_file;
|
static fshandle_t *cfg_file;
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// chase.c -- chase camera code
|
// chase.c -- chase camera code
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
cvar_t chase_back = {"chase_back", "100", CVAR_NONE};
|
cvar_t chase_back = {"chase_back", "100", CVAR_NONE};
|
||||||
cvar_t chase_up = {"chase_up", "16", CVAR_NONE};
|
cvar_t chase_up = {"chase_up", "16", CVAR_NONE};
|
||||||
|
|
|
@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
static void CL_FinishTimeDemo(void);
|
static void CL_FinishTimeDemo(void);
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
// Quake is a trademark of Id Software, Inc., (c) 1996 Id Software, Inc. All
|
// Quake is a trademark of Id Software, Inc., (c) 1996 Id Software, Inc. All
|
||||||
// rights reserved.
|
// rights reserved.
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
extern cvar_t cl_maxpitch; //johnfitz -- variable pitch clamping
|
extern cvar_t cl_maxpitch; //johnfitz -- variable pitch clamping
|
||||||
extern cvar_t cl_minpitch; //johnfitz -- variable pitch clamping
|
extern cvar_t cl_minpitch; //johnfitz -- variable pitch clamping
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// cl_main.c -- client main loop
|
// cl_main.c -- client main loop
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "bgmusic.h"
|
#include "bgmusic.h"
|
||||||
|
|
||||||
// we need to declare some mouse variables here, because the menu system
|
// we need to declare some mouse variables here, because the menu system
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// cl_parse.c -- parse a message received from the server
|
// cl_parse.c -- parse a message received from the server
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "bgmusic.h"
|
#include "bgmusic.h"
|
||||||
|
|
||||||
const char *svc_strings[] =
|
const char *svc_strings[] =
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// cl_tent.c -- client side temporary entities
|
// cl_tent.c -- client side temporary entities
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
entity_t *cl_temp_entities;
|
entity_t *cl_temp_entities;
|
||||||
int32_t num_temp_entities;
|
int32_t num_temp_entities;
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// cmd.c -- Quake script command processing module
|
// cmd.c -- Quake script command processing module
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
void Cmd_ForwardToServer(void);
|
void Cmd_ForwardToServer(void);
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
// common.c -- misc functions used in client and server
|
// common.c -- misc functions used in client and server
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "q_ctype.h"
|
#include "q_ctype.h"
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// console.c
|
// console.c
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
/* crc.c */
|
/* crc.c */
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "crc.h"
|
#include "crc.h"
|
||||||
|
|
||||||
// this is a 16 bit, non-reflected CRC using the polynomial 0x1021
|
// this is a 16 bit, non-reflected CRC using the polynomial 0x1021
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// cvar.c -- dynamic variable tracking
|
// cvar.c -- dynamic variable tracking
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
static cvar_t *cvar_vars;
|
static cvar_t *cvar_vars;
|
||||||
static char cvar_null_string[] = "";
|
static char cvar_null_string[] = "";
|
||||||
|
|
|
@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
// draw.c -- 2d drawing
|
// draw.c -- 2d drawing
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
//extern uint8_t d_15to8table[65536]; //johnfitz -- never used
|
//extern uint8_t d_15to8table[65536]; //johnfitz -- never used
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
//gl_fog.c -- global and volumetric fog
|
//gl_fog.c -- global and volumetric fog
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
//
|
//
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// gl_mesh.c: triangle model functions
|
// gl_mesh.c: triangle model functions
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
// models are the only shared resource between a client and server running
|
// models are the only shared resource between a client and server running
|
||||||
// on the same machine.
|
// on the same machine.
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
qmodel_t *loadmodel;
|
qmodel_t *loadmodel;
|
||||||
char loadname[32]; // for hunk tags
|
char loadname[32]; // for hunk tags
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// r_efrag.c
|
// r_efrag.c
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
mnode_t *r_pefragtopnode;
|
mnode_t *r_pefragtopnode;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// r_light.c
|
// r_light.c
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
int32_t r_dlightframecount;
|
int32_t r_dlightframecount;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// r_main.c
|
// r_main.c
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
bool r_cache_thrash; // compatability
|
bool r_cache_thrash; // compatability
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// r_misc.c
|
// r_misc.c
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
//johnfitz -- new cvars
|
//johnfitz -- new cvars
|
||||||
extern cvar_t r_stereo;
|
extern cvar_t r_stereo;
|
||||||
|
|
|
@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
// screen.c -- master for refresh, status bar, console, chat, notify, etc
|
// screen.c -- master for refresh, status bar, console, chat, notify, etc
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
//gl_sky.c
|
//gl_sky.c
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#define MAX_CLIP_VERTS 64
|
#define MAX_CLIP_VERTS 64
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
//gl_texmgr.c -- fitzquake's texture manager. manages opengl texture images
|
//gl_texmgr.c -- fitzquake's texture manager. manages opengl texture images
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
const int32_t gl_solid_format = 3;
|
const int32_t gl_solid_format = 3;
|
||||||
const int32_t gl_alpha_format = 4;
|
const int32_t gl_alpha_format = 4;
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// gl_vidsdl.c -- SDL GL vid component
|
// gl_vidsdl.c -- SDL GL vid component
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "cfgfile.h"
|
#include "cfgfile.h"
|
||||||
#include "bgmusic.h"
|
#include "bgmusic.h"
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
|
@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
//gl_warp.c -- warping animation support
|
//gl_warp.c -- warping animation support
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
extern cvar_t r_drawflat;
|
extern cvar_t r_drawflat;
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// host.c -- coordinates spawning and killing of local servers
|
// host.c -- coordinates spawning and killing of local servers
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "bgmusic.h"
|
#include "bgmusic.h"
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#if !PLATFORM_IS(WINDOWS)
|
#if !PLATFORM_IS(WINDOWS)
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
//image.c -- image loading
|
//image.c -- image loading
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||||
#define STB_IMAGE_WRITE_STATIC
|
#define STB_IMAGE_WRITE_STATIC
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
static bool textmode;
|
static bool textmode;
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
/* key up events are sent even if in console mode */
|
/* key up events are sent even if in console mode */
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
static const Uint8 bmp_bytes[] =
|
static const Uint8 bmp_bytes[] =
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// mathlib.c -- math primitives
|
// mathlib.c -- math primitives
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
vec3_t vec3_origin = {0, 0, 0};
|
vec3_t vec3_origin = {0, 0, 0};
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "bgmusic.h"
|
#include "bgmusic.h"
|
||||||
|
|
||||||
void (*vid_menucmdfn)(void); //johnfitz
|
void (*vid_menucmdfn)(void); //johnfitz
|
||||||
|
|
|
@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "q_stdinc.h"
|
#include "q_stdinc.h"
|
||||||
#include "net_sys.h"
|
#include "net_sys.h"
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "net_defs.h"
|
#include "net_defs.h"
|
||||||
#include "net_dgrm.h"
|
#include "net_dgrm.h"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "q_stdinc.h"
|
#include "q_stdinc.h"
|
||||||
#include "net_sys.h"
|
#include "net_sys.h"
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "net_defs.h"
|
#include "net_defs.h"
|
||||||
#include "net_loop.h"
|
#include "net_loop.h"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "q_stdinc.h"
|
#include "q_stdinc.h"
|
||||||
#include "net_sys.h"
|
#include "net_sys.h"
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "net_defs.h"
|
#include "net_defs.h"
|
||||||
|
|
||||||
qsocket_t *net_activeSockets = NULL;
|
qsocket_t *net_activeSockets = NULL;
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#define STRINGTEMP_BUFFERS 16
|
#define STRINGTEMP_BUFFERS 16
|
||||||
#define STRINGTEMP_LENGTH 1024
|
#define STRINGTEMP_LENGTH 1024
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// sv_edict.c -- entity dictionary
|
// sv_edict.c -- entity dictionary
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
dprograms_t *progs;
|
dprograms_t *progs;
|
||||||
dfunction_t *pr_functions;
|
dfunction_t *pr_functions;
|
||||||
|
|
|
@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,8 +21,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef spingle__quakedef_h
|
#ifndef spingle__q_defs_h
|
||||||
#define spingle__quakedef_h
|
#define spingle__q_defs_h
|
||||||
|
|
||||||
#define ENGINE_NAME "spingle"
|
#define ENGINE_NAME "spingle"
|
||||||
#define VERSION "6.90"
|
#define VERSION "6.90"
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
//r_alias.c -- alias model rendering
|
//r_alias.c -- alias model rendering
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
extern cvar_t r_drawflat, gl_overbright_models, gl_fullbrights, r_lerpmodels, r_lerpmove; //johnfitz
|
extern cvar_t r_drawflat, gl_overbright_models, gl_fullbrights, r_lerpmodels, r_lerpmove; //johnfitz
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// r_brush.c: brush model rendering. renamed from r_surf.c
|
// r_brush.c: brush model rendering. renamed from r_surf.c
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
extern cvar_t gl_fullbrights, r_drawflat, gl_overbright, r_oldwater; //johnfitz
|
extern cvar_t gl_fullbrights, r_drawflat, gl_overbright, r_oldwater; //johnfitz
|
||||||
extern cvar_t gl_zfix; // QuakeSpasm z-fighting fix
|
extern cvar_t gl_zfix; // QuakeSpasm z-fighting fix
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#define MAX_PARTICLES 2048 // default max # of particles at one
|
#define MAX_PARTICLES 2048 // default max # of particles at one
|
||||||
// time
|
// time
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
//r_sprite.c -- sprite model rendering
|
//r_sprite.c -- sprite model rendering
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
================
|
================
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// r_world.c: world model rendering
|
// r_world.c: world model rendering
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
extern cvar_t gl_fullbrights, r_drawflat, gl_overbright, r_oldwater, r_oldskyleaf, r_showtris; //johnfitz
|
extern cvar_t gl_fullbrights, r_drawflat, gl_overbright, r_oldwater, r_oldskyleaf, r_showtris; //johnfitz
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// sbar.c -- status bar code
|
// sbar.c -- status bar code
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
int32_t sb_updates; // if >= vid.numpages, no update needed
|
int32_t sb_updates; // if >= vid.numpages, no update needed
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "snd_codec.h"
|
#include "snd_codec.h"
|
||||||
#include "snd_codeci.h"
|
#include "snd_codeci.h"
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
// snd_dma.c -- main control for any streaming sound output device
|
// snd_dma.c -- main control for any streaming sound output device
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "snd_codec.h"
|
#include "snd_codec.h"
|
||||||
#include "bgmusic.h"
|
#include "bgmusic.h"
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#if defined(USE_CODEC_FLAC)
|
#if defined(USE_CODEC_FLAC)
|
||||||
#include "snd_codec.h"
|
#include "snd_codec.h"
|
||||||
|
|
|
@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// snd_mem.c: sound caching
|
// snd_mem.c: sound caching
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
================
|
================
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#if defined(USE_CODEC_MIKMOD)
|
#if defined(USE_CODEC_MIKMOD)
|
||||||
#include "snd_codec.h"
|
#include "snd_codec.h"
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// snd_mix.c -- portable code to mix sounds for snd_dma.c
|
// snd_mix.c -- portable code to mix sounds for snd_dma.c
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#define PAINTBUFFER_SIZE 2048
|
#define PAINTBUFFER_SIZE 2048
|
||||||
portable_samplepair_t paintbuffer[PAINTBUFFER_SIZE];
|
portable_samplepair_t paintbuffer[PAINTBUFFER_SIZE];
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#if defined(USE_CODEC_MP3)
|
#if defined(USE_CODEC_MP3)
|
||||||
#include "snd_codec.h"
|
#include "snd_codec.h"
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#if defined(USE_CODEC_MP3)
|
#if defined(USE_CODEC_MP3)
|
||||||
#include "snd_codec.h"
|
#include "snd_codec.h"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#if defined(USE_CODEC_OPUS)
|
#if defined(USE_CODEC_OPUS)
|
||||||
#include "snd_codec.h"
|
#include "snd_codec.h"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#include "snd_codec.h"
|
#include "snd_codec.h"
|
||||||
#include "snd_codeci.h"
|
#include "snd_codeci.h"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#if defined(USE_CODEC_VORBIS)
|
#if defined(USE_CODEC_VORBIS)
|
||||||
#include "snd_codec.h"
|
#include "snd_codec.h"
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// sv_main.c -- server main program
|
// sv_main.c -- server main program
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
server_t sv;
|
server_t sv;
|
||||||
server_static_t svs;
|
server_static_t svs;
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// sv_move.c -- monster movement
|
// sv_move.c -- monster movement
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#define STEPSIZE 18
|
#define STEPSIZE 18
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// sv_phys.c
|
// sv_phys.c
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// sv_user.c -- server code for moving users
|
// sv_user.c -- server code for moving users
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
edict_t *sv_player;
|
edict_t *sv_player;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "q_stdinc.h"
|
#include "q_stdinc.h"
|
||||||
#include "net_sys.h"
|
#include "net_sys.h"
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "net_defs.h"
|
#include "net_defs.h"
|
||||||
|
|
||||||
#include "net_dgrm.h"
|
#include "net_dgrm.h"
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "q_stdinc.h"
|
#include "q_stdinc.h"
|
||||||
#include "net_sys.h"
|
#include "net_sys.h"
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "net_defs.h"
|
#include "net_defs.h"
|
||||||
|
|
||||||
static sys_socket_t net_acceptsocket = INVALID_SOCKET; // socket for fielding new connections
|
static sys_socket_t net_acceptsocket = INVALID_SOCKET; // socket for fielding new connections
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// view.c -- player eye positioning
|
// view.c -- player eye positioning
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// wad.c
|
// wad.c
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
int32_t wad_numlumps;
|
int32_t wad_numlumps;
|
||||||
lumpinfo_t *wad_lumps;
|
lumpinfo_t *wad_lumps;
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "q_stdinc.h"
|
#include "q_stdinc.h"
|
||||||
#include "net_sys.h"
|
#include "net_sys.h"
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "net_defs.h"
|
#include "net_defs.h"
|
||||||
|
|
||||||
#include "net_dgrm.h"
|
#include "net_dgrm.h"
|
||||||
|
|
|
@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "q_stdinc.h"
|
#include "q_stdinc.h"
|
||||||
#include "net_sys.h"
|
#include "net_sys.h"
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "net_defs.h"
|
#include "net_defs.h"
|
||||||
|
|
||||||
static sys_socket_t net_acceptsocket = INVALID_SOCKET; // socket for fielding new connections
|
static sys_socket_t net_acceptsocket = INVALID_SOCKET; // socket for fielding new connections
|
||||||
|
|
|
@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include "q_stdinc.h"
|
#include "q_stdinc.h"
|
||||||
#include "net_sys.h"
|
#include "net_sys.h"
|
||||||
#include <wsipx.h>
|
#include <wsipx.h>
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include "net_defs.h"
|
#include "net_defs.h"
|
||||||
#include "net_wipx.h"
|
#include "net_wipx.h"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <SDL_syswm.h>
|
#include <SDL_syswm.h>
|
||||||
|
|
|
@ -25,7 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <mmsystem.h>
|
#include <mmsystem.h>
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// world.c -- world query functions
|
// world.c -- world query functions
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// zone.c
|
// zone.c
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "q_defs.h"
|
||||||
|
|
||||||
#define DYNAMIC_SIZE (4 * 1024 * 1024) // ericw -- was 512KB (64-bit) / 384KB (32-bit)
|
#define DYNAMIC_SIZE (4 * 1024 * 1024) // ericw -- was 512KB (64-bit) / 384KB (32-bit)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue