mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 20:02:09 +00:00
Other minor changes for uquake, nothing visible
This commit is contained in:
parent
9c399a04e5
commit
c0dc03a8ff
4 changed files with 16 additions and 11 deletions
|
@ -786,8 +786,10 @@ void COM_Gamedir (char *dir)
|
|||
//
|
||||
Cache_Flush ();
|
||||
|
||||
#ifdef QUAKEWORLD
|
||||
if (!strcmp(dir, GAMENAME) || !strcmp(dir, "qw"))
|
||||
return;
|
||||
#endif
|
||||
|
||||
snprintf(com_gamedir, sizeof(com_gamedir), "%s/%s", com_basedir, dir);
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
quakefs.h - quake virtual filesystem definitions
|
||||
Copyright (C) 1996-1997 Id Software, Inc.
|
||||
Copyright (C) 1999,2000 contributors of the QuakeForge project
|
||||
Please see the file "AUTHORS" for a list of contributors
|
||||
|
@ -19,7 +20,6 @@ along with this program; if not, write to the Free Software
|
|||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
// comndef.h -- general definitions
|
||||
|
||||
#ifndef _QUAKEFS_H
|
||||
#define _QUAKEFS_H
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
host_cmd.c
|
||||
Copyright (C) 1996-1997 Id Software, Inc.
|
||||
Portions Copyright (C) 1999,2000 Nelson Rush.
|
||||
|
||||
|
@ -19,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
*/
|
||||
|
||||
#include "quakedef.h"
|
||||
#include <quakedef.h>
|
||||
#include <qtypes.h>
|
||||
#include <cvar.h>
|
||||
#include <net.h>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
quakedef.h - primary header for client
|
||||
Copyright (C) 1996-1997 Id Software, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
|
@ -17,7 +18,6 @@ along with this program; if not, write to the Free Software
|
|||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
// quakedef.h -- primary header for client
|
||||
|
||||
#ifndef _UQUAKE_QUAKEDEF_H
|
||||
#define _UQUAKE_QUAKEDEF_H
|
||||
|
@ -149,11 +149,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#define HIT_PROXIMITY_GUN_BIT 16
|
||||
#define HIT_MJOLNIR_BIT 7
|
||||
#define HIT_LASER_CANNON_BIT 23
|
||||
#define HIT_WETSUIT_BIT 25
|
||||
#define HIT_EMPATHY_SHIELDS_BIT 26
|
||||
#define HIT_PROXIMITY_GUN (1<<HIT_PROXIMITY_GUN_BIT)
|
||||
#define HIT_MJOLNIR (1<<HIT_MJOLNIR_BIT)
|
||||
#define HIT_LASER_CANNON (1<<HIT_LASER_CANNON_BIT)
|
||||
#define HIT_WETSUIT (1<<(23+2))
|
||||
#define HIT_EMPATHY_SHIELDS (1<<(23+3))
|
||||
#define HIT_WETSUIT (1<<HIT_WETSUIT_BIT)
|
||||
#define HIT_EMPATHY_SHIELDS (1<<HIT_EMPATHY_SHIELDS_BIT)
|
||||
|
||||
//===========================================
|
||||
|
||||
|
|
Loading…
Reference in a new issue