home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume12 / mdg / part05 / defstruct.h < prev    next >
Text File  |  1991-03-04  |  1KB  |  69 lines

  1. /*
  2.     MDG Multiuser Dungeon Game -- master structure include file
  3.     
  4.     MDG is Copyright 1990 John C. Gonnerman
  5.     This file is subject to the general MDG 
  6.     copyright statement (see enclosed file, Copyright).
  7.  
  8.     SCCSID @(#) defstruct.h (1.2) created 1/2/91
  9. */
  10.  
  11.  
  12. /* item type/code values. */
  13.  
  14. #define POTION    '!'
  15. #define SCROLL    '?'
  16. #define ARMOR    ']'
  17. #define SHIELD    '['
  18. #define WEAPON    ')'
  19. #define MISSILE    '('
  20. #define OBJECT    '/'
  21. #define NOTE    '"'
  22. #define CASH    '$'
  23. #define CRYSTAL    '*'
  24. #define HIDDEN    '_'
  25.  
  26. #define INAMELEN    20
  27.  
  28. #define MAX_PLAYERS    9
  29.  
  30. #define PNAMELEN    20
  31. #define PMAX_ITEMS    7
  32.  
  33. #define AL_GOOD        1
  34. #define AL_EVIL        0
  35.  
  36.  
  37. #define L_NORTH        0
  38. #define L_SOUTH        1
  39. #define L_EAST        2
  40. #define L_WEST        3
  41. #define L_UP        4
  42. #define L_DOWN        5
  43.  
  44. #define L_GATE        6
  45.  
  46. #define L_NEAST        7
  47. #define L_NWEST        8
  48. #define L_SEAST        9
  49. #define L_SWEST        10
  50.  
  51.  
  52. /* flags for new vs. old items */
  53. #define ITEM_OLD    0
  54. #define ITEM_NEW    1
  55.  
  56.  
  57. /* define pseudo-locations. */
  58. #define LOC_HOME    (-1)
  59. #define LOC_PLAYER    (-2)
  60. #define LOC_NONESUCH    (-3)
  61. #define LOC_TRADER    (-4)
  62. #define LOC_PIT        (-5)
  63.  
  64.  
  65. #define MNAMELEN    20
  66.  
  67.  
  68. /* end of file. */
  69.