mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
debug testing
This commit is contained in:
parent
f4976e8133
commit
6e06ecc461
2 changed files with 11 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <QF/cmd.h>
|
||||
#include <QF/cvar.h>
|
||||
#include <QF/progs.h>
|
||||
#include <QF/vfs.h>
|
||||
#include <QF/sys.h>
|
||||
#include <QF/zone.h>
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue