summaryrefslogtreecommitdiff
path: root/rwsdk/include/d3d8/rtras.h
blob: 0a9064a8a4d0247c28832cb181e4bcba88e98c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/***************************************************************************
 *                                                                         *
 * Module  : rtRAS.h                                                       *
 *                                                                         *
 * Purpose : Load RAS format files                                         *
 *                                                                         *
 **************************************************************************/

#ifndef RTRAS_H
#define RTRAS_H

/**
 * \defgroup rtras RtRAS
 * \ingroup rttool
 *
 * RAS/Sun Raster Fule Format Image Format Toolkit for RenderWare.
 *
 * See also http://www.sworks.com/hollasch/cgindex/formats/sunraster.html
 *
 */

/****************************************************************************
 Includes
 */

/*--- Include files ---*/
#include "rwcore.h"

#include "rtras.rpe"   /* automatically generated header file */

/****************************************************************************
 Function prototypes
 */

#ifdef    __cplusplus
extern "C"
{
#endif                          /* __cplusplus */

extern RwImage *RtRASImageWrite(RwImage * image,
                                const RwChar * imageName);
extern RwImage *RtRASImageRead(const RwChar * imageName);

extern void  _rwImageGammaUnCorrectArrayOfRGBA(RwRGBA * rgbaOut,
                                               RwRGBA * rgbaIn,
                                               RwInt32 numEls);

#ifdef    __cplusplus
}
#endif                          /* __cplusplus */

/* RWPUBLICEND */

#endif /* RTRAS_H */