s/qctest/qwaq/ and update .gitignore

This commit is contained in:
Bill Currie 2001-06-01 21:59:46 +00:00
parent 8a23ae0a48
commit e3e4915c03
4 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,5 @@
*.d
#.dat
*.la
*.lo
.deps
@ -5,3 +7,5 @@
.vimrc
Makefile
Makefile.in
progdefs.h
qwaq

View File

@ -1,4 +1,4 @@
EXE=qctest
EXE=qwaq
MAKEDEPS=$(CC) -MM $(CPPFLAGS) $< | sed -e 's/$*\.o:*/$*\.o $@:/g' > $@

View File

@ -31,19 +31,19 @@ main ()
PR_Init ();
BI_Init (&progs);
f = fopen ("qctest.dat", "rb");
f = fopen ("qwaq.dat", "rb");
if (f) {
fseek (f, 0, SEEK_END);
len = ftell (f);
fseek (f, 0, SEEK_SET);
progs.progs = Hunk_AllocName (len, "qctest.dat");
progs.progs = Hunk_AllocName (len, "qwaq.dat");
fread (progs.progs, 1, len, f);
fclose (f);
if (progs.progs)
PR_LoadProgs (&progs, 0);
}
if (!progs.progs)
Sys_Error ("couldn't load %s\n", "qctest.dat");
Sys_Error ("couldn't load %s\n", "qwaq.dat");
main_func = PR_GetFunctionIndex (&progs, "main");
PR_ExecuteProgram (&progs, main_func);
return 0;

View File

@ -1,4 +1,4 @@
qctest.dat
qwaq.dat
defs.qc