home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / music / soundexp / sounder.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-10-07  |  1.3 KB  |  55 lines

  1. /*--------------------------------*/
  2. /*     Sounder.h                  */
  3. /*--------------------------------*/
  4. /*     Includes: windowrec structure def., plus globals.
  5.        Most of this is not needed for Sounder.c, I'm too lazy to delete it.
  6. */
  7. /*--------------------------------*/
  8. /*     Global Variables.          */
  9. /*--------------------------------*/
  10. extern OBJECT        *menu1;
  11. extern int            phys_handle;
  12. extern int gl_apid;
  13.  
  14. #define MOFF graf_mouse(256,0L);
  15. #define MON  graf_mouse(257,0L);
  16. #define CLEAR v_clrwk(handle);
  17. #define POINT graf_mouse(POINT_HAND,0L);
  18. #define ARR graf_mouse(ARROW,0L);
  19. #define  BEE graf_mouse(HOURGLASS,0L);
  20. #define DING Cconout(0x07);    /* sounds a bell */
  21.  
  22. int dumdummy;
  23.  
  24. #define WAITDOWN   evnt_button(1,1,1,&dumdummy,&dumdummy,&dumdummy,&dumdummy);
  25. #define WAITUP     evnt_button(1,1,0,&dumdummy,&dumdummy,&dumdummy,&dumdummy);
  26.  
  27. #ifndef TRUE
  28. #define TRUE        1
  29. #define FALSE        0
  30. #endif 
  31.  
  32. #ifndef NULL
  33. #define NULL        0L
  34. #endif 
  35.  
  36. #define WORKSIZE    1
  37. #define BORDSIZE    0
  38.  
  39. #define    min(a, b)    ((a < b)? a : b)
  40. #define max(a, b)    ((a > b)? a : b)
  41.  
  42.  
  43. /*
  44.     Declare the GEM specific variables required by the ROM routines.
  45. */
  46.  
  47. extern int contrl[12];
  48. extern int intin[128],  ptsin[128];
  49. extern int intout[128], ptsout[128];
  50.  
  51. /*
  52.     Functions
  53. */
  54. extern char *malloc();
  55.