2012-11-05 02:49:08 +00:00
|
|
|
#ifdef EXTERNC
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2007-01-29 01:18:16 +00:00
|
|
|
//High-level (easy) picture loading function:
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void kpzload (const char *, intptr_t *, int32_t *, int32_t *, int32_t *);
|
2007-01-29 01:18:16 +00:00
|
|
|
//Low-level PNG/JPG functions:
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void kpgetdim (const char *, int32_t, int32_t *, int32_t *);
|
|
|
|
extern int32_t kprender (const char *, int32_t, intptr_t, int32_t, int32_t, int32_t, int32_t, int32_t);
|
2007-01-29 01:18:16 +00:00
|
|
|
|
|
|
|
//ZIP functions:
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t kzaddstack (const char *);
|
2007-01-29 01:18:16 +00:00
|
|
|
extern void kzuninit ();
|
2014-02-10 10:59:42 +00:00
|
|
|
extern intptr_t kzopen (const char *);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t kzread (void *, int32_t);
|
|
|
|
extern int32_t kzfilelength ();
|
|
|
|
extern int32_t kzseek (int32_t, int32_t);
|
|
|
|
extern int32_t kztell ();
|
|
|
|
extern int32_t kzgetc ();
|
|
|
|
extern int32_t kzeof ();
|
2007-01-29 01:18:16 +00:00
|
|
|
extern void kzclose ();
|
|
|
|
|
|
|
|
extern void kzfindfilestart (const char *); //pass wildcard string
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t kzfindfile (char *); //you alloc buf, returns 1:found,0:~found
|
2007-01-29 01:18:16 +00:00
|
|
|
|
2012-11-05 02:49:08 +00:00
|
|
|
|
|
|
|
#ifdef EXTERNC
|
|
|
|
}
|
|
|
|
#endif
|