home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Entertainment / luff stuff / luff⁄def.h < prev    next >
Encoding:
Text File  |  1985-11-08  |  604 b   |  36 lines  |  [TEXT/MACA]

  1. # define TH_3 1
  2. # define TH_4 2
  3. # define FORCED 3
  4. # define READY 4
  5.  
  6. # define LOGIC char
  7. # define TRUE 1
  8. # define FALSE 0
  9.  
  10. /* ZIZEs are different from unixluff */
  11. # define XZIZE 30
  12. # define YZIZE 18
  13. # define BZIZE 540 /* YZIZE * XZIZE */
  14.  
  15. int width;
  16. int height;
  17.  
  18. char board[XZIZE][YZIZE];
  19. short int play[XZIZE][YZIZE];
  20. short int playcnt;
  21.  
  22. char point[XZIZE][YZIZE];
  23. char p_hvlr[4][XZIZE][YZIZE];
  24. char threat[2][XZIZE][YZIZE];
  25. char t_hvlr[4][2][XZIZE][YZIZE];
  26. short int thtcnt[2][5];
  27. char thtmax[2];
  28. char hvlr[4][18];
  29.  
  30. unsigned char automat[][13];
  31. char tmppts[4][2][17];
  32. char tmptht[4][2][17];
  33.  
  34. LOGIC slf;
  35.  
  36.