blob: 19f67149fdc88d7439102c134628e45a25af0e04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#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
|