home *** CD-ROM | disk | FTP | other *** search
- /*--------------------------------*/
- /* Sounder.h */
- /*--------------------------------*/
- /* Includes: windowrec structure def., plus globals.
- Most of this is not needed for Sounder.c, I'm too lazy to delete it.
- */
- /*--------------------------------*/
- /* Global Variables. */
- /*--------------------------------*/
- extern OBJECT *menu1;
- extern int phys_handle;
- extern int gl_apid;
-
- #define MOFF graf_mouse(256,0L);
- #define MON graf_mouse(257,0L);
- #define CLEAR v_clrwk(handle);
- #define POINT graf_mouse(POINT_HAND,0L);
- #define ARR graf_mouse(ARROW,0L);
- #define BEE graf_mouse(HOURGLASS,0L);
- #define DING Cconout(0x07); /* sounds a bell */
-
- int dumdummy;
-
- #define WAITDOWN evnt_button(1,1,1,&dumdummy,&dumdummy,&dumdummy,&dumdummy);
- #define WAITUP evnt_button(1,1,0,&dumdummy,&dumdummy,&dumdummy,&dumdummy);
-
- #ifndef TRUE
- #define TRUE 1
- #define FALSE 0
- #endif
-
- #ifndef NULL
- #define NULL 0L
- #endif
-
- #define WORKSIZE 1
- #define BORDSIZE 0
-
- #define min(a, b) ((a < b)? a : b)
- #define max(a, b) ((a > b)? a : b)
-
-
- /*
- Declare the GEM specific variables required by the ROM routines.
- */
-
- extern int contrl[12];
- extern int intin[128], ptsin[128];
- extern int intout[128], ptsout[128];
-
- /*
- Functions
- */
- extern char *malloc();
-