mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
the crc field in progs.dat is evily generated from the crc of progsdef.h, so
change the header to produce a matching crc. This is an interrim fix until a better solution can be found.
This commit is contained in:
parent
3217faa319
commit
21fa23a747
2 changed files with 6 additions and 1 deletions
5
tools/qfcc/source/.gitignore
vendored
Normal file
5
tools/qfcc/source/.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
Makefile.in
|
||||
Makefile
|
||||
.deps
|
||||
qfcc
|
||||
|
|
@ -616,7 +616,7 @@ PR_WriteProgdefs (char *filename)
|
|||
f = fopen (filename, "w");
|
||||
|
||||
// print global vars until the first field is defined
|
||||
fprintf (f, "\n/* file generated by qfcc, do not modify */\n\ntypedef struct {\nint\tpad[%i];\n", RESERVED_OFS);
|
||||
fprintf (f, "\n/* file generated by qcc, do not modify */\n\ntypedef struct\n{\tint\tpad[%i];\n", RESERVED_OFS);
|
||||
|
||||
for (d = pr.def_head.next; d; d = d->next) {
|
||||
if (!strcmp (d->name, "end_sys_globals"))
|
||||
|
|
Loading…
Reference in a new issue