added support for opening RLE compressed TGA images

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1076 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matthew Wilber 2002-09-18 00:14:38 +00:00
parent f236fcd129
commit 1538999d55

View File

@ -124,6 +124,8 @@ struct TGAImageSpec {
#define TGA_DESC_BITS76 0xc0 #define TGA_DESC_BITS76 0xc0
#define TGA_DESC_ALPHABITS 0x0f #define TGA_DESC_ALPHABITS 0x0f
#define TGA_RLE_PACKET_TYPE_BIT 0x80
#define TGA_HEADERS_SIZE 18 #define TGA_HEADERS_SIZE 18
class TGATranslator : public BTranslator { class TGATranslator : public BTranslator {