#ifndef MANDEL_H
#define MANDEL_H

#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif

struct DrawMsg {
	UBYTE *memptr;
	ULONG offsetx;
	ULONG offsety;
	ULONG xsize;
	ULONG ysize;
	UWORD bytesperrow;
	UWORD bytesperpix;
	UWORD colormodel;
};

struct Rect {
	double x0,y0,x1,y1;
};

void DrawMandelbrot(struct Rect *view, struct DrawMsg *gfport, int N);
void PPCDrawMandelbrot(struct Rect *view, struct DrawMsg *gfxport, int N);

//extern Rect view;
//extern struct DrawMsg *gfxport;
//extern int N;

#endif
