mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
0189cf6064
kzopen and kzipopen now retrun a intptr_t as this actually a FILE* General 64 bit fixss to cache1d.c. Some cast correction for polymost hrp works now in 64 bit if you make md3load return NULL. git-svn-id: https://svn.eduke32.com/eduke32@737 1a8010ca-5511-0410-912e-c29ae57300e0
21 lines
719 B
C
21 lines
719 B
C
//High-level (easy) picture loading function:
|
|
extern void kpzload (const char *, int *, intptr_t *, int *, int *);
|
|
//Low-level PNG/JPG functions:
|
|
extern void kpgetdim (const char *, int, int *, int *);
|
|
extern int kprender (const char *, int, intptr_t, int, int, int, int, int);
|
|
|
|
//ZIP functions:
|
|
extern int kzaddstack (const char *);
|
|
extern void kzuninit ();
|
|
extern int kzopen (const char *);
|
|
extern int kzread (void *, int);
|
|
extern int kzfilelength ();
|
|
extern int kzseek (int, int);
|
|
extern int kztell ();
|
|
extern int kzgetc ();
|
|
extern int kzeof ();
|
|
extern void kzclose ();
|
|
|
|
extern void kzfindfilestart (const char *); //pass wildcard string
|
|
extern int kzfindfile (char *); //you alloc buf, returns 1:found,0:~found
|
|
|