#include "..\\ndptiga.h"

#define  EVER      ;;

/* pixel processing modes */
#define  XOR      10
#define  REPLACE   0

/* number of installed patterns */
#define  PMAX     29

/* number of iterations of bouncing objects */
#define  ITERATION_COUNT   1000

/* number of display frames */
#define  NUM_FRAMES  8

/* short forms to get at elements of the configuration structure */
#define  VRES           config.mode.disp_vres
#define  HRES           config.mode.disp_hres
#define  PSIZE          config.mode.disp_psize
#define  COLOR_CLASS    config.mode.color_class

#define  CHAR_HIGH  fontinfo.charhigh
#define  CHAR_WIDE  fontinfo.charwide  

typedef short PAT_ARY[16];  

extern void frame1(), frame2(), frame3(), frame4(),
            frame5(), frame6(), frame7(), frame8(),
            title();

extern CONFIG     config;
extern FONTINFO   fontinfo;
extern PTR        gsp_patterns;
extern PAT_ARY    patterns[PMAX];
extern PATTERN    patn;
