source/GameListSource.game.m:26: error: ‘grpfiles’ undeclared (first use in this function)
it seems when grpfiles was replaced some of the mac stuff was missed. Patch has been attached.
Index: eduke32/source/GameListSource.game.m
===================================================================
--- eduke32/source/GameListSource.game.m (revision 3708)
+++ eduke32/source/GameListSource.game.m (working copy)
@@ -23,9 +23,9 @@
list = [[NSMutableArray alloc] init];
for (p = foundgrps; p; p=p->next) {
- for (i=0; i<NUMGRPFILES; i++) if (p->crcval == grpfiles[i].crcval) break;
+ for (i=0; i<NUMGRPFILES; i++) if (p->crcval == internalgrpfiles[i].crcval) break;
if (i == NUMGRPFILES) continue;
- [list addObject:[[GrpFile alloc] initWithGrpfile:p andName:[NSString stringWithCString:grpfiles[i].name]]];
+ [list addObject:[[GrpFile alloc] initWithGrpfile:p andName:[NSString stringWithCString:internalgrpfiles[i].name]]];
}
}
Index: eduke32/source/grpscan.h
===================================================================
--- eduke32/source/grpscan.h (revision 3708)
+++ eduke32/source/grpscan.h (working copy)
@@ -61,6 +61,7 @@
} grpfile_type;
// extern struct grpfile grpfiles[NUMGRPFILES];
+extern struct grpfile internalgrpfiles[NUMGRPFILES];
extern struct grpfile *foundgrps;
extern struct grpfile *listgrps;

Help
Duke4.net
DNF #1
Duke 3D #1









