annotate Gui/bitmap/tga/tga.h @ 6164:aee9c32349a9

applied 64bit patch from Ulrich Hecht <uli at suse dot de>
author alex
date Thu, 23 May 2002 15:40:08 +0000
parents dee4b2ea5e5b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 #ifndef _MYTGA
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3 #define _MYTGA
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 #include "../bitmap.h"
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 char tmp[12];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10 unsigned short sx;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 unsigned short sy;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12 unsigned char depth;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 unsigned char ctmp;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 } tgaHeadert;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16 extern int tgaRead( char * filename,txSample * bf );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17 extern void tgaWriteBuffer( char * fname,unsigned char * Buffer,int sx,int sy,int BPP );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18 extern void tgaWriteTexture( char * filename,txSample * bf );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20
1991
dee4b2ea5e5b add gui support to config scripts, and fixed some warning.
pontscho
parents: 1693
diff changeset
21 #endif