view Gui/bitmap/tga/tga.h @ 4346:d45744794581

vo_zr no more depends on libjpeg - it requires libavcodec now. patch by Rik Snel <rsnel@cube.dyndns.org>
author arpi
date Sat, 26 Jan 2002 00:47:26 +0000
parents dee4b2ea5e5b
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