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

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