mojodds.h
author Ryan C. Gordon <icculus@icculus.org>
Sun, 08 May 2011 21:34:49 -0400
changeset 6 b693c592d4ab
parent 5 ab7382a45d11
child 9 50157857e7d8
permissions -rw-r--r--
Added #ifdef __cplusplus blocks.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
#ifndef _INCL_MOJODDS_H_
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
#define _INCL_MOJODDS_H_
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
/* !!! FIXME: flesh this file out. */
6
b693c592d4ab Added #ifdef __cplusplus blocks.
Ryan C. Gordon <icculus@icculus.org>
parents: 5
diff changeset
     5
#ifdef __cplusplus
b693c592d4ab Added #ifdef __cplusplus blocks.
Ryan C. Gordon <icculus@icculus.org>
parents: 5
diff changeset
     6
extern "C" {
b693c592d4ab Added #ifdef __cplusplus blocks.
Ryan C. Gordon <icculus@icculus.org>
parents: 5
diff changeset
     7
#endif
4
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     8
5
ab7382a45d11 Added MOJODDS_isDDS().
Ryan C. Gordon <icculus@icculus.org>
parents: 4
diff changeset
     9
int MOJODDS_isDDS(const void *_ptr, const unsigned long _len);
4
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    10
int MOJODDS_getTexture(const void *_ptr, const unsigned long _len,
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    11
                       const void **_tex, unsigned long *_texlen, int *_dxtver,
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    12
                       unsigned int *_w, unsigned int *_h);
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    13
6
b693c592d4ab Added #ifdef __cplusplus blocks.
Ryan C. Gordon <icculus@icculus.org>
parents: 5
diff changeset
    14
#ifdef __cplusplus
b693c592d4ab Added #ifdef __cplusplus blocks.
Ryan C. Gordon <icculus@icculus.org>
parents: 5
diff changeset
    15
}
b693c592d4ab Added #ifdef __cplusplus blocks.
Ryan C. Gordon <icculus@icculus.org>
parents: 5
diff changeset
    16
#endif
b693c592d4ab Added #ifdef __cplusplus blocks.
Ryan C. Gordon <icculus@icculus.org>
parents: 5
diff changeset
    17
4
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    18
#endif
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    19
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    20
/* end of mojodds.h ... */
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    21