mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +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
|
$(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)
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue