mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 06:42:26 +00:00
try three :/
This commit is contained in:
parent
5a889df497
commit
1362736e55
1 changed files with 6 additions and 6 deletions
|
@ -53,18 +53,18 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct _TargaHeader {
|
typedef struct _TargaHeader {
|
||||||
__unaligned unsigned char id_length __attribute__((packed));
|
unsigned char id_length __attribute__((packed));
|
||||||
__unaligned unsigned char colormap_type __attribute__((packed));
|
unsigned char colormap_type __attribute__((packed));
|
||||||
__unaligned unsigned char image_type __attribute__((packed));
|
unsigned char image_type __attribute__((packed));
|
||||||
__unaligned unsigned short colormap_index __attribute__((packed));
|
__unaligned unsigned short colormap_index __attribute__((packed));
|
||||||
__unaligned unsigned short colormap_length __attribute__((packed));
|
__unaligned unsigned short colormap_length __attribute__((packed));
|
||||||
__unaligned unsigned char colormap_size __attribute__((packed));
|
unsigned char colormap_size __attribute__((packed));
|
||||||
__unaligned unsigned short x_origin __attribute__((packed));
|
__unaligned unsigned short x_origin __attribute__((packed));
|
||||||
__unaligned unsigned short y_origin __attribute__((packed));
|
__unaligned unsigned short y_origin __attribute__((packed));
|
||||||
__unaligned unsigned short width __attribute__((packed));
|
__unaligned unsigned short width __attribute__((packed));
|
||||||
__unaligned unsigned short height __attribute__((packed));
|
__unaligned unsigned short height __attribute__((packed));
|
||||||
__unaligned unsigned char pixel_size __attribute__((packed));
|
unsigned char pixel_size __attribute__((packed));
|
||||||
__unaligned unsigned char attributes __attribute__((packed));
|
unsigned char attributes __attribute__((packed));
|
||||||
} TargaHeader;
|
} TargaHeader;
|
||||||
|
|
||||||
#if defined (__BORLANDC__) || defined (_MSC_VER)
|
#if defined (__BORLANDC__) || defined (_MSC_VER)
|
||||||
|
|
Loading…
Reference in a new issue