/*
**  $VER: pictures.e V0.8B
**
**  Picture Object Definitions.
**
**  (C) Copyright 1996-1997 DreamWorld Productions.
**      All Rights Reserved
*/

OPT MODULE
OPT EXPORT
OPT PREPROCESS

MODULE 'gms/dpkernel'

->***************************************************************************
->* The picture structure for loading and depacking of pictures.

CONST PICVERSION   = 1,
      TAGS_PICTURE = $FFFB0002

OBJECT picture
   head[1]    :ARRAY OF head
   data       :LONG  -> Source.
   width      :INT   -> Picture width
   bytewidth  :INT   -> Picture byte width
   height     :INT   -> Picture height
   planes     :INT   -> Amount of planes
   amtcolours :LONG  -> Amount of colours.
   palette    :LONG  -> Pointer to Palette.
   scrmode    :INT   -> Intended screen mode for picture.
   scrtype    :INT   -> Interleaved/Chunky/Planar
   options    :LONG  -> GETPALETTE/VIDEOMEM/REMAP...
   file       :LONG  -> Where this picture comes from.
   scrwidth   :INT   -> Screen Width (pixels)
   scrheight  :INT   -> Screen Height (pixels)
ENDOBJECT

CONST PCA_DATA =       $C0000000+12,
      PCA_WIDTH =      $40000000+16,
      PCA_BYTEWIDTH =  $40000000+18,
      PCA_HEIGHT =     $40000000+20,
      PCA_PLANES =     $40000000+22,
      PCA_AMTCOLOURS = $80000000+24,
      PCA_PALETTE =    $C0000000+28,
      PCA_SCRMODE =    $40000000+32,
      PCA_SCRTYPE =    $40000000+34,
      PCA_OPTIONS =    $80000000+36,
      PCA_FILE =       $C0000000+40,
      PCA_SCRWIDTH =   $40000000+44,
      PCA_SCRHEIGHT =  $40000000+46

CONST GETPALETTE = $00000001,
      VIDEOMEM =   $00000002,
      REMAP =      $00000004,
      RESIZEX =    $00000010,
      BLITMEM =    $00000020,
      RESIZEY =    $00000040,
      RESIZE =     $00000050

