summaryrefslogtreecommitdiff
path: root/src/game/q_shared.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-10-22 19:42:01 +0000
committerTim Angus <tim@ngus.net>2002-10-22 19:42:01 +0000
commitd5364cf01a62c0d1528d318efdce20de68d71354 (patch)
tree0479236550e9f685a7bf364991ce33fb6ca03927 /src/game/q_shared.h
parent82a34b02692244390087884e67c2b9a2423f7e54 (diff)
* 1.32 point release update
Diffstat (limited to 'src/game/q_shared.h')
-rw-r--r--src/game/q_shared.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/game/q_shared.h b/src/game/q_shared.h
index 4ff5fa52..fefeed3b 100644
--- a/src/game/q_shared.h
+++ b/src/game/q_shared.h
@@ -20,7 +20,7 @@
// q_shared.h -- included first by ALL program modules.
// A user mod should never modify this file
-#define Q3_VERSION "Q3 1.29h"
+#define Q3_VERSION "Q3 1.32"
#define MAX_TEAMNAME 32
@@ -68,10 +68,6 @@
#ifdef Q3_VM
-//#ifdef __linux__
-//#undef __linux__
-//#endif
-
#include "bg_lib.h"
#else
@@ -444,6 +440,14 @@ void *Hunk_AllocDebug( int size, ha_pref preference, char *label, char *file, in
void *Hunk_Alloc( int size, ha_pref preference );
#endif
+#ifdef __linux__
+// https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=371
+// custom Snd_Memset implementation for glibc memset bug workaround
+void Snd_Memset (void* dest, const int val, const size_t count);
+#else
+#define Snd_Memset Com_Memset
+#endif
+
#if !( defined __VECTORC )
void Com_Memset (void* dest, const int val, const size_t count);
void Com_Memcpy (void* dest, const void* src, const size_t count);
@@ -1378,6 +1382,7 @@ typedef struct qtime_s {
// server browser sources
+// TTimo: AS_MPLAYER is no longer used
#define AS_LOCAL 0
#define AS_MPLAYER 1
#define AS_GLOBAL 2
@@ -1405,7 +1410,7 @@ typedef enum _flag_status {
-#define MAX_GLOBAL_SERVERS 2048
+#define MAX_GLOBAL_SERVERS 4096
#define MAX_OTHER_SERVERS 128
#define MAX_PINGREQUESTS 32
#define MAX_SERVERSTATUSREQUESTS 16