mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 03:20:44 +00:00
SW: Get grpscan.cpp compiling by fixing declaration and initialization of grpfiles/foundgrps
Patch from Striker. git-svn-id: https://svn.eduke32.com/eduke32@7513 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a7facc0e35
commit
2448bbe600
2 changed files with 5 additions and 3 deletions
|
@ -30,13 +30,13 @@
|
||||||
|
|
||||||
#include "grpscan.h"
|
#include "grpscan.h"
|
||||||
|
|
||||||
struct grpfile grpfiles[numgrpfiles] =
|
grpfile grpfiles[numgrpfiles] =
|
||||||
{
|
{
|
||||||
{ "Registered Version", 0x7545319F, 47536148, NULL },
|
{ "Registered Version", 0x7545319F, 47536148, NULL },
|
||||||
{ "Shareware Version", 0x08A7FA1F, 26056769, NULL },
|
{ "Shareware Version", 0x08A7FA1F, 26056769, NULL },
|
||||||
{ "Wanton Destruction (Addon)", 0xA9AAA7B7, 48698128, NULL },
|
{ "Wanton Destruction (Addon)", 0xA9AAA7B7, 48698128, NULL },
|
||||||
};
|
};
|
||||||
struct grpfile *foundgrps = NULL;
|
grpfile *foundgrps = NULL;
|
||||||
|
|
||||||
#define GRPCACHEFILE "grpfiles.cache"
|
#define GRPCACHEFILE "grpfiles.cache"
|
||||||
static struct grpcache
|
static struct grpcache
|
||||||
|
|
|
@ -32,7 +32,9 @@ struct grpfile
|
||||||
int crcval;
|
int crcval;
|
||||||
int size;
|
int size;
|
||||||
struct grpfile *next;
|
struct grpfile *next;
|
||||||
} grpfiles[numgrpfiles], *foundgrps;
|
};
|
||||||
|
|
||||||
|
extern grpfile grpfiles[numgrpfiles], *foundgrps;
|
||||||
|
|
||||||
int ScanGroups(void);
|
int ScanGroups(void);
|
||||||
void FreeGroups(void);
|
void FreeGroups(void);
|
||||||
|
|
Loading…
Reference in a new issue