home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume11 / bt / part01 / bt.h < prev    next >
Text File  |  1990-12-11  |  1KB  |  50 lines

  1. /* bt.h- declarations and controlling constants for Broken Throne.
  2.    Copyright 1990 by Tom Boutell. */
  3.  
  4. #define _MAPX 16
  5. #define _MAPY 16
  6. #define _SPEED 5
  7. #define _MAXPLAYERS 6
  8. #define _CITYCOST 90
  9. #define _DESTROYCOST 10
  10.  
  11. #define _HEXSTATUS 65
  12. #define _PLAYERSTATUS 66
  13. #define _PLAYERDEAD 67
  14. #define _ACTION 68
  15. #define _TEXT 69
  16. #define _STARTUP 70
  17. #define _END 71
  18. #define _YOUARE 72
  19.  
  20. #define _MOVE 65
  21. #define _RECRUIT 66
  22. #define _QUIT 67
  23. #define _PRIVATE 68
  24. #define _TELLALL 69
  25. #define _DISCONNECT 70
  26. #define _CONSTRUCT 71
  27. #define _DESTROY 72
  28.  
  29. hex map[_MAPX][_MAPY];
  30. player players[20];
  31. int currentplayer;
  32. int totalplayers;
  33. int currenttime;
  34. int living;
  35.  
  36. /* Beware terrain type zero... existing to keep C happy. */
  37.  
  38. void move(); /* location from,location to,int number */
  39. void tellcurrentplayer(); /* char* fmt, variable args */
  40. void setupmap();
  41. void recruit(); /* location at */
  42. int legal(); /* int x,int y */
  43. void killplayer(); /* int player */
  44. char* namelocation(); /* location at */
  45. char* nameplayer(); /* int player */
  46. int cost(); /* int x,y */
  47. void destroy(); /* location at */
  48. void construct(); /* location at */
  49.     
  50.