Skip to content

Commit 87b39c2

Browse files
committed
Initial MD5 support
Partial import from QSS. Still needs menu option etc.
1 parent 9557033 commit 87b39c2

25 files changed

Lines changed: 1819 additions & 459 deletions

Quake/common.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ static void COM_Path_f (void);
5252
#define PAK0_COUNT_V091 308 /* id1/pak0.pak - v0.91/0.92, not supported */
5353
#define PAK0_CRC_V091 28804 /* id1/pak0.pak - v0.91/0.92, not supported */
5454

55-
char com_token[1024];
56-
int com_argc;
57-
char **com_argv;
55+
THREAD_LOCAL char com_token[1024];
56+
int com_argc;
57+
char **com_argv;
5858

5959
#define CMDLINE_LENGTH 256 /* johnfitz -- mirrored in cmd.c */
6060
char com_cmdline[CMDLINE_LENGTH];

Quake/common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ int q_vsnprintf (char *str, size_t size, const char *format, va_list args) FUNC_
228228

229229
//============================================================================
230230

231-
extern char com_token[1024];
232-
extern qboolean com_eof;
231+
extern THREAD_LOCAL char com_token[1024];
232+
extern qboolean com_eof;
233233

234234
const char *COM_Parse (const char *data);
235235

Quake/common.make

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ SHADER_OBJS = \
123123
alias_frag.o \
124124
alias_alphatest_frag.o \
125125
alias_vert.o \
126+
md5_vert.o \
126127
basic_alphatest_frag.o \
127128
screen_effects_8bit_comp.o \
128129
screen_effects_8bit_scale_comp.o \

0 commit comments

Comments
 (0)