linklpa.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. ! ==============================================================================
  2. ! LINKLPA: Link declarations of common properties and attributes.
  3. !
  4. ! Supplied for use with Inform 6 -- Release 6/12 -- Serial number 151220
  5. !
  6. ! Copyright Graham Nelson 1993-2004 and David Griffith 2012-2015
  7. !
  8. ! This code is licensed under either the traditional Inform license as
  9. ! described by the DM4 or the Artistic License version 2.0. See the
  10. ! file COPYING in the distribution archive or at
  11. ! https://github.com/DavidGriffith/inform6lib/
  12. !
  13. ! This file is automatically Included in your game file by "Parser".
  14. ! ==============================================================================
  15. System_file;
  16. ! ------------------------------------------------------------------------------
  17. ! Some VM-specific constants.
  18. ! (WORDSIZE and TARGET_XXX are defined by the compiler.)
  19. ! ------------------------------------------------------------------------------
  20. #Ifdef TARGET_ZCODE;
  21. Constant NULL = $ffff;
  22. Constant WORD_HIGHBIT = $8000;
  23. #Ifnot; ! TARGET_GLULX
  24. Constant NULL = $ffffffff;
  25. Constant WORD_HIGHBIT = $80000000;
  26. #Endif; ! TARGET_
  27. ! ------------------------------------------------------------------------------
  28. ! The common attributes and properties.
  29. ! ------------------------------------------------------------------------------
  30. Attribute animate;
  31. #Ifdef USE_MODULES;
  32. #Iffalse (animate == 0);
  33. Message error "Please move your Attribute declarations after the Include ~Parser~ line:
  34. otherwise it will be impossible to USE_MODULES";
  35. #Endif;
  36. #Endif;
  37. Attribute absent; Attribute non_floating alias absent;
  38. Attribute clothing;
  39. Attribute concealed;
  40. Attribute container;
  41. Attribute door;
  42. Attribute edible;
  43. Attribute enterable;
  44. Attribute general;
  45. Attribute light;
  46. Attribute lockable;
  47. Attribute locked;
  48. Attribute moved;
  49. Attribute on;
  50. Attribute open;
  51. Attribute openable;
  52. Attribute proper;
  53. Attribute scenery;
  54. Attribute scored;
  55. Attribute static;
  56. Attribute supporter;
  57. Attribute switchable;
  58. Attribute talkable;
  59. Attribute transparent;
  60. Attribute visited;
  61. Attribute workflag;
  62. Attribute worn;
  63. Attribute male;
  64. Attribute female;
  65. Attribute neuter;
  66. Attribute pluralname;
  67. ! ------------------------------------------------------------------------------
  68. Property additive before NULL;
  69. Property additive after NULL;
  70. Property additive life NULL;
  71. Property n_to;
  72. Property s_to;
  73. Property e_to;
  74. Property w_to;
  75. Property ne_to;
  76. Property nw_to;
  77. Property se_to;
  78. Property sw_to;
  79. Property u_to;
  80. Property d_to;
  81. Property in_to;
  82. Property out_to;
  83. #Ifdef USE_MODULES;
  84. #Iffalse (7 >= n_to);
  85. Message error "Please move your Property declarations after the Include ~Parser~ line:
  86. otherwise it will be impossible to USE_MODULES";
  87. #Endif;
  88. #Endif;
  89. Property door_to;
  90. Property with_key;
  91. Property door_dir;
  92. Property invent;
  93. Property plural;
  94. Property add_to_scope;
  95. Property list_together;
  96. Property react_before;
  97. Property react_after;
  98. Property grammar;
  99. Property additive orders;
  100. Property initial;
  101. Property when_open;
  102. Property when_closed;
  103. Property when_on;
  104. Property when_off;
  105. Property description;
  106. Property additive describe NULL;
  107. Property article "a";
  108. Property cant_go;
  109. Property found_in; ! For fiddly reasons this can't alias
  110. Property time_left;
  111. Property number;
  112. Property additive time_out NULL;
  113. Property daemon;
  114. Property additive each_turn NULL;
  115. Property capacity 100;
  116. Property short_name 0;
  117. Property short_name_indef 0;
  118. Property parse_name 0;
  119. Property articles;
  120. Property inside_description;
  121. ! ==============================================================================