File: headers\targa_lc.h

    1 #ifndef TARGA_LC_H
    2 #define TARGA_LC_H
    3 
    4 #define HEADERSIZE 18           /* Size, offsets, and masks for the */
    5 #define O_COMMENTLEN 0          /* TGA file header.  This is not a      */
    6 #define O_MAPTYPE 1                     /* structure to avoid problems with     */
    7 #define O_FILETYPE 2            /* byte-packing and such.                       */
    8 #define O_MAPORG 3
    9 #define O_MAPLEN 5
   10 #define O_MAPSIZE 7
   11 #define O_XORIGIN 8
   12 #define O_YORIGIN 10
   13 #define O_HSIZE 12
   14 #define O_VSIZE 14
   15 #define O_ESIZE 16
   16 #define O_FLAGS 17
   17 #define M_ORIGIN 0x20
   18 
   19 #define T_NODATA 0
   20 #define T_RAWMAP 1
   21 #define T_RAWRGB 2
   22 #define T_RAWMON 3
   23 #define T_RLEMAP 9
   24 #define T_RLERGB 10
   25 #define T_RLEMON 11
   26 
   27 #endif
   28