raze/polymer/build/include/kplib.h
qbix79 0189cf6064 Most functions in kplib.c now use a intptr_t for (da)frameplace
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
2008-05-23 10:00:43 +00:00

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