blob: f39e9af1bbd46c5343a4e8b2c868b187baeeceb1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// $Id: grfio.h,v 1.1.1.1 2004/09/10 17:44:49 MagicalTux Exp $
#ifndef _GRFIO_H_
#define _GRFIO_H_
void grfio_init(char*); // GRFIO Initialize
int grfio_add(char*); // GRFIO Resource file add
void* grfio_read(char*); // GRFIO data file read
void* grfio_reads(char*,int*); // GRFIO data file read & size get
int grfio_size(char*); // GRFIO data file size get
int decode_zip(char *dest, unsigned long* destLen, const char* source, unsigned long sourceLen);
int encode_zip(char *dest, unsigned long* destLen, const char* source, unsigned long sourceLen);
// Accessor to GRF filenames
char *grfio_setdatafile(const char *str);
char *grfio_setadatafile(const char *str);
char *grfio_setsdatafile(const char *str);
#endif // _GRFIO_H_
|