mojodds.h
author Ryan C. Gordon <icculus@icculus.org>
Tue, 10 May 2011 01:33:25 -0400
changeset 9 50157857e7d8
parent 6 b693c592d4ab
child 10 1e5f3d130b53
permissions -rw-r--r--
Deal with uncompressed data, and pass GL format value. This is sort of a mess, I'll need to rework this.
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,
9
50157857e7d8 Deal with uncompressed data, and pass GL format value.
Ryan C. Gordon <icculus@icculus.org>
parents: 6
diff changeset
    11
                       const void **_tex, unsigned long *_texlen,
50157857e7d8 Deal with uncompressed data, and pass GL format value.
Ryan C. Gordon <icculus@icculus.org>
parents: 6
diff changeset
    12
                       unsigned int *_glfmt, unsigned int *_w,
50157857e7d8 Deal with uncompressed data, and pass GL format value.
Ryan C. Gordon <icculus@icculus.org>
parents: 6
diff changeset
    13
                       unsigned int *_h);
4
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    14
6
b693c592d4ab Added #ifdef __cplusplus blocks.
Ryan C. Gordon <icculus@icculus.org>
parents: 5
diff changeset
    15
#ifdef __cplusplus
b693c592d4ab Added #ifdef __cplusplus blocks.
Ryan C. Gordon <icculus@icculus.org>
parents: 5
diff changeset
    16
}
b693c592d4ab Added #ifdef __cplusplus blocks.
Ryan C. Gordon <icculus@icculus.org>
parents: 5
diff changeset
    17
#endif
b693c592d4ab Added #ifdef __cplusplus blocks.
Ryan C. Gordon <icculus@icculus.org>
parents: 5
diff changeset
    18
4
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    19
#endif
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    20
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    21
/* end of mojodds.h ... */
f7af15116713 Added mojodds.h
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    22