/
mojodds.h
22 lines (16 loc) · 522 Bytes
1
2
3
4
#ifndef _INCL_MOJODDS_H_
#define _INCL_MOJODDS_H_
/* !!! FIXME: flesh this file out. */
5
6
7
#ifdef __cplusplus
extern "C" {
#endif
8
9
int MOJODDS_isDDS(const void *_ptr, const unsigned long _len);
10
int MOJODDS_getTexture(const void *_ptr, const unsigned long _len,
11
12
const void **_tex, unsigned long *_texlen,
unsigned int *_glfmt, unsigned int *_w,
13
unsigned int *_h, unsigned int *_miplevels);
14
15
16
#ifdef __cplusplus
}
17
18
#endif
19
#endif
20
21
/* end of mojodds.h ... */