Subversion Repositories eduke32

Rev

Rev 4747 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4747 Rev 5062
Line 24... Line 24...
24
#define grpscan_h_
24
#define grpscan_h_
25
25
26
#define MAXLISTNAMELEN 32
26
#define MAXLISTNAMELEN 32
27
27
28
// List of internally-known GRP files
28
// List of internally-known GRP files
29
#define NUMGRPFILES 15
-
 
30
-
 
31
#define DUKE13_CRC  (int32_t)0xBBC9CE44
29
#define DUKE13_CRC  (int32_t)0xBBC9CE44
32
#define DUKEKR_CRC  (int32_t)0xAA4F6A40
30
#define DUKEKR_CRC  (int32_t)0xAA4F6A40
33
#define DUKE15_CRC  (int32_t)0xFD3DCFF1
31
#define DUKE15_CRC  (int32_t)0xFD3DCFF1
34
#define DUKEPP_CRC  (int32_t)0xF514A6AC
32
#define DUKEPP_CRC  (int32_t)0xF514A6AC
35
#define DUKE099_CRC (int32_t)0x02F18900
33
#define DUKE099_CRC (int32_t)0x02F18900
36
#define DUKE10_CRC  (int32_t)0xA28AA589
34
#define DUKE10_CRC  (int32_t)0xA28AA589
37
#define DUKE11_CRC  (int32_t)0x912E1E8D
35
#define DUKE11_CRC  (int32_t)0x912E1E8D
38
#define DUKESW_CRC  (int32_t)0x983AD923
36
#define DUKESW_CRC  (int32_t)0x983AD923
39
#define DUKEMD_CRC  (int32_t)0xC5F71561
37
#define DUKEMD_CRC  (int32_t)0xC5F71561
-
 
38
#define DUKEDC13_CRC (int32_t)0xA9242158
-
 
39
#define DUKEDCPP_CRC (int32_t)0xB79D997F
40
#define DUKEDC_CRC  (int32_t)0xA8CF80DA
40
#define DUKEDC_CRC  (int32_t)0xA8CF80DA
-
 
41
#define VACA13_CRC  (int32_t)0x4A2DBB62
-
 
42
#define VACAPP_CRC  (int32_t)0x2F4FCCEE
-
 
43
#define VACA15_CRC  (int32_t)0xB62B42FD
41
#define DUKECB_CRC  (int32_t)0x18F01C5B
44
#define DUKECB_CRC  (int32_t)0x18F01C5B
42
#define DUKENW_CRC  (int32_t)0xF1CAE8E4
45
#define DUKENW_CRC  (int32_t)0xF1CAE8E4
43
#define NAM_CRC     (int32_t)0x75C1F07B
46
#define NAM_CRC     (int32_t)0x75C1F07B
44
#define NAPALM_CRC  (int32_t)0x3DE1589A
47
#define NAPALM_CRC  (int32_t)0x3DE1589A
45
#define WW2GI_CRC   (int32_t)0x907B82BF
48
#define WW2GI_CRC   (int32_t)0x907B82BF
Line 58... Line 61...
58
        int32_t size;
61
        int32_t size;
59
        int32_t game;
62
        int32_t game;
60
    int32_t dependency;
63
    int32_t dependency;
61
    char *scriptname;
64
    char *scriptname;
62
    char *defname;
65
    char *defname;
-
 
66
    void (*postprocessing)(void);
63
        struct grpfile *next;
67
        struct grpfile *next;
64
} grpfile_type;
68
} grpfile_type;
65
69
66
// extern struct grpfile grpfiles[NUMGRPFILES];
-
 
67
extern struct grpfile internalgrpfiles[NUMGRPFILES];
70
extern struct grpfile internalgrpfiles[];
68
extern struct grpfile *foundgrps;
71
extern struct grpfile *foundgrps;
69
extern struct grpfile *listgrps;
72
extern struct grpfile *listgrps;
70
73
71
extern struct grpfile * FindGroup(int32_t crcval);
74
extern struct grpfile * FindGroup(int32_t crcval);
72
int32_t ScanGroups(void);
75
int32_t ScanGroups(void);