/* DgvCon.h */

/* Part of DgvCon
 * 1990 by Jim Omura
 */

#define STDIN   0
#define STDOUT  1
#define STDERR  2

#define UBYTE unsigned char
#define USHORT unsigned short

/* Program Specific Definitions */

#define DGVBYTES 640 /* 640 bytes per line */
#define IFFBMAX  640 /* Bytes if all 8 bit planes used */
#define IFFWMAX  320 /* 16 bit Words */

typedef struct           /* BitMapHeader */
{
    USHORT   bm_w,
             bm_h,
             bm_x,
             bm_y;
    USHORT   bm_dmwd1,   /* Number bit Planes + masking */
             bm_dmwd2;   /* Compression + 1 pad byte */
    USHORT   bm_trans;   /* Transparent color */
    USHORT   bm_dmwd3;   /* X Aspect + Y Aspect */
    int      bm_pgwidth,
             bm_pgheight;
} IFFBMHDR;

/* End of DgvCon.h */
