home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d546 / 2view.lha / 2View / Source / iff.h < prev    next >
C/C++ Source or Header  |  1991-09-19  |  636b  |  22 lines

  1.  
  2. /*  Bitmap header chunk (BMHD) structure  */
  3. struct BitMapHeader {
  4.     UWORD    w, h;        /*  Width, height in pixels */
  5.     WORD    x, y;        /*  x, y position for this bitmap  */
  6.     UBYTE    nplanes;    /*  # of planes  */
  7.     UBYTE    Masking;
  8.     UBYTE    Compression;    /*  Compression flag */
  9.     UBYTE    pad1;
  10.     UWORD    TransparentColor;
  11.     UBYTE    XAspect, YAspect;   /*    Aspect ratios */
  12.     WORD    PageWidth, PageHeight;
  13. };
  14.  
  15. /* IFF chunk types */
  16. #define ID_ILBM    MAKE_ID('I', 'L', 'B', 'M')
  17. #define ID_BMHD    MAKE_ID('B', 'M', 'H', 'D')
  18. #define ID_CMAP    MAKE_ID('C', 'M', 'A', 'P')
  19. #define ID_BODY    MAKE_ID('B', 'O', 'D', 'Y')
  20. #define ID_CAMG    MAKE_ID('C', 'A', 'M', 'G')
  21.  
  22.