1 ! ==============================================================================
2 ! LINKLPA: Link declarations of common properties and attributes.
4 ! Supplied for use with Inform 6 -- Release 6.12.3 -- Serial number 190320
6 ! Copyright Graham Nelson 1993-2004 and David Griffith 2012-2019
8 ! This file is free software: you can redistribute it and/or modify
9 ! it under the terms of the GNU Affero General Public License as
10 ! published by the Free Software Foundation, either version 3 of the
11 ! License, or (at your option) any later version.
13 ! This file is distributed in the hope that it will be useful, but
14 ! WITHOUT ANY WARRANTY; without even the implied warranty of
15 ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ! Affero General Public License for more details.
18 ! You should have received a copy of the GNU Affero General Public
19 ! License along with this program. If not, see
20 ! https://gnu.org/licenses/
22 ! This file is automatically Included in your game file by "parser".
23 ! ==============================================================================
27 ! ------------------------------------------------------------------------------
28 ! Some VM-specific constants.
29 ! (WORDSIZE and TARGET_XXX are defined by the compiler.)
30 ! ------------------------------------------------------------------------------
33 Constant NULL = $ffff;
34 Constant WORD_HIGHBIT = $8000;
35 #Ifnot; ! TARGET_GLULX
36 Constant NULL = $ffffffff;
37 Constant WORD_HIGHBIT = $80000000;
40 ! ------------------------------------------------------------------------------
41 ! The common attributes and properties.
42 ! ------------------------------------------------------------------------------
46 #Iffalse (animate == 0);
47 Message error "Please move your Attribute declarations after the Include ~Parser~ line:
48 otherwise it will be impossible to USE_MODULES";
52 Attribute absent; Attribute non_floating alias absent;
74 Attribute transparent;
84 ! ------------------------------------------------------------------------------
86 Property additive before NULL;
87 Property additive after NULL;
88 Property additive life NULL;
104 #Iffalse (7 >= n_to);
105 Message error "Please move your Property declarations after the Include ~Parser~ line:
106 otherwise it will be impossible to USE_MODULES";
115 Property add_to_scope;
116 Property list_together;
117 Property react_before;
118 Property react_after;
120 Property additive orders;
124 Property when_closed;
127 Property description;
128 Property additive describe NULL;
129 Property article "a";
133 Property found_in; ! For fiddly reasons this can't alias
137 Property additive time_out NULL;
139 Property additive each_turn NULL;
141 Property capacity 100;
143 Property short_name 0;
144 Property short_name_indef 0;
145 Property parse_name 0;
148 Property inside_description;
150 ! ==============================================================================