Skip to content

Commit

Permalink
Initial MD5 support
Browse files Browse the repository at this point in the history
Partial import from QSS. Still needs menu option etc.
  • Loading branch information
Novum committed Feb 5, 2023
1 parent 9557033 commit 7b55369
Show file tree
Hide file tree
Showing 25 changed files with 1,815 additions and 459 deletions.
6 changes: 3 additions & 3 deletions Quake/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ static void COM_Path_f (void);
#define PAK0_COUNT_V091 308 /* id1/pak0.pak - v0.91/0.92, not supported */
#define PAK0_CRC_V091 28804 /* id1/pak0.pak - v0.91/0.92, not supported */

char com_token[1024];
int com_argc;
char **com_argv;
THREAD_LOCAL char com_token[1024];
int com_argc;
char **com_argv;

#define CMDLINE_LENGTH 256 /* johnfitz -- mirrored in cmd.c */
char com_cmdline[CMDLINE_LENGTH];
Expand Down
4 changes: 2 additions & 2 deletions Quake/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ int q_vsnprintf (char *str, size_t size, const char *format, va_list args) FUNC_

//============================================================================

extern char com_token[1024];
extern qboolean com_eof;
extern THREAD_LOCAL char com_token[1024];
extern qboolean com_eof;

const char *COM_Parse (const char *data);

Expand Down
1 change: 1 addition & 0 deletions Quake/common.make
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ SHADER_OBJS = \
alias_frag.o \
alias_alphatest_frag.o \
alias_vert.o \
md5_vert.o \
basic_alphatest_frag.o \
screen_effects_8bit_comp.o \
screen_effects_8bit_scale_comp.o \
Expand Down
Loading

0 comments on commit 7b55369

Please sign in to comment.