home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume1 / cent / extern.c < prev    next >
C/C++ Source or Header  |  1987-07-01  |  2KB  |  65 lines

  1. #include "cent.h"
  2.  
  3. float version = 1.7;
  4. PEDE *centipede;                /* head of the list */
  5. PEDE *lastpede;                 /* last pede in list */
  6. int numpedes;
  7. char mushw[24][57];             /* Array to store mushrooms */
  8. struct sgttyb origterm;         /* the terminal before */
  9. int inter = 0;
  10. int stopped = 0;
  11. char name[10];
  12. #ifdef WIZARD
  13. int author;
  14. #endif
  15. int gamestarted = 0;
  16. int gameover = 0;
  17. int dead = 0;
  18. COORD guy = {22,28};            /* your coordinates */
  19. COORD shot;                     /* the shot's coordinates */
  20. int fired = 0;                  /* a shot has been fired */
  21. long score = 0;
  22. int board = 1;
  23. int extramen = 3;
  24. long nextman = FREEMAN;
  25. int finished;                   /* time since board ended */
  26. int breeding;                   /* are they breeding */
  27. int breedtime = 300;            /* moves between breeds */
  28. int moves = 0;
  29. int fleahere = 0;               /* a flea is on the screen */
  30. COORD flea;
  31. int fleashot;                   /* was it shot once */
  32. int fleafreq;                   /* a figure which helps determine the
  33.                    frequency of fleas on a board */
  34. int nummushrooms;               /* number of mushrooms in player area */
  35. char lscorpion[] = "\`oo'--/";
  36. char rscorpion[] = "\\--\`oo'";
  37. char *scorppic;
  38. int scorphere = 0;              /* is there a scorpion on the screen */
  39. int scorpthisboard;
  40. int scorpvel;
  41. COORD scorp;
  42. char *spiderpic[] = {
  43.     "/\\  /\\",
  44.     "/\\oo/\\"};
  45. int spiderhere = 0;
  46. COORD spider;
  47. COORD spidervel;
  48. int spiderdir;
  49. int spidcount;
  50. char in_map[128];
  51. #ifdef old_input
  52. char fichar = FIRE,             /* Characters used for movement */
  53.      upchar = UPWARD,           /* commands by the user (settable) */
  54.      dochar = DOWN,
  55.      lechar = LEFT,
  56.      richar = RIGHT,
  57.      ulchar = UPLEFT,
  58.      urchar = UPRIGHT,
  59.      dlchar = DOWNLEFT,
  60.      drchar = DOWNRIGHT,
  61.      flchar = FASTLEFT,
  62.      frchar = FASTRIGHT,
  63.      pachar = PAUSEKEY;
  64. #endif
  65.