1 #ifndef COMMON_WADRES_H_INCLUDED
2 #define COMMON_WADRES_H_INCLUDED
4 #include "common/streams.h"
7 #define MAX_RESOURCES 2000
9 int WADRES_addwad (Stream
*r
);
10 int WADRES_rehash (void);
12 int WADRES_find (const char name
[8]);
13 int WADRES_maxids (void);
15 Stream
*WADRES_getbasereader (int id
);
16 long WADRES_getoffset (int id
);
17 long WADRES_getsize (int id
);
18 void WADRES_getname (int id
, char *name
);
19 void WADRES_getdata (int id
, void *data
);
21 #endif /* COMMON_WADRES_H_INCLUDED */