From 6e06ecc46114a9d0494da583f5beb600d2de4438 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 14 Jul 2001 23:52:56 +0000 Subject: [PATCH] debug testing --- tools/qwaq/Makefile | 4 ++-- tools/qwaq/main.c | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/tools/qwaq/Makefile b/tools/qwaq/Makefile index ada75fea9..89fd873e7 100644 --- a/tools/qwaq/Makefile +++ b/tools/qwaq/Makefile @@ -21,9 +21,9 @@ $(EXE): $(OBJ) $(LIBS) $(CC) $(LDFLAGS) -o $@ $^ -lQFgamecode -lQFutil $(EXE).dat: progs.src *.qc - qfcc + qfcc --warn=error --debug clean: - rm -f $(EXE) *.o *.d core *.dat progdefs.h + rm -f $(EXE) *.o *.d core *.dat *.sym progdefs.h -include $(DEP) diff --git a/tools/qwaq/main.c b/tools/qwaq/main.c index 146ebd331..2c425820c 100644 --- a/tools/qwaq/main.c +++ b/tools/qwaq/main.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include @@ -38,7 +39,15 @@ main () Cbuf_Init (); Cmd_Init (); + Cvar_Get ("pr_debug", "1", 0, 0, 0); + Cvar_Get ("fs_basegame", ".", 0, 0, 0); + Cvar_Get ("fs_userpath", ".", 0, 0, 0); + Cvar_Get ("fs_sharepath", ".", 0, 0, 0); + Cvar_Get ("developer", "1", 0, 0, 0); + PR_Init_Cvars (); + COM_Filesystem_Init_Cvars (); + COM_Filesystem_Init (); PR_Init (); BI_Init (&progs);