~ubuntu-branches/ubuntu/vivid/inform/vivid

« back to all changes in this revision

Viewing changes to inform-6.31.1/lib/linklpa.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2008-05-26 22:09:44 UTC
  • mfrom: (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526220944-ba7phz0d1k4vo7wx
Tags: 6.31.1+dfsg-1
* Remove a considerable number of files from the package
  due to unacceptable licensing terms.
* Repair library symlinks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
! ==============================================================================
 
2
!   LINKLPA:  Link declarations of common properties and attributes.
 
3
!
 
4
!   Supplied for use with Inform 6 -- Release 6/11 -- Serial number 040227
 
5
!
 
6
!   Copyright Graham Nelson 1993-2004 but freely usable (see manuals)
 
7
!
 
8
!   This file is automatically Included in your game file by "Parser".
 
9
! ==============================================================================
 
10
 
 
11
System_file;
 
12
 
 
13
! ------------------------------------------------------------------------------
 
14
!   Some VM-specific constants.
 
15
!   (WORDSIZE and TARGET_XXX are defined by the compiler.)
 
16
! ------------------------------------------------------------------------------
 
17
 
 
18
#Ifdef TARGET_ZCODE;
 
19
Constant NULL         = $ffff;
 
20
Constant WORD_HIGHBIT = $8000;
 
21
#Ifnot; ! TARGET_GLULX
 
22
Constant NULL         = $ffffffff;
 
23
Constant WORD_HIGHBIT = $80000000;
 
24
#Endif; ! TARGET_
 
25
 
 
26
! ------------------------------------------------------------------------------
 
27
!   The common attributes and properties.
 
28
! ------------------------------------------------------------------------------
 
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
 
 
38
Attribute absent;
 
39
Attribute clothing;
 
40
Attribute concealed;
 
41
Attribute container;
 
42
Attribute door;
 
43
Attribute edible;
 
44
Attribute enterable;
 
45
Attribute general;
 
46
Attribute light;
 
47
Attribute lockable;
 
48
Attribute locked;
 
49
Attribute moved;
 
50
Attribute on;
 
51
Attribute open;
 
52
Attribute openable;
 
53
Attribute proper;
 
54
Attribute scenery;
 
55
Attribute scored;
 
56
Attribute static;
 
57
Attribute supporter;
 
58
Attribute switchable;
 
59
Attribute talkable;
 
60
Attribute transparent;
 
61
Attribute visited;
 
62
Attribute workflag;
 
63
Attribute worn;
 
64
 
 
65
Attribute male;
 
66
Attribute female;
 
67
Attribute neuter;
 
68
Attribute pluralname;
 
69
 
 
70
! ------------------------------------------------------------------------------
 
71
 
 
72
Property additive before NULL;
 
73
Property additive after  NULL;
 
74
Property additive life   NULL;
 
75
 
 
76
Property n_to;
 
77
Property s_to;
 
78
Property e_to;
 
79
Property w_to;
 
80
Property ne_to;
 
81
Property nw_to;
 
82
Property se_to;
 
83
Property sw_to;
 
84
Property u_to;
 
85
Property d_to;
 
86
Property in_to;
 
87
Property out_to;
 
88
 
 
89
#Ifdef USE_MODULES;
 
90
    #Iffalse (7 >= n_to);
 
91
    Message error "Please move your Property declarations after the Include ~Parser~ line:
 
92
                   otherwise it will be impossible to USE_MODULES";
 
93
    #Endif;
 
94
#Endif;
 
95
 
 
96
Property door_to;
 
97
Property with_key;
 
98
Property door_dir;
 
99
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
! ==============================================================================