From 1538999d5514a2d672e01221f10ec6ff29903d68 Mon Sep 17 00:00:00 2001 From: Matthew Wilber Date: Wed, 18 Sep 2002 00:14:38 +0000 Subject: [PATCH] added support for opening RLE compressed TGA images git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1076 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/translators/tgatranslator/TGATranslator.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/add-ons/translators/tgatranslator/TGATranslator.h b/src/add-ons/translators/tgatranslator/TGATranslator.h index 612b5174c8..7d71d0831c 100644 --- a/src/add-ons/translators/tgatranslator/TGATranslator.h +++ b/src/add-ons/translators/tgatranslator/TGATranslator.h @@ -124,6 +124,8 @@ struct TGAImageSpec { #define TGA_DESC_BITS76 0xc0 #define TGA_DESC_ALPHABITS 0x0f +#define TGA_RLE_PACKET_TYPE_BIT 0x80 + #define TGA_HEADERS_SIZE 18 class TGATranslator : public BTranslator {