mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-27 08:33:44 +00:00
54 lines
1.6 KiB
C
54 lines
1.6 KiB
C
/***************************************************************************
|
|
* *
|
|
* 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 */
|