view Gui/bitmap/tga/tga.h @ 1991:dee4b2ea5e5b

add gui support to config scripts, and fixed some warning.
author pontscho
date Thu, 27 Sep 2001 17:40:43 +0000
parents d237c5d4b216
children
line wrap: on
line source


#ifndef _MYTGA
#define _MYTGA

#include "../bitmap.h"

typedef struct
{
 char             tmp[12];
 unsigned short   sx;
 unsigned short   sy;
 unsigned char    depth;
 unsigned char    ctmp;
} tgaHeadert;

extern int tgaRead( char * filename,txSample * bf );
extern void tgaWriteBuffer( char * fname,unsigned char * Buffer,int sx,int sy,int BPP );
extern void tgaWriteTexture( char * filename,txSample * bf );


#endif