/************************************************************************
*  Version 3.00  MANDELBROT - Self-Squared Dragon Generator  29-May-86  *
*  Commodore Amiga        Global Data References             GLOBALS.H  *
*************************************************************************
*         Copyright (c) 1986, Robert S. French and R. J. Mical          *
* --------------------------------------------------------------------- *
*  This program has been placed in the public domain.  A limited        *
*  license is hereby granted for the unlimited use and distribution of  *
*  this program, provided it is not used for commercial or profit-      *
*  making purposes.  Thank you.                                         *
*************************************************************************
*  Author information:            | Name:   R. J. Mical                 *
*                                 | USnail: Commodore-Amiga, Inc.       *
*  Name:   Robert S. French       |         983 University Avenue       *
*  USnail: 2740 Frankfort Avenue  |         Los Gatos, CA  95030        *
*          Louisville, KY  40206  \-------------------------------------*
*  Phone:  (502) 897-5096              UUCP: ihnp4!ptsfa!well!french    *
*  ARPA:   French#Robert%d@LLL-MFE or RFrench@MIT-MULTICS               *
*************************************************************************
*  Please send any comments, suggestions, or bugs to one of the above   *
*  addresses.                                                           *
************************************************************************/

#ifndef DOUBLEPREC
extern float cnvf();
#endif

extern
int      MathBase,            MathTransBase,
         max_x,               max_y,               max_mem_y,
         max_mem,             max_count,           color_inc,
         color_offset,        color_set,           color_mode,
         color_div,           color_inset,         func_num,
         v_starty,            modified,            want_read,
         threed_stat,         title_displayed;

extern
BOOL     SettingCenter,       SettingBoxSize,      SetBoxProportional;

extern
struct   GfxBase              *GfxBase;

extern
struct   IntuitionBase        *IntuitionBase;

extern
struct   IconBase             *IconBase;

extern
USHORT   UserPalette[32],     ZoomCenterX,         ZoomCenterY,
         ZoomBoxSizeX,        ZoomBoxSizeY,        ZoomBoxStartX,
         ZoomBoxStartY;

extern
long     v_offset;

extern
UWORD    *color_table,        *v_mand_store;

extern
FILE     *console,            *v_fp,               *redir_fp;

#ifdef DOUBLEPREC

extern
double   start_r,             end_r,               start_i,
         end_i;

#else

extern union kludge {
   float f;
   int i;
}        start_r,             end_r,               start_i,
         end_i;

#endif

extern
struct   Window               *w,                  *w2,
                              *ColorWindow;
extern
struct   Screen               *screen;

extern
struct   IntuiMessage         *message;

extern
struct   TextAttr             TextFont;

extern  
struct   NewScreen            ns;

extern  
struct   NewWindow            nw,aw,ColorNewWindow;

extern
struct   Menu                 MainMenu[MENU_COUNT];

extern 
USHORT RGBData[];

extern
struct   RastPort             *rp, *rp2;

extern
struct   ViewPort             *vp;

extern
struct Image ColorRGBImage;

extern
SHORT ClusterBorderVectors[];

extern
struct Border ColorClusterBorder;

extern
struct IntuiText ColorClusterText[];

extern
struct Image ColorPropsImages[];

extern
struct Image SuperColorImages[];
 
extern 
struct PropInfo ColorPropsInfos[];

extern
struct Gadget ColorTemplateGadgets[];
