/* bitmap.h
 *
 * Headers for bitmap pattern
 */

/* Sun bitmap structure
 */

typedef struct bm_s
{
        int     xres, zres,
                bits_per_pixel,
                map_type, map_len;
        char    *red, *green, *blue, *data;
}
bm_t;


typedef struct bitmap_s
{
	real_t		x_size, z_size;
	surface_t	*surface1, *surface2;
	bm_t		*bm;
}
bitmap_t;

bitmap_t	*BitMapped PROTO((real_t, real_t, surface_t *, bm_t *));
struct pattern_s	*BitMap PROTO((real_t, real_t, surface_t *, bm_t *));
