00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: pltga.h,v 1.1 2004/05/21 21:02:53 maxx Exp $ 00005 | 00006 | Copyright (c) 1996-2002 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00012 00013 #ifndef INCL_PLTGA 00014 #define INCL_PLTGA 00015 00016 typedef struct _TgaHeader 00017 { 00018 PLBYTE IdLength; // Image ID Field Length 00019 PLBYTE CmapType; // Color Map Type 00020 PLBYTE ImageType; // Image Type 00021 00022 PLWORD CmapIndex; // First Entry Index 00023 PLWORD CmapLength; // Color Map Length 00024 PLBYTE CmapEntrySize; // Color Map Entry Size 00025 00026 PLWORD X_Origin; // X-origin of Image 00027 PLWORD Y_Origin; // Y-origin of Image 00028 PLWORD ImageWidth; // Image Width 00029 PLWORD ImageHeight; // Image Height 00030 PLBYTE PixelDepth; // Pixel Depth 00031 PLBYTE ImagDesc; // Image Descriptor 00032 } TGAHEADER; 00033 00034 // Definitions for image types. 00035 #define TGA_Null 0 00036 #define TGA_Map 1 00037 #define TGA_RGB 2 00038 #define TGA_Mono 3 00039 #define TGA_RLEMap 9 00040 #define TGA_RLERGB 10 00041 #define TGA_RLEMono 11 00042 #define TGA_CompMap 32 00043 #define TGA_CompMap4 33 00044 00045 00046 #endif 00047 /* 00048 /-------------------------------------------------------------------- 00049 | 00050 | $Log: pltga.h,v $ 00051 | Revision 1.1 2004/05/21 21:02:53 maxx 00052 | Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine. 00053 | 00054 | Revision 1.1 2002/11/13 01:58:22 mspindle 00055 | *** empty log message *** 00056 | 00057 | Revision 1.3 2002/02/24 13:00:40 uzadow 00058 | Documentation update; removed buggy PLFilterRotate. 00059 | 00060 | Revision 1.2 2001/10/06 22:03:26 uzadow 00061 | Added PL prefix to basic data types. 00062 | 00063 | Revision 1.1 2001/09/16 19:03:22 uzadow 00064 | Added global name prefix PL, changed most filenames. 00065 | 00066 | Revision 1.3 1999/10/03 18:50:52 Ulrich von Zadow 00067 | Added automatic logging of changes. 00068 | 00069 | 00070 -------------------------------------------------------------------- 00071 */