Subversion Repositories eduke32

Rev

Rev 3098 | Rev 3654 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3098 Rev 3116
1
//-------------------------------------------------------------------------
1
//-------------------------------------------------------------------------
2
/*
2
/*
3
Copyright (C) 2010 EDuke32 developers and contributors
3
Copyright (C) 2010 EDuke32 developers and contributors
4

4

5
This file is part of EDuke32.
5
This file is part of EDuke32.
6

6

7
EDuke32 is free software; you can redistribute it and/or
7
EDuke32 is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License version 2
8
modify it under the terms of the GNU General Public License version 2
9
as published by the Free Software Foundation.
9
as published by the Free Software Foundation.
10

10

11
This program is distributed in the hope that it will be useful,
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14

14

15
See the GNU General Public License for more details.
15
See the GNU General Public License for more details.
16

16

17
You should have received a copy of the GNU General Public License
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20
*/
20
*/
21
//-------------------------------------------------------------------------
21
//-------------------------------------------------------------------------
22
22
23
#ifndef __grpscan_h__
23
#ifndef __grpscan_h__
24
#define __grpscan_h__
24
#define __grpscan_h__
25
25
26
// List of internally-known GRP files
26
// List of internally-known GRP files
27
#define NUMGRPFILES 9
27
#define NUMGRPFILES 9
28
struct grpfile {
28
typedef struct grpfile {
29
        const char *name;
29
        const char *name;
30
        int32_t crcval;
30
        int32_t crcval;
31
        int32_t size;
31
        int32_t size;
32
        int32_t game;
32
        int32_t game;
33
        struct grpfile *next;
33
        struct grpfile *next;
-
 
34
} grpfile_type;
-
 
35
-
 
36
extern struct grpfile grpfiles[NUMGRPFILES];
34
} grpfiles[NUMGRPFILES], *foundgrps;
37
extern struct grpfile *foundgrps;
35
38
36
int32_t ScanGroups(void);
39
int32_t ScanGroups(void);
37
void FreeGroups(void);
40
void FreeGroups(void);
38
41
39
#endif
42
#endif
40
 
43