home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / OP2DEV.ZIP / ADVDEF.H < prev    next >
Text File  |  1988-08-25  |  2KB  |  57 lines

  1.  
  2. /*    header ADVDEF.H                        *\
  3. \*    WARNING: GLOBAL variable allocations for adventure    */
  4.  
  5.  
  6. /*
  7.     Database variables
  8. */
  9. struct    trav    travel[MAXTRAV];
  10. FILE    *fd1, *fd2, *fd3, *fd4;
  11. int    actmsg[32];        /* action messages    */
  12.  
  13. /*
  14.     English variables
  15. */
  16. int    verb,object,motion;
  17. char    word1[WORDSIZE],word2[WORDSIZE];
  18.  
  19. /*
  20.     Play variables
  21. */
  22. int    turns;
  23. int    loc,oldloc,oldloc2,newloc;    /* location variables */
  24. int    cond[MAXLOC];        /* location status    */
  25. int    place[MAXOBJ];        /* object location    */
  26. int    fixed[MAXOBJ];        /* second object loc    */
  27. int    visited[MAXLOC];    /* >0 if has been here    */
  28. int    prop[MAXOBJ];        /* status of object    */
  29. int    tally,tally2;        /* item counts        */
  30. int    limit;            /* time limit        */
  31. int    lmwarn;            /* lamp warning flag    */
  32. int    wzdark,closing,closed;    /* game state flags    */
  33. int    holding;        /* count of held items    */
  34. int    detail;            /* LOOK count        */
  35. int    knfloc;            /* knife location    */
  36. int    clock1,clock2,panic;     /* timing variables     */
  37. int    dloc[DWARFMAX];        /* dwarf locations    */
  38. int    dflag;            /* dwarf flag        */
  39. int    dseen[DWARFMAX];    /* dwarf seen flag    */
  40. int    odloc[DWARFMAX];    /* dwarf old locations    */
  41. int    daltloc;        /* alternate appearance    */
  42. int    dkill;            /* dwarves killed    */
  43. int    chloc,chloc2;        /* chest locations    */
  44. int    bonus;            /* to pass to end    */
  45. int    numdie;            /* number of deaths    */
  46. int    object1;        /* to help intrans.    */
  47. int    gaveup;            /* 1 if he quit early    */
  48. int    foobar;            /* fie fie foe foo...    */
  49. int    saveflg;        /* if game being saved    */
  50. int    dbugflg;        /* if game is in debug    */
  51.  
  52.  
  53. int    lastglob;        /* to get space req.    */
  54.  
  55.  
  56. 
  57.