#ifndef GMS_IMAGE_H
#define GMS_IMAGE_H TRUE

/*
**	$VER: image.h 0.4 (01.11.96)
**	Includes Release xx.xx
**
**	games library image structures
**
**	(C) Copyright 1996 DreamWorld Productions.
**	    All Rights Reserved
*/

/***************************************************************************
** The picture structure for loading and depacking of pictures
*/

#define PCV1 'P','C',0,0,0

  struct Picture
   {
   BYTE  VERSION[4];        /* PCV1 */
   APTR  Stats;             /* Reserved */
   APTR  Data;              /* Destination or Source */
   UWORD Width;             /* Width */
   UWORD Height;            /* Height */
   UWORD Planes;            /* Amount of planes */
   ULONG AmtColours;        /* Amount of colours */
   APTR  Palette;           /* Original palette */
   UWORD ScrMode;           /* Intended screen mode for picture */
   UWORD Type;              /* Interleaved/Chunky/Planar */
   ULONG Options;           /* GETPALETTE/VIDEOMEM/REMAP */
   BYTE  *File;             /* Filename for this picture, if any */
   };

#define GETPALETTE 0x00000001  /* Allocate/Write out the palette */
#define VIDEOMEM   0x00000002  /* Unpack to/Obtain chipram only */
#define REMAP      0x00000004  /* Allow remapping */
#define GETVMODE   0x00000008  /* Get screen mode attributes */

#endif
