



At Start Complete file (136 lines)
Back to List
At End
Browsing linklpa.h
001 ! ==============================================================================
002 ! LINKLPA: Link declarations of common properties and attributes.
003 !
004 ! Supplied for use with Inform 6 -- Release 6/11 -- Serial number 040227
005 !
006 ! Copyright Graham Nelson 1993-2004 but freely usable (see manuals)
007 !
008 ! This file is automatically Included in your game file by "Parser".
009 ! ==============================================================================
010
011 System_file;
012
013 ! ------------------------------------------------------------------------------
014 ! Some VM-specific constants.
015 ! (WORDSIZE and TARGET_XXX are defined by the compiler.)
016 ! ------------------------------------------------------------------------------
017
018 #Ifdef TARGET_ZCODE;
019 Constant NULL = $ffff;
020 Constant WORD_HIGHBIT = $8000;
021 #Ifnot; ! TARGET_GLULX
022 Constant NULL = $ffffffff;
023 Constant WORD_HIGHBIT = $80000000;
024 #Endif; ! TARGET_
025
026 ! ------------------------------------------------------------------------------
027 ! The common attributes and properties.
028 ! ------------------------------------------------------------------------------
029
030 Attribute animate;
031 #Ifdef USE_MODULES;
032 #Iffalse (animate == 0);
033 Message error "Please move your Attribute declarations after the Include ~Parser~ line:
034 otherwise it will be impossible to USE_MODULES";
035 #Endif;
036 #Endif;
037
038 Attribute absent;
039 Attribute clothing;
040 Attribute concealed;
041 Attribute container;
042 Attribute door;
043 Attribute edible;
044 Attribute enterable;
045 Attribute general;
046 Attribute light;
047 Attribute lockable;
048 Attribute locked;
049 Attribute moved;
050 Attribute on;
051 Attribute open;
052 Attribute openable;
053 Attribute proper;
054 Attribute scenery;
055 Attribute scored;
056 Attribute static;
057 Attribute supporter;
058 Attribute switchable;
059 Attribute talkable;
060 Attribute transparent;
061 Attribute visited;
062 Attribute workflag;
063 Attribute worn;
064
065 Attribute male;
066 Attribute female;
067 Attribute neuter;
068 Attribute pluralname;
069
070 ! ------------------------------------------------------------------------------
071
072 Property additive before NULL;
073 Property additive after NULL;
074 Property additive life NULL;
075
076 Property n_to;
077 Property s_to;
078 Property e_to;
079 Property w_to;
080 Property ne_to;
081 Property nw_to;
082 Property se_to;
083 Property sw_to;
084 Property u_to;
085 Property d_to;
086 Property in_to;
087 Property out_to;
088
089 #Ifdef USE_MODULES;
090 #Iffalse (7 >= n_to);
091 Message error "Please move your Property declarations after the Include ~Parser~ line:
092 otherwise it will be impossible to USE_MODULES";
093 #Endif;
094 #Endif;
095
096 Property door_to;
097 Property with_key;
098 Property door_dir;
099 Property invent;
100 Property plural;
101 Property add_to_scope;
102 Property list_together;
103 Property react_before;
104 Property react_after;
105 Property grammar;
106 Property additive orders;
107
108 Property initial;
109 Property when_open;
110 Property when_closed;
111 Property when_on;
112 Property when_off;
113 Property description;
114 Property additive describe NULL;
115 Property article "a";
116
117 Property cant_go;
118
119 Property found_in; ! For fiddly reasons this can't alias
120
121 Property time_left;
122 Property number;
123 Property additive time_out NULL;
124 Property daemon;
125 Property additive each_turn NULL;
126
127 Property capacity 100;
128
129 Property short_name 0;
130 Property short_name_indef 0;
131 Property parse_name 0;
132
133 Property articles;
134 Property inside_description;
135
136 ! ==============================================================================
Last updated 27 February 2004. The librarian in charge of this page is Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight. Please email any comments, suggestions or corrections to cedenqs@inform-fiction.org.