home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume8 / unidraw / part01 / unidraw.h < prev   
C/C++ Source or Header  |  1989-12-19  |  1KB  |  52 lines

  1. static char COPYRIGHTh[]="\
  2.   COPYRIGHT --- COPYRIGHT --- COPYRIGHT --- COPYRIGHT \n\
  3.   This program is copyright 1989 Nils McCarthy. This \
  4.   program may be distributed if it is impossible for \
  5.   the distributor to get a more up-to-date-version of \
  6.   it. \n\
  7.   COPYRIGHT --- COPYRIGHT --- COPYRIGHT --- COPYRIGHT \n\
  8.   ";
  9. static char AUTHORh[]="Copyright 1989 Nils McCarthy";
  10.  
  11. #define pad(i,j) (thepad[i][j])
  12. char *malloc();
  13. #include <sys/file.h>
  14. #include <signal.h>
  15. #include <curses.h>
  16. #include <stdio.h>
  17. #include <strings.h>
  18. #ifndef cbreak()
  19. #define cbreak() crmode()
  20. #endif /* cbreak */
  21. #define BOOL char /* Boolean */
  22. #define WINLINES 14
  23. #define WINCOLS 70
  24. #define WINTOP 5
  25. #define WINLEFT 5
  26. #define PADLINES 102
  27. #define PADCOLS 102
  28. #define SECWINCOORDS WINLINES,WINCOLS,WINTOP,WINLEFT
  29.  
  30. WINDOW *secwin;
  31. int padx,pady,padposx,padposy;
  32.  
  33. BOOL pen,vi;
  34.  
  35. char pench;
  36. char thepad[PADLINES+5][PADCOLS+5];
  37. char up;
  38. char down;
  39. char left;
  40. char right;
  41. char pentoggle;
  42. char up_right;
  43. char down_right;
  44. char up_left;
  45. char down_left;
  46. char penkey;
  47. char redr;
  48. char special;
  49. #define brk brk_key_because_there_is_already_an_brk_variable
  50. char brk;
  51. char suspend;
  52.