Debian Codegraph @

terps/tads/tads3/test/data/adv3.h

raw symbols SCIP
1 #charset "us-ascii"
2
3 /*
4 * Copyright (c) 2000, 2002 Michael J. Roberts. All Rights Reserved.
5 *
6 * Please see the accompanying license file, LICENSE.TXT, for information
7 * on using and copying this software.
8 */
9 /*
10 * adv3.h - TADS 3 library main header
11 *
12 * Each source code file in a game should #include this header near the
13 * top of the source file.
14 */
15
16 #ifndef ADV3_H
17 #define ADV3_H
18
19 /* ------------------------------------------------------------------------ */
20 /*
21 * Include the system headers that we depend upon. We include these
22 * here so that each game source file will pick up the same set of
23 * system headers in the same order, which is important for intrinsic
24 * function set definitions.
25 */
26 #include "tads.h"
27 #include "t3.h"
28 #include "vector.h"
29
30
31 /* ------------------------------------------------------------------------ */
32 /*
33 * set the location property
34 */
35 + property location;
36
37
38 /* ------------------------------------------------------------------------ */
39 /*
40 * Transparency levels
41 */
42
43 /* the sense is passed without loss of detail */
44 enum transparent;
45
46 /* the sense is passed, but with a loss of detail associated with distance */
47 enum distant;
48
49 /*
50 * the sense is passed, but with a loss of detail due to an obscuring
51 * layer of material
52 */
53 enum obscured;
54
55 /* the sense is not passed at all */
56 enum opaque;
57
58
59 /* ------------------------------------------------------------------------ */
60 /*
61 * Size classes. An object is large, medium, or small with respect to
62 * each sense; the size is used to determine how well the object can be
63 * sensed at a distance or when obscured.
64 *
65 * What "size" means depends on the sense. For sight, the size
66 * indicates the visual size of the object. For hearing, the size
67 * indicates the loudness of the object.
68 */
69
70 /*
71 * Large - the object is large enough that its details can be sensed
72 * from a distance or through an obscuring medium.
73 */
74 enum large;
75
76 /*
77 * Medium - the object can be sensed at a distance or when obscured, but
78 * not in any detail. Most objects fall into this category. Note that
79 * things that are parts of large objects should normally be medium.
80 */
81 enum medium;
82
83 /*
84 * Small - the object cannot be sensed at a distance at all. This is
85 * appropriate for detailed parts of medium-class objects.
86 */
87 enum small;
88
89
90 /* ------------------------------------------------------------------------ */
91 /*
92 * Listing Options
93 */
94
95 /*
96 * use "tall" notation, which lists objects in a single column, one item
97 * per line (the default is "wide" notation, which creates a sentence
98 * with the object listing)
99 */
100 #define LIST_TALL 0x0001
101
102 /*
103 * in "tall" mode, recursively list the contents of each object; this
104 * flag isn't meaningful unless it is combined with LIST_TALL
105 */
106 #define LIST_RECURSE 0x0002
107
108 /*
109 * use "long list" notation - separates items that contain sublists with
110 * special punctuation, to set off the individual items in the longer
111 * listing from the items in the sublists (for example, separates items
112 * with semicolons rather than commas)
113 */
114 #define LIST_LONG 0x0004
115
116 /* use the group description of items displayed */
117 #define LIST_GROUP 0x0008
118
119 /* this is an inventory listing */
120 #define LIST_INVENT 0x0010
121
122 /*
123 * this is a separate list of items being worn (so "being worn" status
124 * messages should not be shown)
125 */
126 #define LIST_WORN 0x0020
127
128 /* this is a listing of the contents of another item previously listed */
129 #define LIST_CONTENTS 0x0040
130
131 /* this listing is in the dark */
132 #define LIST_DARK 0x0080
133
134
135 /* ------------------------------------------------------------------------ */
136 /*
137 * Spelled-out number options
138 */
139
140 /*
141 * Use tens of hundreds rather than thousands if possible - 1950 is
142 * 'nineteen hundred fifty' rather than 'one thousand nine hundred
143 * fifty'. This only works if the number (not including the millions
144 * and billions) is in the range 1,100 to 9,999, because we don't want
145 * to say something like 'one hundred twenty hundred' for 12,000.
146 */
147 #define SPELLINT_TEEN_HUNDREDS 0x0001
148
149 /*
150 * use 'and' before the tens - 125 is 'one hundred and twenty-five'
151 * rather than 'one hundred twenty-five'
152 */
153 #define SPELLINT_AND_TENS 0x0002
154
155 /*
156 * put a comma after each power group - 123456 is 'one hundred
157 * twenty-three thousand, four hundred fifty-six'
158 */
159 #define SPELLINT_COMMAS 0x0004
160
161
162 /* ------------------------------------------------------------------------ */
163 /*
164 * Decimal number format options
165 */
166
167 /*
168 * Use a group separator character between digit groups, using the
169 * default setting in languageGlobals.
170 */
171 #define INTDEC_GROUP_SEP 0x0001
172
173 /*
174 * Explicitly use a comma/period to separate digit groups, overriding
175 * the current languageGlobals setting.
176 */
177 #define INTDEC_GROUP_COMMA 0x0002
178 #define INTDEC_GROUP_PERIOD 0x0004
179
180
181 #endif /* ADV3_H */
182