ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
scrvars.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef CHAMBER_SCRVARS_H
23 #define CHAMBER_SCRVARS_H
24 
25 namespace Chamber {
26 
27 script_byte_vars_t script_byte_vars = {
28  135, /* 0 */
29  0, /* 1 */
30  0, /* 2 */
31  0, /* 3 */
32  0, /* 4 */
33  0, /* 5 */
34  1, /* 6 */
35  0, /* 7 */
36  0, /* 8 */
37  0, /* 9 */
38  0, /* A */
39  0, /* B */
40  0, /* C */
41  0, /* D */
42  0, /* E */
43  0, /* F */
44 
45  0, /* 10 */
46  0, /* 11 */
47  0, /* 12 */
48  0, /* 13 */
49  0, /* 14 */
50  0, /* 15 */
51  0, /* 16 */
52  0, /* 17 */
53  0, /* 18 */
54  0, /* 19 */
55  0, /* 1A */
56  0, /* 1B */
57  0, /* 1C */
58  0, /* 1D */
59  0, /* 1E */
60  0, /* 1F */
61 
62  0, /* 20 */
63  0, /* 21 */
64  0, /* 22 */
65  0, /* 23 */
66  0xB, /* 24 */
67  0, /* 25 */
68  0, /* 26 */
69  0, /* 27 */
70  0, /* 28 */
71  0, /* 29 */
72  0, /* 2A */
73  0, /* 2B */
74  0, /* 2C */
75  0, /* 2D */
76  0, /* 2E */
77  0, /* 2F */
78 
79  0, /* 30 */
80  0, /* 31 */
81  0, /* 32 */
82  0, /* 33 */
83  0, /* 34 */
84  0, /* 35 */
85  0, /* 36 */
86  0, /* 37 */
87  0, /* 38 */
88  0, /* 39 */
89  0, /* 3A */
90  0, /* 3B */
91  0, /* 3C */
92  0, /* 3D */
93  0, /* 3E */
94  0, /* 3F */
95 
96  0, /* 40 */
97  0, /* 41 */
98  0, /* 42 */
99  0, /* 43 */
100  0, /* 44 */
101  0, /* 45 */
102  0, /* 46 */
103  1, /* 47 */
104  0, /* 48 */
105  0xFF, /* 49 */
106  0, /* 4A */
107  0, /* 4B */
108  0, /* 4C */
109  0, /* 4D */
110  0, /* 4E */
111  0, /* 4F */
112 
113  0, /* 50 */
114  0, /* 51 */
115  0, /* 52 */
116  0, /* 53 */
117  2, /* 54 */
118  1, /* 55 */
119  0, /* 56 */
120  0, /* 57 */
121  0, /* 58 */
122  0, /* 59 */
123  63, /* 5A */
124  0, /* 5B */
125  0, /* 5C */
126  0, /* 5D */
127  0, /* 5E */
128  0, /* 5F */
129 
130  0, /* 60 */
131  0, /* 61 */
132  1, /* 62 */
133  0, /* 63 */
134  0, /* 64 */
135  0, /* 65 */
136  0, /* 66 */
137  0, /* 67 */
138  0, /* 68 */
139  0, /* 69 */
140  0, /* 6A */
141  0, /* 6B */
142  0, /* 6C */
143  {0,0,0,0} /* 6D..70 */
144 };
145 
146 script_word_vars_t script_word_vars = {
147  {BE(0x9007), BE(0x9007), BE(0x9007), BE(0x9007), BE(0x9007), BE(0x9007)}, /* 00 .. 0B */
148  BE(0), /* 0C */
149  BE(0), /* 0E */
150  BE(0), /* 10 */
151  {0}, /* 12 */
152  BE(0), /* A8 */
153  BE(0), /* AA */
154  BE(0), /* AC */
155  BE(0), /* AE */
156  BE(0), /* B0 */
157  BE(0), /* B2 */
158  BE(0), /* B4 */
159  BE(0), /* B6 */
160  BE(0) /* B8 */
161 };
162 
163 item_t inventory_items[MAX_INV_ITEMS] = {
164  {0x00, 0, 26, 109, 0xC0D9}, /* 0 : SKULL */
165  {0x00, 0, 26, 109, 0xC0D9}, /* 1 : SKULL */
166  {0x00, 0, 26, 109, 0xC0D9}, /* 2 : SKULL */
167  {ITEMFLG_TRADER|ITEMFLG_08, 0, 26, 109, 0xC0D9}, /* 3 : SKULL */
168  {0x00, 0, 26, 109, 0xC0D9}, /* 4 : SKULL */
169  {0x00, 0, 32, 104, 0xC0ED}, /* 5 : ROPE */
170  {0x00, 0, 32, 104, 0xC0ED}, /* 6 : ROPE */
171  {0x00, 0, 32, 104, 0xC0ED}, /* 7 : ROPE */
172  {ITEMFLG_TRADER, 0, 32, 104, 0xC0ED}, /* 8 : ROPE */
173  {0x00, 0, 32, 104, 0xC0ED}, /* 9 : ROPE */
174  {0x00, 0, 33, 106, 0xC0EE}, /* 10 : STONE FLY */
175  {0x00, 0, 33, 106, 0xC0EE}, /* 11 : STONE FLY */
176  {0x00, 0, 33, 106, 0xC0EE}, /* 12 : STONE FLY */
177  {ITEMFLG_TRADER, 0, 33, 106, 0xC0EE}, /* 13 : STONE FLY */
178  {0x00, 0, 36, 107, 0xC0EC}, /* 14 : GOBLET */
179  {0x00, 0, 36, 107, 0xC0EC}, /* 15 : GOBLET */
180  {0x00, 0, 36, 107, 0xC0EC}, /* 16 : GOBLET */
181  {ITEMFLG_TRADER, 0, 36, 107, 0xC0EC}, /* 17 : GOBLET */
182  {0x00, 0, 37, 108, 0xC0D3}, /* 18 : DAGGER */
183  {0x00, 0, 37, 108, 0xC0D3}, /* 19 : DAGGER */
184  {0x00, 0, 37, 108, 0xC0D3}, /* 20 : DAGGER */
185  {ITEMFLG_TRADER, 0, 37, 108, 0xC0D3}, /* 21 : DAGGER */
186  {0x00, 0, 39, 105, 0xC0D6}, /* 22 : LANTERN */
187  {0x00, 0, 39, 105, 0xC0D6}, /* 23 : LANTERN */
188  {0x00, 0, 39, 105, 0xC0D6}, /* 24 : LANTERN */
189  {ITEMFLG_TRADER, 0, 39, 105, 0xC0D6}, /* 25 : LANTERN */
190  {ITEMFLG_DONTWANT, 0, 30, 136, 0xC126}, /* 26 : BLUE SPIDER */
191  {ITEMFLG_DONTWANT, 0, 30, 136, 0xC126}, /* 27 : BLUE SPIDER */
192  {ITEMFLG_DONTWANT, 0, 30, 136, 0xC126}, /* 28 : BLUE SPIDER */
193  {ITEMFLG_DONTWANT, 0, 30, 136, 0xC126}, /* 29 : BLUE SPIDER */
194  {ITEMFLG_DONTWANT, 0, 31, 135, 0xC126}, /* 30 : RED SPIDER */
195  {ITEMFLG_DONTWANT, 0, 31, 135, 0xC126}, /* 31 : RED SPIDER */
196  {ITEMFLG_DONTWANT, 0, 31, 135, 0xC126}, /* 32 : RED SPIDER */
197  {ITEMFLG_DONTWANT, 0, 31, 135, 0xC126}, /* 33 : RED SPIDER */
198  {ITEMFLG_DONTWANT, kAreaTheTwins, 38, 120, 0xC132}, /* 34 : DIE */
199  {ITEMFLG_DONTWANT, kAreaTheTwins, 38, 120, 0xC132}, /* 35 : DIE */
200  {ITEMFLG_DONTWANT, kAreaTheTwins, 38, 120, 0xC132}, /* 36 : DIE */
201  {ITEMFLG_DONTWANT, kAreaTheTwins, 38, 120, 0xC132}, /* 37 : DIE */
202  {0x00, 0, 28, 132, 0xC0EF}, /* 38 : ZAPSTIK */
203  {0x00, 0, 28, 132, 0xC0EF}, /* 39 : ZAPSTIK */
204  {0x00, 0, 28, 132, 0xC0EF}, /* 40 : ZAPSTIK */
205  {0x00, 0, 28, 132, 0xC0EF}, /* 41 : ZAPSTIK */
206  {0x00, 0, 28, 132, 0xC0EF}, /* 42 : ZAPSTIK */
207  {0x00, 0, 28, 132, 0xC0EF}, /* 43 : ZAPSTIK */
208  {0x00, 0, 28, 132, 0xC0EF}, /* 44 : ZAPSTIK */
209  {0x00, 0, 28, 132, 0xC0EF}, /* 45 : ZAPSTIK */
210  {0x00, 0, 28, 132, 0xC0EF}, /* 46 : ZAPSTIK */
211  {0x00, 0, 28, 132, 0xC0EF}, /* 47 : ZAPSTIK */
212  {0x00, 0, 28, 132, 0xC0EF}, /* 48 : ZAPSTIK */
213  {0x00, 0, 28, 132, 0xC0EF}, /* 49 : ZAPSTIK */
214  {0x00, 0, 28, 132, 0xC0EF}, /* 50 : ZAPSTIK */
215  {0x00, 0, 28, 132, 0xC0EF}, /* 51 : ZAPSTIK */
216  {0x00, 0, 106, 142, 0xC2C0}, /* 52 : MASK */
217  {0x00, 0, 34, 111, 0xC315}, /* 53 : WHISTLE */
218  {0x00, 0, 35, 110, 0xC27E}, /* 54 : EGG */
219  {0x00, 0, 40, 115, 0xC0D3}, /* 55 : SACRIFICIAL BLADE */
220  {ITEMFLG_ROOM, kAreaRefectory, 58, 117, 0xC127}, /* 56 : CHOPPER */
221  {ITEMFLG_TRADER|ITEMFLG_08|ITEMFLG_DONTWANT, 0, 59, 116, 0xC2BD}, /* 57 : STATUE OF ZORQ */
222  {0x00, 0, 105, 167, 0xC2BD}, /* 58 : STATUE OF SAURA */
223  {0x00, 0, 107, 118, 0xC245}, /* 59 : FLASK */
224  {0x00, 0, 108, 119, 0xC244}, /* 60 : BEAN */
225  {0x35, 0, 35, 110, 0xC27E}, /* 61 : EGG */
226  {0x35, 0, 35, 110, 0xC27E}, /* 62 : EGG */
227 };
228 
229 pers_t pers_list[PERS_MAX] = {
230  { 0, 0, 44, 16, 0}, /* 0 : VORT */
231  { kAreaTheMastersOrbit3, 0, 49, 25, kItemRope1}, /* 1 : ASPIRANT */
232  { 0, 0, 49, 89, kItemDagger1}, /* 2 : ASPIRANT */
233  { 0, 0, 49, 153, kItemGoblet1}, /* 3 : ASPIRANT */
234  { 0, 0, 49, 217, kItemFly1}, /* 4 : ASPIRANT */
235  { kAreaPlacatingThePowers, 0, 51, 209, 0}, /* 5 : TURKEY */
236  { kAreaAblutions, 0, 52, 186, 0}, /* 6 : PRIESTESS */
237  { kAreaCell1, 0, 52, 202, 0}, /* 7 : PRIESTESS */
238  { kAreaTheMastersOrbit1, 0, 42, 42, 0}, /* 8 : THE MASTER OF ORDEALS */
239  { kAreaTheConcourse, 0, 43, 52, 0}, /* 9 : PROTOZORQ */
240  { kAreaTheConcourse, 0, 43, 52, 0}, /* 10 : PROTOZORQ */
241  { kAreaTheConcourse, 0, 43, 52, 0}, /* 11 : PROTOZORQ */
242  { kAreaTheConcourse, 0, 43, 52, 0}, /* 12 : PROTOZORQ */
243  { kAreaTheRing2, 0, 43, 52, 0}, /* 13 : PROTOZORQ */
244  { kAreaTheMastersOrbit3, 0, 43, 52, 0}, /* 14 : PROTOZORQ */
245  { kAreaTheMastersOrbit1, 0, 43, 52, 0}, /* 15 : PROTOZORQ */
246  { kAreaTheMastersOrbit1, 0, 43, 53, 0}, /* 16 : PROTOZORQ */
247  { kAreaTheMastersOrbit1, 0, 43, 54, 0}, /* 17 : PROTOZORQ */
248  { kAreaTheMastersOrbit3, 0, 43, 53, 0}, /* 18 : PROTOZORQ */
249  { kAreaDreamsOfSlime, 0, 43, 36, 0}, /* 19 : PROTOZORQ */
250  { kAreaGuardRoom, 0, 43, 53, 0}, /* 20 : PROTOZORQ */
251  { kAreaGuardRoom, 0, 43, 54, 0}, /* 21 : PROTOZORQ */
252  { 0, 0, 43, 55, 0}, /* 22 : PROTOZORQ */
253  { kAreaTheNoose, 0, 45, 130, 0}, /* 23 : THE POORMOUTH */
254  {kAreaInTheScorpionsPresence, 0, 46, 2, 0}, /* 24 : KHELE */
255  { kAreaTheWeb, 0, 47, 194, 0}, /* 25 : THE MISTRESS */
256  { kAreaThePowersOfTheAbyss, 0, 48, 138, 0}, /* 26 : DEILOS */
257  { 99, 0, 53, 236, 0}, /* 27 : SCI FI */
258  { kAreaCavern, 0, 54, 58, 0}, /* 28 : NORMAJEEN */
259  { kAreaCavern, 0, 55, 65, 0}, /* 29 : ASH */
260  { kAreaPlacatingThePowers, 0, 56, 125, 0}, /* 30 : MONKEY */
261  { 0, 0, 57, 166, 0}, /* 31 : HARSSK */
262  { 0, 0, 58, 175, 0}, /* 32 : ZORQ */
263  { 0, 0, 59, 183, 0}, /* 33 : QRIICH */
264  { 0, 0, 44, 8, 0}, /* 34 : VORT */
265  { 0, 0, 44, 0, 0}, /* 35 : VORT */
266  { kAreaPlacatingThePowers, 0, 52, 146, 0}, /* 36 : PRIESTESS */
267  { kAreaTheThresholdOfTruth, 0, 52, 82, 0}, /* 37 : PRIESTESS */
268  { 0, 0, 93, 243, 0}, /* 38 : CADAVER */
269  { kAreaPlacatingThePowers, 0, 51, 209, 0}, /* 39 : TURKEY */
270  { kAreaPlacatingThePowers, 0, 51, 209, 0}, /* 40 : TURKEY */
271 };
272 
273 } // End of namespace Chamber
274 
275 #endif
Definition: anim.h:25