raze-gles/polymer/build/include/kplib.h

22 lines
709 B
C
Raw Normal View History

//High-level (easy) picture loading function:
extern void kpzload (const char *, int *, int *, int *, int *);
//Low-level PNG/JPG functions:
extern void kpgetdim (const char *, int, int *, int *);
extern int kprender (const char *, int, int, 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