debug testing

This commit is contained in:
Bill Currie 2001-07-14 23:52:56 +00:00
parent f4976e8133
commit 6e06ecc461
2 changed files with 11 additions and 2 deletions

View file

@ -21,9 +21,9 @@ $(EXE): $(OBJ) $(LIBS)
$(CC) $(LDFLAGS) -o $@ $^ -lQFgamecode -lQFutil $(CC) $(LDFLAGS) -o $@ $^ -lQFgamecode -lQFutil
$(EXE).dat: progs.src *.qc $(EXE).dat: progs.src *.qc
qfcc qfcc --warn=error --debug
clean: clean:
rm -f $(EXE) *.o *.d core *.dat progdefs.h rm -f $(EXE) *.o *.d core *.dat *.sym progdefs.h
-include $(DEP) -include $(DEP)

View file

@ -3,6 +3,7 @@
#include <QF/cmd.h> #include <QF/cmd.h>
#include <QF/cvar.h> #include <QF/cvar.h>
#include <QF/progs.h> #include <QF/progs.h>
#include <QF/vfs.h>
#include <QF/sys.h> #include <QF/sys.h>
#include <QF/zone.h> #include <QF/zone.h>
@ -38,7 +39,15 @@ main ()
Cbuf_Init (); Cbuf_Init ();
Cmd_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 (); PR_Init_Cvars ();
COM_Filesystem_Init_Cvars ();
COM_Filesystem_Init ();
PR_Init (); PR_Init ();
BI_Init (&progs); BI_Init (&progs);