comparison mm7_data.cpp @ 0:9c0607679772

init
author Ritor1
date Sat, 12 Jan 2013 09:45:18 +0600
parents
children 89240115d392
comparison
equal deleted inserted replaced
-1:000000000000 0:9c0607679772
1 #include "mm7_data.h"
2
3 #include "NPC.h"
4
5
6
7
8 void ErrHR(HRESULT hr, const char *pAPI, const char *pFunction, const char *pFile, int line)
9 {
10 if (SUCCEEDED(hr))
11 return;
12
13 char msg[4096];
14 sprintf(msg, "%s error (%08X) in\n\t%s\nin\n\t%s:%u",
15 pAPI, hr, pFunction, pFile, line);
16
17 char caption[1024];
18 sprintf(caption, "%s error", pAPI);
19
20 MessageBoxA(nullptr, msg, caption, MB_ICONEXCLAMATION);
21 }
22
23
24
25
26 #include "Math.h"
27 struct stru193_math *stru_5C6E00 = new stru193_math;
28
29 #include "MapInfo.h"
30 struct MapStats *pMapStats;
31
32 #include "TurnEngine.h"
33 struct stru262_TurnBased *pTurnEngine = new stru262_TurnBased;
34
35 #include "stru277.h"
36 stru277 pStru277[10];
37 stru277 stru_50CDB4; // idb
38
39 #include "Viewport.h"
40 struct Viewport *pViewport = new Viewport;
41 struct ViewingParams *viewparams = new ViewingParams;
42
43 #include "stru272.h"
44 stru272 array_4FAC10[10];
45
46
47 #include "stru279.h"
48 stru279 stru_51076C;
49
50 #include "stru157.h"
51 stru157 stru_F93E1C; // weak
52 stru157 stru_F93E30; // weak
53 stru157 a5; // idb
54 stru157 a4; // idb
55 stru157 a3; // idb
56
57 #include "stru179.h"
58 stru179 *pStru179;
59
60 #include "stru123.h"
61 stru123 stru_5E4C90;
62
63 #include "stru298.h"
64 stru298 stru_50FE08; // weak
65
66 #include "stru287.h"
67 stru287 stru_5E4C50;
68
69 #include "Autonotes.h"
70 Autonote stru_723720[195]; // weak
71
72 #include "Awards.h"
73 Award pAwards[104];
74
75 #include "stru159.h"
76 stru159 pAnimatedRooms[196];
77
78 #include "stru160.h"
79 stru160 array_4EB8B8[66] =
80 {
81 stru160( 0.0000000f, 0.0000000f, 1.0000000f),
82 stru160( 0.0000000f, 0.3826830f, 0.9238799f),
83 stru160( 0.3826830f, 0.0000000f, 0.9238799f),
84 stru160( 0.4082480f, 0.4082480f, 0.8164970f),
85 stru160( 0.0000000f, 0.7071070f, 0.7071070f),
86 stru160( 0.7071070f, 0.0000000f, 0.7071070f),
87 stru160( 0.4082480f, 0.8164970f, 0.4082480f),
88 stru160( 0.8164970f, 0.4082480f, 0.4082480f),
89 stru160( 0.7071070f, 0.7071070f, 0.0000000f),
90 stru160( 0.0000000f, 0.9238799f, 0.3826830f),
91 stru160( 0.3826830f, 0.9238799f, 0.0000000f),
92 stru160( 0.0000000f, 1.0000000f, 0.0000000f),
93 stru160( 0.9238799f, 0.3826830f, 0.0000000f),
94 stru160( 0.9238799f, 0.0000000f, 0.3826830f),
95 stru160( 1.0000000f, 0.0000000f, 0.0000000f),
96 stru160( 0.0000000f, -0.3826830f, 0.9238799f),
97 stru160( 0.4082480f, -0.4082480f, 0.8164970f),
98 stru160( 0.0000000f, -0.7071070f, 0.7071070f),
99 stru160( 0.8164970f, -0.4082480f, 0.4082480f),
100 stru160( 0.4082480f, -0.8164970f, 0.4082480f),
101 stru160( 0.7071070f, -0.7071070f, 0.0000000f),
102 stru160( 0.9238799f, -0.3826830f, 0.0000000f),
103 stru160( 0.3826830f, -0.9238799f, 0.0000000f),
104 stru160( 0.0000000f, -0.9238799f, 0.3826830f),
105 stru160( 0.0000000f, -1.0000000f, 0.0000000f),
106 stru160(-0.3826830f, 0.0000000f, 0.9238799f),
107 stru160(-0.4082480f, -0.4082480f, 0.8164970f),
108 stru160(-0.7071070f, 0.0000000f, 0.7071070f),
109 stru160(-0.4082480f, -0.8164970f, 0.4082480f),
110 stru160(-0.8164970f, -0.4082480f, 0.4082480f),
111 stru160(-0.7071070f, -0.7071070f, 0.0000000f),
112 stru160(-0.3826830f, -0.9238799f, 0.0000000f),
113 stru160(-0.9238799f, -0.3826830f, 0.0000000f),
114 stru160(-0.9238799f, 0.0000000f, 0.3826830f),
115 stru160(-1.0000000f, 0.0000000f, 0.0000000f),
116 stru160(-0.4082480f, 0.4082480f, 0.8164970f),
117 stru160(-0.8164970f, 0.4082480f, 0.4082480f),
118 stru160(-0.4082480f, 0.8164970f, 0.4082480f),
119 stru160(-0.7071070f, 0.7071070f, 0.0000000f),
120 stru160(-0.9238799f, 0.3826830f, 0.0000000f),
121 stru160(-0.3826830f, 0.9238799f, 0.0000000f),
122 stru160( 0.0000000f, 0.0000000f, -1.0000000f),
123 stru160( 0.0000000f, 0.3826830f, -0.9238799f),
124 stru160( 0.3826830f, 0.0000000f, -0.9238799f),
125 stru160( 0.4082480f, 0.4082480f, -0.8164970f),
126 stru160( 0.0000000f, 0.7071070f, -0.7071070f),
127 stru160( 0.7071070f, 0.0000000f, -0.7071070f),
128 stru160( 0.4082480f, 0.8164970f, -0.4082480f),
129 stru160( 0.8164970f, 0.4082480f, -0.4082480f),
130 stru160( 0.0000000f, 0.9238799f, -0.3826830f),
131 stru160( 0.9238799f, 0.0000000f, -0.3826830f),
132 stru160( 0.0000000f, -0.3826830f, -0.9238799f),
133 stru160( 0.4082480f, -0.4082480f, -0.8164970f),
134 stru160( 0.0000000f, -0.7071070f, -0.7071070f),
135 stru160( 0.8164970f, -0.4082480f, -0.4082480f),
136 stru160( 0.4082480f, -0.8164970f, -0.4082480f),
137 stru160( 0.0000000f, -0.9238799f, -0.3826830f),
138 stru160(-0.3826830f, 0.0000000f, -0.9238799f),
139 stru160(-0.4082480f, -0.4082480f, -0.8164970f),
140 stru160(-0.7071070f, 0.0000000f, -0.7071070f),
141 stru160(-0.4082480f, -0.8164970f, -0.4082480f),
142 stru160(-0.8164970f, -0.4082480f, -0.4082480f),
143 stru160(-0.9238799f, 0.0000000f, -0.3826830f),
144 stru160(-0.4082480f, 0.4082480f, -0.8164970f),
145 stru160(-0.8164970f, 0.4082480f, -0.4082480f),
146 stru160(-0.4082480f, 0.8164970f, -0.4082480f)
147 };
148 stru160 array_4EBBD0[128];
149 __int32 array_4EBBD0_x[128*3] =
150 {
151 0x00000000, 0x00000001, 0x00000002, 0x00000001,
152 0x00000003, 0x00000002, 0x00000001, 0x00000004,
153 0x00000003, 0x00000003, 0x00000005, 0x00000002,
154 0x00000004, 0x00000006, 0x00000003, 0x00000006,
155 0x00000007, 0x00000003, 0x00000006, 0x00000008,
156 0x00000007, 0x00000007, 0x00000005, 0x00000003,
157 0x00000004, 0x00000009, 0x00000006, 0x00000009,
158 0x0000000A, 0x00000006, 0x00000009, 0x0000000B,
159 0x0000000A, 0x0000000A, 0x00000008, 0x00000006,
160 0x00000008, 0x0000000C, 0x00000007, 0x0000000C,
161 0x0000000D, 0x00000007, 0x0000000C, 0x0000000E,
162 0x0000000D, 0x0000000D, 0x00000005, 0x00000007,
163 0x00000000, 0x00000002, 0x0000000F, 0x00000002,
164 0x00000010, 0x0000000F, 0x00000002, 0x00000005,
165 0x00000010, 0x00000010, 0x00000011, 0x0000000F,
166 0x00000005, 0x00000012, 0x00000010, 0x00000012,
167 0x00000013, 0x00000010, 0x00000012, 0x00000014,
168 0x00000013, 0x00000013, 0x00000011, 0x00000010,
169 0x00000005, 0x0000000D, 0x00000012, 0x0000000D,
170 0x00000015, 0x00000012, 0x0000000D, 0x0000000E,
171 0x00000015, 0x00000015, 0x00000014, 0x00000012,
172 0x00000014, 0x00000016, 0x00000013, 0x00000016,
173 0x00000017, 0x00000013, 0x00000016, 0x00000018,
174 0x00000017, 0x00000017, 0x00000011, 0x00000013,
175 0x00000000, 0x0000000F, 0x00000019, 0x0000000F,
176 0x0000001A, 0x00000019, 0x0000000F, 0x00000011,
177 0x0000001A, 0x0000001A, 0x0000001B, 0x00000019,
178 0x00000011, 0x0000001C, 0x0000001A, 0x0000001C,
179 0x0000001D, 0x0000001A, 0x0000001C, 0x0000001E,
180 0x0000001D, 0x0000001D, 0x0000001B, 0x0000001A,
181 0x00000011, 0x00000017, 0x0000001C, 0x00000017,
182 0x0000001F, 0x0000001C, 0x00000017, 0x00000018,
183 0x0000001F, 0x0000001F, 0x0000001E, 0x0000001C,
184 0x0000001E, 0x00000020, 0x0000001D, 0x00000020,
185 0x00000021, 0x0000001D, 0x00000020, 0x00000022,
186 0x00000021, 0x00000021, 0x0000001B, 0x0000001D,
187 0x00000000, 0x00000019, 0x00000001, 0x00000019,
188 0x00000023, 0x00000001, 0x00000019, 0x0000001B,
189 0x00000023, 0x00000023, 0x00000004, 0x00000001,
190 0x0000001B, 0x00000024, 0x00000023, 0x00000024,
191 0x00000025, 0x00000023, 0x00000024, 0x00000026,
192 0x00000025, 0x00000025, 0x00000004, 0x00000023,
193 0x0000001B, 0x00000021, 0x00000024, 0x00000021,
194 0x00000027, 0x00000024, 0x00000021, 0x00000022,
195 0x00000027, 0x00000027, 0x00000026, 0x00000024,
196 0x00000026, 0x00000028, 0x00000025, 0x00000028,
197 0x00000009, 0x00000025, 0x00000028, 0x0000000B,
198 0x00000009, 0x00000009, 0x00000004, 0x00000025,
199 0x00000029, 0x0000002A, 0x0000002B, 0x0000002A,
200 0x0000002C, 0x0000002B, 0x0000002A, 0x0000002D,
201 0x0000002C, 0x0000002C, 0x0000002E, 0x0000002B,
202 0x0000002D, 0x0000002F, 0x0000002C, 0x0000002F,
203 0x00000030, 0x0000002C, 0x0000002F, 0x00000008,
204 0x00000030, 0x00000030, 0x0000002E, 0x0000002C,
205 0x0000002D, 0x00000031, 0x0000002F, 0x00000031,
206 0x0000000A, 0x0000002F, 0x00000031, 0x0000000B,
207 0x0000000A, 0x0000000A, 0x00000008, 0x0000002F,
208 0x00000008, 0x0000000C, 0x00000030, 0x0000000C,
209 0x00000032, 0x00000030, 0x0000000C, 0x0000000E,
210 0x00000032, 0x00000032, 0x0000002E, 0x00000030,
211 0x00000029, 0x0000002B, 0x00000033, 0x0000002B,
212 0x00000034, 0x00000033, 0x0000002B, 0x0000002E,
213 0x00000034, 0x00000034, 0x00000035, 0x00000033,
214 0x0000002E, 0x00000036, 0x00000034, 0x00000036,
215 0x00000037, 0x00000034, 0x00000036, 0x00000014,
216 0x00000037, 0x00000037, 0x00000035, 0x00000034,
217 0x0000002E, 0x00000032, 0x00000036, 0x00000032,
218 0x00000015, 0x00000036, 0x00000032, 0x0000000E,
219 0x00000015, 0x00000015, 0x00000014, 0x00000036,
220 0x00000014, 0x00000016, 0x00000037, 0x00000016,
221 0x00000038, 0x00000037, 0x00000016, 0x00000018,
222 0x00000038, 0x00000038, 0x00000035, 0x00000037,
223 0x00000029, 0x00000033, 0x00000039, 0x00000033,
224 0x0000003A, 0x00000039, 0x00000033, 0x00000035,
225 0x0000003A, 0x0000003A, 0x0000003B, 0x00000039,
226 0x00000035, 0x0000003C, 0x0000003A, 0x0000003C,
227 0x0000003D, 0x0000003A, 0x0000003C, 0x0000001E,
228 0x0000003D, 0x0000003D, 0x0000003B, 0x0000003A,
229 0x00000035, 0x00000038, 0x0000003C, 0x00000038,
230 0x0000001F, 0x0000003C, 0x00000038, 0x00000018,
231 0x0000001F, 0x0000001F, 0x0000001E, 0x0000003C,
232 0x0000001E, 0x00000020, 0x0000003D, 0x00000020,
233 0x0000003E, 0x0000003D, 0x00000020, 0x00000022,
234 0x0000003E, 0x0000003E, 0x0000003B, 0x0000003D,
235 0x00000029, 0x00000039, 0x0000002A, 0x00000039,
236 0x0000003F, 0x0000002A, 0x00000039, 0x0000003B,
237 0x0000003F, 0x0000003F, 0x0000002D, 0x0000002A,
238 0x0000003B, 0x00000040, 0x0000003F, 0x00000040,
239 0x00000041, 0x0000003F, 0x00000040, 0x00000026,
240 0x00000041, 0x00000041, 0x0000002D, 0x0000003F,
241 0x0000003B, 0x0000003E, 0x00000040, 0x0000003E,
242 0x00000027, 0x00000040, 0x0000003E, 0x00000022,
243 0x00000027, 0x00000027, 0x00000026, 0x00000040,
244 0x00000026, 0x00000028, 0x00000041, 0x00000028,
245 0x00000031, 0x00000041, 0x00000028, 0x0000000B,
246 0x00000031, 0x00000031, 0x0000002D, 0x00000041
247 };
248
249 #include "stru220.h"
250 stru220 stru_76E5C8[16384];
251
252 #include "stru176.h"
253 stru176 array_5B5928[100];
254
255 #include "ObjectList.h"
256 struct ObjectList *pObjectList;
257
258 #include "IconFrameTable.h"
259 struct IconFrameTable *pIconsFrameTable;
260
261 struct
262 {
263 struct UIAnimation _pUIAnim_Food;
264 struct UIAnimation _pUIAnim_Gold;
265 struct UIAnimation _pUIAnum_Torchlight;
266 struct UIAnimation _pUIAnim_WizardEye;
267 } _uianim;
268
269 struct UIAnimation *pUIAnim_Food = &_uianim._pUIAnim_Food;
270 struct UIAnimation *pUIAnim_Gold = &_uianim._pUIAnim_Gold;
271 struct UIAnimation *pUIAnum_Torchlight = &_uianim._pUIAnum_Torchlight;
272 struct UIAnimation *pUIAnim_WizardEye = &_uianim._pUIAnim_WizardEye;
273
274 struct UIAnimation *pUIAnims[4] =
275 {
276 &_uianim._pUIAnim_Food,
277 &_uianim._pUIAnim_Gold,
278 &_uianim._pUIAnum_Torchlight,
279 &_uianim._pUIAnim_WizardEye
280 };
281
282
283
284 #include "PlayerFrameTable.h"
285 struct PlayerFrameTable *pPlayerFrameTable; // idb
286
287 #include "MM7.h"
288 stru161 stru_4ECBB8[6];
289 stru289 stru_6BE158;
290 stru329 array_4E4C30[4];
291 stru332 stru_511698;
292 stru333 stru_511718;
293 stru334 array_4E2940[26];
294 stru348 stru_4E1890[13];
295
296
297
298
299 namespace zlib
300 {
301 #include "lib\zlib\zlib.h"
302 int MemUnzip(void *dest, unsigned int *destLen, const void *source, unsigned int sourceLen)
303 {
304 //return uncompress((zlib::Bytef *)dest, (zlib::uLongf *)destLen, (zlib::Bytef *)source, sourceLen);
305 return uncompress((Bytef *)dest, (uLongf *)destLen, (Bytef *)source, sourceLen);
306 return 0;
307 }
308
309 int MemZip(void *dest, unsigned int *destLen, void *source, unsigned int sourceLen)
310 {
311 //return compress((zlib::Bytef *)dest, (zlib::uLongf *)destLen, (zlib::Bytef *)source, sourceLen);
312 return compress((Bytef *)dest, (uLongf *)destLen, (Bytef *)source, sourceLen);
313 return 0;
314 }
315 };
316
317
318
319 #include "stru314.h"
320
321
322
323
324 //-------------------------------------------------------------------------
325 // Data declarations
326
327 int (__cdecl *sprintfex)(char *a1, const char *a2, ...) = nullptr;
328
329 int pWindowList_at_506F50_minus1_indexing[1];
330 int dword_4C9890[10]; // weak
331 int dword_4C9920[16]; // weak
332 _UNKNOWN unk_4D8548; // weak
333 char byte_4D864C; // weak
334 float flt_4D86CC = 1.0f; // weak
335 int dword_4D86D8; // weak
336 int dword_4DAFCC; // weak
337 int (__stdcall *off_4DAFDC)(char); // weak
338 char asc_4DB724[777]; // idb
339 int dword_4DBD94; // weak
340 int dword_4DF380[777]; // weak
341 int dword_4DF390; // weak
342 char Str2[777]; // idb
343 int dword_4DF3A4; // weak
344 char byte_4E185C; // weak
345 char am_byte_4E185D; // weak
346 char byte_4E185E; // weak
347 int amuint_4E1860; // weak
348 int amuint_4E1864; // weak
349 int amuint_4E1868; // weak
350 int amuint_4E186C; // weak
351 int amuint_4E1870; // weak
352 int dword_4E1874; // weak
353 int dword_4E1878; // weak
354 float flt_4D84E8 = 0.0f;
355 int dword_4E187C; // weak
356 int dword_4E1880; // weak
357 int dword_4E1884; // weak
358 int dword_4E1888; // weak
359 char pArcomagePlayer2Name[8];
360 char pArcomagePlayer1Name[8];
361 char pDeckMaster[12];
362 char aIxf[4]; // idb
363 _UNKNOWN unk_4E19FC; // weak
364 char pAreYouSureWishToLeave[32];
365 char asc_4E1A28[4]; // idb
366 char aUsxfs[13];
367 char aLayout_pcx[11]; // weak
368 char aSprites_pcx[12]; // weak
369 char aProblemInBlit_[777]; // idb
370 char aEWorkMsdevMm7M[777]; // idb
371 char aProblemInBli_0[777]; // idb
372 char aD[777]; // idb
373 char asc_4E1AB0[777]; // idb
374 char aWb_0[777]; // idb
375 char a24bitPcxOnly[777]; // idb
376 char Mode[777]; // idb
377 char a16bitPcx[777]; // idb
378 char aUnableToLoadS[777]; // idb
379 char aBitmaps[777]; // idb
380 char aIcons[777]; // idb
381 char aPending[777]; // idb
382 char aCanTFindS[777]; // idb
383 char pDayMoonPhase[28];
384 char *spellbook_texture_filename_suffices[8]; // weak
385 __int16 word_4E1D3A[777]; // weak
386 __int16 pTownPortalBook_xs[6];
387 __int16 pTownPortalBook_ys[6];
388 __int16 pTownPortalBook_ws[6];
389 __int16 pTownPortalBook_hs[6];
390 int dword_4E20D0[777]; // idb
391 char byte_4E2430[777]; // weak
392 char byte_4E2431[777]; // weak
393 unsigned int pLloydsBeaconsPreviewXs[5] = {61, 281, 61, 281, 171};
394 unsigned int pLloydsBeaconsPreviewYs[5] = {84, 84, 228, 228, 155};
395 unsigned int pLloydsBeacons_SomeXs[5] = {59, 279, 59, 279, 169};
396 unsigned int pLloydsBeacons_SomeYs[5] = {82, 82, 226, 226, 153};
397 char aSbwb00[7]; // weak
398 char aW[2]; // idb
399 char aA[2]; // idb
400 char aSD[777]; // idb
401 char aSS03d03dS000S0[777]; // idb
402 char aLuS[777]; // idb
403 char aS_1[777]; // idb
404 char aSbSc02d[777]; // idb
405 char aSbSs02d[777]; // idb
406 char aTabDb[777]; // idb
407 char aTabDa[777]; // idb
408 char aIbM6D[777]; // idb
409 char aIbM6U[777]; // idb
410 char aIbM5D[777]; // idb
411 char aIbM5U[777]; // idb
412 char aPagemask[777]; // idb
413 char aBook[777]; // idb
414 char aSpell_fnt[777]; // idb
415 char aAutonote_fnt[777]; // idb
416 char aBook2_fnt[777]; // idb
417 char pFontFile[777]; // idb
418 char aFontpal[777]; // idb
419 char aMapbordr[777]; // idb
420 char aLloydDD_pcx[777]; // idb
421 char aDataLloydDD_pc[777]; // idb
422 char aLb_bordr[777]; // idb
423 char aTphell[777]; // idb
424 char aTpheaven[777]; // idb
425 char aTpisland[777]; // idb
426 char aTpwarlock[777]; // idb
427 char aTpelf[777]; // idb
428 char aTpharmndy[777]; // idb
429 char aTownport[777]; // idb
430 char aSbquiknot[777]; // idb
431 char aTabAn8a[777]; // idb
432 char aTabAn8b[777]; // idb
433 char aTabAn4a[777]; // idb
434 char aTabAn4b[777]; // idb
435 char aTabAn5a[777]; // idb
436 char aTabAn5b[777]; // idb
437 char aTabAn3a[777]; // idb
438 char aTabAn3b[777]; // idb
439 char aTabAn2a[777]; // idb
440 char aTabAn2b[777]; // idb
441 char aTabAn1a[777]; // idb
442 char aTabAn1b[777]; // idb
443 char aDivbar[777]; // idb
444 char aSbautnot[777]; // idb
445 char aTabwoff[777]; // idb
446 char aTabwon[777]; // idb
447 char aTabeoff[777]; // idb
448 char aTabeon[777]; // idb
449 char aTabsoff[777]; // idb
450 char aTabson[777]; // idb
451 char aTabnoff[777]; // idb
452 char aTabnon[777]; // idb
453 char aZootOff[777]; // idb
454 char aZoomOff[777]; // idb
455 char aZootOn[777]; // idb
456 char aZoomOn[777]; // idb
457 char aSbmap[777]; // idb
458 char aMoon_ful[777]; // idb
459 char aMoon_2[777]; // idb
460 char aMoon_4[777]; // idb
461 char aMoon_new[777]; // idb
462 char aSbdateTime[777]; // idb
463 char aTabAn7a[777]; // idb
464 char aTabAn6a[777]; // idb
465 char aTabAn7b[777]; // idb
466 char aTabAn6b[777]; // idb
467 char aSbplayrnot[777]; // idb
468 char aPending_0[777]; // idb
469 char aUnknown[8]; // weak
470 char aS100110S[777]; // idb
471 char aS100110D[777]; // idb
472 char aS100110DS[777]; // idb
473 char aS100110D02dSS[777]; // idb
474 int pCurrentScreen; // weak
475 char byte_4E28FC; // weak
476 unsigned int uGammaPos;
477 int dword_4E2910[777]; // weak
478 __int16 RightClickPortraitXmin[4];
479 __int16 RightClickPortraitXmax[4];
480 void *off_4E2A12; // weak
481 int dword_4E2A18[5];
482 int dword_4E2A2C[9];
483 int dword_4E2A50[12];
484 int _4E2A80_skills[9];
485 unsigned __int8 pAwardsTextColors[20];
486 unsigned int pHealthBarPos[4] = {22, 137, 251, 366};
487 unsigned int pManaBarPos[4] = {102, 217, 331, 447};
488 char _4E2AD8_ui_colors[72];
489 char _4E2B21_buff_spell_tooltip_colors[80];
490 char byte_4E2B70[777]; // weak
491 char byte_4E2BC8; // weak
492 int pChestSmthn1ByType[8];
493 int pChestSmthn2ByType[8];
494 int pChestWidthsByType[8];
495 int pChestHeightsByType[8];
496 char aSS[777]; // idb
497 char ascii_4E2C54[6];
498 char ascii_4E2C5C[7];
499 char ascii_4E2C68[8];
500 char ascii_4E2C70[9];
501 char ascii_4E2C7C[8];
502 char ascii_4E2C84[11];
503 char ascii_4E2C90[12];
504 char ascii_4E2C9C[8];
505 char ascii_4E2CA4[7];
506 char ascii_4E2CB0[12];
507 char ascii_4E2CBC[12];
508 char ascii_4E2CC8[12];
509 char ascii_4E2CD4[6];
510 char ascii_4E2CDC[11];
511 char ascii_4E2CE8[8];
512 char ascii_4E2CF0[12];
513 char ascii_4E2CFC[6];
514 char ascii_4E2D04[8];
515 char ascii_4E2D0C[8];
516 char ascii_4E2D14[6];
517 char ascii_4E2D1C[12];
518 char ascii_4E2D28[8];
519 char ascii_4E2D30[7];
520 char ascii_4E2D38[5];
521 char ascii_4E2D40[8];
522 char ascii_4E2D48[6];
523 char ascii_4E2D50[12];
524 char ascii_4E2D5C[7];
525 char aMakingItemNumb[777]; // idb
526 char aNpc03d[777]; // idb
527 char format_4E2D80[16];
528 char format_4E2D90[8];
529 char aS03d03dS000_0[777]; // idb
530 char aS03d03dS000[777]; // idb
531 char format_4E2DC8[8];
532 char aS[777]; // idb
533 char aLuSLuS[777]; // idb
534 char byte_4E2DE8; // idb
535 char asc_4E2DFC[3]; // idb
536 char format_4E2E00[2]; // idb
537 char format_4E2E10[28]; // weak
538 char aS100S_0[777]; // idb
539 char aS100S[777]; // idb
540 char aS100D[777]; // idb
541 char aS180[6]; // idb
542 char format_4E2E68[28]; // weak
543 char aS_6[2]; // idb
544 char aSS_0[777]; // idb
545 char aS_5[4]; // idb
546 _UNKNOWN unk_4E2EB8; // weak
547 char string_4E3294[8];
548 char Format[777]; // idb
549 char aMem03i_txt[777]; // idb
550 char aMemory[777]; // idb
551 char aIdSSizeI[16]; // idb
552 __int16 word_4E3C66[777]; // idb
553 int dword_4E455C; // weak
554 int dword_4E4560[6];
555 int dword_4E4578[6];
556 int dword_4E4590[6];
557 int dword_4E45A8[6];
558 char aDDSDDS[777]; // idb
559 char asc_4E45DC[777]; // idb
560 char aD02dSSDSD[777]; // idb
561 char aButtexi1[777]; // idb
562 char aCanTJumpToThat[777]; // idb
563 char aNoMapFoundForS[777]; // idb
564 char global_a2[777]; // idb
565 char aSSS[777]; // idb
566 char aNotInMapStats[17]; // weak
567 char aD47_blv[777]; // idb
568 char aOut15_odm[777]; // idb
569 char Delim[777]; // idb
570 char aGamma_pcx[777];
571 char aQuit1[777]; // idb
572 char aControls1[777]; // idb
573 char aSave1[777]; // idb
574 char aLoad1[777]; // idb
575 char aNew1[777]; // idb
576 char aOptions[777]; // idb
577 char aGammapos[9]; // weak
578 char aBloodsplats[777]; // idb
579 char aTinting[777]; // idb
580 char aColoredLights[777]; // idb
581 char aTurndelta[777]; // idb
582 char aFliponexit[777]; // idb
583 char pKey[777]; // idb
584 char aGraphicsmode[777]; // idb
585 char aShowdamage[777]; // idb
586 char aWalksound[777]; // idb
587 char aCharvoices[777]; // idb
588 char aMusicflag[777]; // idb
589 char aSoundflag[777]; // idb
590 char aOpvdgTn[777]; // idb
591 char aOpvdgCl[777]; // idb
592 char aOpvdgBs[777]; // idb
593 char aOpvdhTn[777]; // idb
594 char aOpvdhCl[777]; // idb
595 char aOpvdhBs[777]; // idb
596 char aOptvid[777]; // idb
597 char aOptkb_2[777]; // idb
598 char aOptkb_1[777]; // idb
599 char aResume1[777]; // idb
600 char aOptkb_h[777]; // idb
601 char aOptkb[777]; // idb
602 char aOption01[777]; // idb
603 char aOption02[777]; // idb
604 char aOption03[777]; // idb
605 char aOption04[777]; // idb
606 char aConvol90[777]; // idb
607 char aConvol80[777]; // idb
608 char aConvol70[777]; // idb
609 char aConvol60[777]; // idb
610 char aConvol50[777]; // idb
611 char aConvol40[777]; // idb
612 char aConvol30[777]; // idb
613 char aConvol20[777]; // idb
614 char aConvol10[777]; // idb
615 char aConvol00[777]; // idb
616 char aCon_smoo[777]; // idb
617 char aCon_arrr[777]; // idb
618 char aCon_arrl[777]; // idb
619 char aCon_32x[777]; // idb
620 char aCon_16x[777]; // idb
621 char aControlbg[777]; // idb
622 char aTitle_pcx[10]; // weak
623 char aEWorkMsdevMm_0[777]; // idb
624 char aDraw_debug_lin[777]; // idb
625 char aGenuineintel[13]; // weak
626 char asc_4E4938[13]; // weak
627 int dword_4E4948[777]; // weak
628 int dword_4E494C[777]; // weak
629 int dword_4E49D0[777]; // weak
630 _UNKNOWN dword_4E49D4; // idb
631 int dword_4E4A18[777]; // weak
632 int dword_4E4A1C[777]; // weak
633 int dword_4E4A40[777]; // weak
634 int dword_4E4A44[777]; // weak
635 char aCentaurhauls[13]; // weak
636 char aCyrixinstead[13]; // weak
637 char aAuthenticamd[13]; // weak
638 float flt_4E4A80[10];
639 char aInvalidPlayerI[777]; // idb
640 char aEWorkMsdevMm_1[777]; // idb
641 char aEWorkMsdevMm_2[777]; // idb
642 char aErrorNoKeyboar[25]; // weak
643 char aInvalidDeviceP[777]; // idb
644 char aInvalidDevic_0[777]; // idb
645 char aEWorkMsdevMm_3[777]; // idb
646 char aErrorNoMouseFo[22]; // weak
647 int papredoll_4E4C28; // weak
648 int paperdoll_4E4C2C; // weak
649 int paperdoll_array_4E4E30[4][17][2];
650 int dword_4E5050[8];
651 int dword_4E5270[8];
652 int dword_4E5490[4][7][2];
653 int paredoll_array_4E54B8[3][14];
654 int paperdoll_array_4E5570[4][10][2];
655 int dword_4E56B0; // weak
656 int dword_4E56B4; // weak
657 int dword_4E57F0[4][7][2];
658 int dword_4E58D0[777]; // weak
659 int dword_4E58D4[777]; // weak
660 int dword_4E5AD0[777]; // weak
661 int dword_4E5AD4[777]; // weak
662 int dword_4E5AE0[8];
663 int pPaperdollLeftHand[8];
664 int pPaperdollRightHand[8];
665 int pPaperdollLeftEmptyHand[8];
666 int dword_4E5C1C[6];
667 int dword_4E5C34[6];
668 char aItem092v3[777]; // idb
669 char aIbCd5D[777]; // idb
670 char aAr_dn_dn[777]; // idb
671 char aAr_dn_up[777]; // idb
672 char aAr_up_dn[777]; // idb
673 char aAr_up_up[777]; // idb
674 char aItem281pc02d[777]; // idb
675 char aPc02dbrd[777]; // idb
676 char aPc23vDlhu[777]; // idb
677 char aPc23vDlh[777]; // idb
678 char aPc23vDrh[777]; // idb
679 char aPc23vDlau[777]; // idb
680 char aPc23vDlad[777]; // idb
681 char aPc23vDbod[777]; // idb
682 char aBackhand[777]; // idb
683 char aBackdoll[777]; // idb
684 char aMagnifB[777]; // idb
685 char aItem3_3dvDa2[777]; // idb
686 char aItem3_3dvDa1[15]; // weak
687 char aItem3_3dvD[13]; // weak
688 char aItem64v1[9]; // weak
689 char aEffpar01[777]; // idb
690 int pPartySpellbuffsUI_XYs[14][2];
691 char byte_4E5DD8[777]; // weak
692 unsigned __int8 pPartySpellbuffsUI_smthns[14];
693 char aSpell27[777]; // idb
694 char aSpell21[777]; // idb
695 char aIsn02d[777]; // idb
696 char aBardataB[777]; // idb
697 char aBardata[8]; // weak
698 char aBardataC[10]; // weak
699 char aLoadprog[777]; // idb
700 char aLoadingD_pcx[777]; // idb
701 int _4E5E50_transui_x; // idb
702 int dword_4E5EC8[777]; // weak
703 int _4E5EE0_transui_y; // idb
704 const char *pHouse_ExitPictures[11];
705 char *_4E6BDC_loc_names[11];
706 char aOutside[777]; // idb
707 char aMer[777]; // idb
708 char aMir[777]; // idb
709 char aSel[777]; // idb
710 char aEle[777]; // idb
711 char aDar[777]; // idb
712 char aLig[777]; // idb
713 char aBod[777]; // idb
714 char aMin[777]; // idb
715 char aSpi[777]; // idb
716 char aEar[777]; // idb
717 char aWat[777]; // idb
718 char aAir[777]; // idb
719 char aFir[777]; // idb
720 char aBan[777]; // idb
721 char aTav[777]; // idb
722 char aTow[777]; // idb
723 char aTra[777]; // idb
724 char aTem[777]; // idb
725 char aBoa[777]; // idb
726 char aSta[777]; // idb
727 char aAlc[777]; // idb
728 char aMag[777]; // idb
729 char aArm[777]; // idb
730 char aWea[777]; // idb
731 char asc_4E7BD4[2]; // idb
732 char a2devents_txt[777]; // idb
733 char aFileSSizeLuBuf[777]; // idb
734 char aGlobal_evt[777]; // idb
735 char aMax_event_text[777]; // idb
736 char aS_str[777]; // idb
737 char aS_evt[777]; // idb
738 char aNoMazeInfoForT[36]; // weak
739 char aC[777]; // idb
740 char aB[3]; // weak
741 char aEvt02d[777]; // idb
742 char aNoTransitionTe[777]; // idb
743 char aEWorkMsdevMm_4[777]; // idb
744 char asc_4E7CD4[777]; // idb
745 char aSS_1[777]; // idb
746 char aNpcIdExceedsMa[777]; // idb
747 char aNpc03u[777]; // idb
748 char aPcout01[777]; // idb
749 char aArbiterEvil[777]; // idb
750 char aArbiterGood[777]; // idb
751 char a0[777]; // idb
752 char aPartyStart[777]; // idb
753 char aNorthStart[12]; // weak
754 char aSouthStart[12]; // weak
755 char aEastStart[11]; // weak
756 char aWestStart[11]; // weak
757 char aUnableToFindDo[777]; // idb
758 char aNwc_blv[777]; // idb
759 char aUnableToOpenS[777]; // idb
760 char aInvalidStringP[777]; // idb
761 char aEWorkMsdevMm_5[777]; // idb
762 char aNull[777]; // idb
763 char aInvalidStrin_0[777]; // idb
764 char aSI[777]; // idb
765 char aS7[4]; // weak
766 char aS6[777]; // idb
767 char aS5[4]; // weak
768 char aS1[777]; // idb
769 char aS3[4]; // weak
770 char aS0[777]; // idb
771 char aS2[4]; // weak
772 char aS4[4]; // weak
773 char aUnableToSaveDs[777]; // idb
774 char aDataDsft_bin[777]; // idb
775 char aPFrames[777]; // idb
776 char aEFrames[777]; // idb
777 char aSFrames[777]; // idb
778 char aMirror7[777]; // idb
779 char aMirror6[777]; // idb
780 char aMirror5[777]; // idb
781 char aMirror4[777]; // idb
782 char aMirror3[777]; // idb
783 char aMirror2[777]; // idb
784 char aMirror1[777]; // idb
785 char aMirror0[777]; // idb
786 char aLuminous[777]; // idb
787 char a1[777]; // idb
788 char aNew[777]; // idb
789 char pMessag[777]; // idb
790 char aCspriteframeta[777]; // idb
791 char aR[777]; // idb
792 char aNew_0[777]; // idb
793 char aUnableToSaveDt[777]; // idb
794 char aDataDtft_bin[777]; // idb
795 char aTxtFrames[777]; // idb
796 char aCtexturefram_1[777]; // idb
797 char aCtexturefram_0[777]; // idb
798 char aCtextureframet[777]; // idb
799 int bWinNT4_0; // weak
800 char aEWorkMsdevMm_6[777]; // idb
801 char aTheVisObjectPo[777]; // idb
802 char aSpriteOutlineC[777]; // idb
803 char aUndefinedCobje[777]; // idb
804 char aEWorkMsdevMm_7[777]; // idb
805 char aGammaControlNo[777]; // idb
806 __int16 word_4E8152[11] = {0, 0, 0, 90, 8, 2, 70, 20, 10, 50, 30};
807 char byte_4E8168[116];
808 char aD3dTextureName[777]; // idb
809 char aLogd3d_txt[777]; // idb
810 char byte_4E8394[204] =
811 {
812 0, 0, 0, 0, 1, 1, 2, 3, 0, 4, 5, 6, 7, 8, 10, 9, 1, 0, 0, 0, 0, 0, 0,
813 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
814 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1,
815 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0,
816 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0,
817 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0,
818 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 1,
819 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
820 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0
821 };
822 stru355 stru_4E82A4 = {0x20, 0x41, 0, 0x20, 0xFF0000, 0xFF00, 0xFF, 0xFF000000};
823 stru355 stru_4EFCBC = {0x20, 0x41, 0, 0x10, 0x7C00, 0x3E0, 0x1F, 0x8000};
824 char byte_4E94D0 = 5; // weak
825 char byte_4E94D1 = 9; // weak
826 char _4E94D2_light_type = 6; // weak
827 char byte_4E94D3 = 10; // weak
828 unsigned int saveload_dlg_xs[2] = {82, 0};
829 unsigned int saveload_dlg_ys[2] = {60, 0};
830 unsigned int saveload_dlg_zs[2] = {460, 640};
831 unsigned int saveload_dlg_ws[2] = {344, 480};
832 int dword_4E98BC_bApplicationActive; // weak
833 char *off_4EB080; // idb
834 char *pTransitionStrings[464];
835 char aAwards_txt[777]; // idb
836 char aScroll_txt[777]; // idb
837 char aMerchant_txt[777]; // idb
838 char aTrans_txt[777]; // idb
839 char aTeacher[777]; // idb
840 char aObelisk[777]; // idb
841 char aSeer[777]; // idb
842 char aStat[777]; // idb
843 char aPotion[777]; // idb
844 char aAutonote_txt[777]; // idb
845 char aQuests_txt[777]; // idb
846 char aNpcdist_txt[777]; // idb
847 char aNpctopic_txt[777]; // idb
848 char aNpctext_txt[777]; // idb
849 char aNpcnews_txt[777]; // idb
850 char aNpcgroup_txt[777]; // idb
851 char aNpcgreet_txt[777]; // idb
852 char aNpcdata_txt[777]; // idb
853 char aNpcprof_txt[777]; // idb
854 char aNpcnames_txt[777]; // idb
855 char aD3dVersionOfRe[777]; // idb
856 char aEWorkMsdevM_16[777]; // idb
857 char aLevels_0[777]; // idb
858 char aDmap[777]; // idb
859 char aAmap[777]; // idb
860 char aTmap[777]; // idb
861 char aHmap[777]; // idb
862 int dword_4EC268[777]; // weak
863 int dword_4EC28C[777]; // weak
864 int dword_4EC2A8; // weak
865 int dword_4EC2AC; // weak
866 char aInvalidGroundT[777]; // idb
867 char aInvalidSkyTexH[777]; // idb
868 char aIdlist[777]; // idb
869 char aOmap[777]; // idb
870 char aCmap[777]; // idb
871 char aMm6OutdoorV1_0[777]; // idb
872 char aI6_odm[777]; // idb
873 char aBlank[777]; // idb
874 char aHm005[777]; // idb
875 char aSky043[777]; // idb
876 char aDefault_odm[777]; // idb
877 char aPlansky3[777]; // idb
878 char aPlanskyD[777]; // idb
879 char a_ddm[5]; // weak
880 char aCanTLoadFile[777]; // idb
881 char aEWorkMsdevM_17[777]; // idb
882 char a_odm[777]; // idb
883 char aUnableToFindSI[777]; // idb
884 char aSpawn[777]; // idb
885 char aBddata[777]; // idb
886 char aTernorm[777]; // idb
887 char aGrastyl[777]; // idb
888 char aOut09_odm[777]; // idb
889 char aNewedges[777]; // idb
890 char aSurfs[777]; // idb
891 char aEdges[777]; // idb
892 char aSpans[777]; // idb
893 char aTheTextureFram[777]; // idb
894 char aEWorkMsdevM_18[777]; // idb
895 char aWtrtyla[777]; // idb
896 char aWtrtyl[777]; // idb
897 char aUnableToSave_1[777]; // idb
898 char aDataDtile_bin[777]; // idb
899 char aTileDescrip[777]; // idb
900 char aTtattr_transit[777]; // idb
901 char aTtattr_nodraw[777]; // idb
902 char aTtattr_wave[777]; // idb
903 char aTtattr_flat[777]; // idb
904 char aTtattr_repulse[777]; // idb
905 char aTtattr_block[777]; // idb
906 char aTtattr_water2[777]; // idb
907 char aTtattr_water[777]; // idb
908 char aTtattr_burn[777]; // idb
909 char aTtsect_dnw[777]; // idb
910 char aTtsect_dse[777]; // idb
911 char aTtsect_dne[777]; // idb
912 char aTtsect_dsw[777]; // idb
913 char aTtsect_de[777]; // idb
914 char aTtsect_dw[777]; // idb
915 char aTtsect_ds[777]; // idb
916 char aTtsect_dn[777]; // idb
917 char aTtsect_wcap[777]; // idb
918 char aTtsect_scap[777]; // idb
919 char aTtsect_ecap[777]; // idb
920 char aTtsect_ncap[777]; // idb
921 char aTtsect_ew_s[777]; // idb
922 char aTtsect_ew_n[777]; // idb
923 char aTtsect_ns_w[777]; // idb
924 char aTtsect_ns_e[777]; // idb
925 char aTtsect_s_w[777]; // idb
926 char aTtsect_s_e[777]; // idb
927 char aTtsect_n_w[777]; // idb
928 char aTtsect_n_e[777]; // idb
929 char aTtsect_ew[777]; // idb
930 char aTtsect_ns[777]; // idb
931 char aTtsect_cros[777]; // idb
932 char aTtsect_xsw1[777]; // idb
933 char aTtsect_xse1[777]; // idb
934 char aTtsect_xnw1[777]; // idb
935 char aTtsect_xne1[777]; // idb
936 char aTtsect_s1[777]; // idb
937 char aTtsect_n1[777]; // idb
938 char aTtsect_w1[777]; // idb
939 char aTtsect_e1[777]; // idb
940 char aTtsect_sw1[777]; // idb
941 char aTtsect_se1[777]; // idb
942 char aTtsect_nw1[777]; // idb
943 char aTtsect_ne1[777]; // idb
944 char aTtsect_speci_6[777]; // idb
945 char aTtsect_speci_5[777]; // idb
946 char aTtsect_speci_4[777]; // idb
947 char aTtsect_speci_3[777]; // idb
948 char aTtsect_speci_2[777]; // idb
949 char aTtsect_speci_1[777]; // idb
950 char aTtsect_speci_0[777]; // idb
951 char aTtsect_special[777]; // idb
952 char aTtsect_base4[777]; // idb
953 char aTtsect_base3[777]; // idb
954 char aTtsect_base2[777]; // idb
955 char aTtsect_base1[777]; // idb
956 char aTtsect_start[777]; // idb
957 char aTtsect_null[777]; // idb
958 char aTttype_roadcit[777]; // idb
959 char aTttype_roads_2[777]; // idb
960 char aTttype_roadsno[777]; // idb
961 char aTttype_roadt_0[777]; // idb
962 char aTttype_roadtro[777]; // idb
963 char aTttype_roads_1[777]; // idb
964 char aTttype_roadswa[777]; // idb
965 char aTttype_roadv_0[777]; // idb
966 char aTttype_roadvol[777]; // idb
967 char aTttype_roads_0[777]; // idb
968 char aTttype_roadsan[777]; // idb
969 char aTttype_roadc_0[777]; // idb
970 char aTttype_roadcra[777]; // idb
971 char aTttype_roadg_0[777]; // idb
972 char aTttype_roadgra[777]; // idb
973 char aTttype_city[777]; // idb
974 char aTttype_swamp[777]; // idb
975 char aTttype_tropica[777]; // idb
976 char aTttype_water[777]; // idb
977 char aTttype_dirt[777]; // idb
978 char aTttype_volcano[777]; // idb
979 char aTttype_sand[777]; // idb
980 char aTttype_snow[777]; // idb
981 char aTttype_cracked[777]; // idb
982 char aTttype_grass[777]; // idb
983 char aTttype_start[777]; // idb
984 char aTttype_null[777]; // idb
985 char aTiletableLoadO[777]; // idb
986 char aTiletableLoadU[777]; // idb
987 char byte_4ECA93[777]; // weak
988 char byte_4ECACF[777]; // weak
989 char byte_4ECB0C[64]; // idb
990 char aError_0[777]; // idb
991 char aCouldnTLoadMap[777]; // idb
992 char aOut02d_odm[777]; // idb
993 char aOut14_odm[777]; // idb
994 char aOut[777]; // idb
995 char aLunSun[777]; // idb
996 char aLunfull[777]; // idb
997 char aLun34[777]; // idb
998 char aLun12[777]; // idb
999 char aLun14[777]; // idb
1000 char aPal03i[777]; // idb
1001 const char *pPlayerPortraitsNames[25] =
1002 {
1003 "pc01-", "pc02", "pc03", "pc04", "pc05-",
1004 "pc06", "pc07", "pc08", "pc09-", "pc10",
1005 "pc11-", "pc12", "pc13", "pc14", "pc15",
1006 "pc16", "pc17-", "pc18", "pc19", "pc20",
1007 "pc21-", "pc22-", "pc23", "pc24-", "pc25-"
1008 };
1009
1010 const char *dlad_texnames_by_face[25] =
1011 {
1012 "pc01lad", "pc02lad", "pc03lad", "pc04lad", "pc05lad", "pc06lad",
1013 "pc07lad", "pc08lad", "pc09lad", "pc10lad", "pc11lad", "pc12lad",
1014 "pc13lad", "pc14lad", "pc15lad", "pc16lad", "pc17lad", "pc18lad",
1015 "pc19lad", "pc20lad", "pc21lad", "pc22lad", "pc23lad", "pc24lad",
1016 "pc25lad"
1017 };
1018 const char *dlau_texnames_by_face[25] =
1019 {
1020 "pc01lau", "pc02lau", "pc03lau", "pc04lau", "pc05lau", "pc06lau",
1021 "pc07lau", "pc08lau", "pc09lau", "pc10lau", "pc11lau", "pc12lau",
1022 "pc13lau", "pc14lau", "pc15lau", "pc16lau", "pc17lau", "pc18lau",
1023 "pc19lau", "pc20lau", "pc21lau", "pc22lau", "pc23lau", "pc24lau",
1024 "pc25lau"
1025 };
1026 const char *dbod_texnames_by_face[25] =
1027 {
1028 "pc01bod", "pc02bod", "pc03bod", "pc04bod", "pc05bod", "pc06bod",
1029 "pc07bod", "pc08bod", "pc09bod", "pc10bod", "pc11bod", "pc12bod",
1030 "pc13bod", "pc14bod", "pc15bod", "pc16bod", "pc17bod", "pc18bod",
1031 "pc19bod", "pc20bod", "pc21bod", "pc22bod", "pc23bod", "pc24bod",
1032 "pc25bod"
1033 };
1034 const char *drh_texnames_by_face[25] =
1035 {
1036
1037 "pc01rh", "pc02rh", "pc03rh", "pc04rh", "pc05rh", "pc06rh",
1038 "pc07rh", "pc08rh", "pc09rh", "pc10rh", "pc11rh", "pc12rh",
1039 "pc13rh", "pc14rh", "pc15rh", "pc16rh", "pc17rh", "pc18rh",
1040 "pc19rh", "pc20rh", "pc21rh", "pc22rh", "pc23rh", "pc24rh",
1041 "pc25rh"
1042 };
1043 const char *dlh_texnames_by_face[25] =
1044 {
1045 "pc01lh", "pc02lh", "pc03lh", "pc04lh", "pc05lh", "pc06lh",
1046 "pc07lh", "pc08lh", "pc09lh", "pc10lh", "pc11lh", "pc12lh",
1047 "pc13lh", "pc14lh", "pc15lh", "pc16lh", "pc17lh", "pc18lh",
1048 "pc19lh", "pc20lh", "pc21lh", "pc22lh", "pc23lh", "pc24lh",
1049 "pc25lh"
1050 };
1051 const char *dlhu_texnames_by_face[25] =
1052 {
1053 "pc01lhu", "pc02lhu", "pc03lhu", "pc04lhu", "pc05lhu", "pc06lhu",
1054 "pc07lhu", "pc08lhu", "pc09lhu", "pc10lhu", "pc11lhu", "pc12lhu",
1055 "pc13lhu", "pc14lhu", "pc15lhu", "pc16lhu", "pc17lhu", "pc18lhu",
1056 "pc19lhu", "pc20lhu", "pc21lhu", "pc22lhu", "pc23lhu", "pc24lhu",
1057 "pc25lhu"
1058 };
1059 short SoundSetAction[192]=
1060 {
1061 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 37, 38, 45, 0, 0, 37, 0, 0, 47, 53, 0, 0, 0, 2, 0, 0, 25, 0, 0, 0, 0, 1, 0, 0, 47, 0,
1062 0, 0, 0, 3, 0, 0, 41, 42, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 5, 0, 0, 21, 22, 23, 24, 45, 6, 0, 0, 47, 0, 0, 0, 0, 7, 0,
1063 0, 43, 48, 0, 0, 0, 8, 0, 0, 38, 0, 0, 0, 0, 9, 0, 0, 39, 0, 0, 0, 0, 13, 0, 0, 37, 38, 0, 0, 0, 23, 0, 0, 25, 0, 0, 0,
1064 0, 0, 0, 0, 37, 38, 45, 0, 0, 25, 0, 0, 25, 0, 0, 0, 0, 26, 0, 0, 38, 47, 0, 0, 0, 27, 0, 0, 41, 42, 0, 0, 0, 28, 0, 0,
1065 25, 0, 0, 0, 0, 0, 0, 0, 51, 0, 0, 0, 0, 30, 0, 0, 25, 0, 0, 0, 0, 29, 0, 0, 27, 0, 0, 0, 0, 32, 33, 0, 37, 38, 0, 0, 0,
1066 34, 0, 0, 53, 0, 0, 0, 0
1067 }; // weak
1068 unsigned char byte_4ED498 = 15; // weak
1069 __int16 pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing[4] = {34, 149, 264, 379};
1070 char byte_4ED970_skill_learn_ability_by_class_table[32][37];
1071 int dword_4EDEA0[777]; // weak
1072 int dword_4EDEB4[777]; // weak
1073 int dword_4EDEC4[777]; // weak
1074 __int16 word_4EDED8[16] = {100, 90, 60, 100, 80, 100, 80, 30, 10, 10, 20, 30, 100, 0, 0, 0};
1075 _UNKNOWN unk_4EDF40; // weak
1076 unsigned int pHiredNPCsIconsOffsetsX[2] = {489, 559};
1077 unsigned int pHiredNPCsIconsOffsetsY[2] = {152, 152};
1078 int dword_4EE07C[2]; // weak
1079 _UNKNOWN unk_4EE084; // weak
1080 __int16 word_4EE088_sound_ids[100] =
1081 {
1082 0, 10000, 10010, 10020, 10030, 10040, 10050, 10060, 10070, 10080,
1083 10090, 10100, 11000, 11010, 11020, 11030, 11040, 11050, 11060, 11070,
1084 11080, 11090, 11100, 12000, 12010, 12020, 12030, 12040, 12050, 12060,
1085 12070, 12080, 12090, 12100, 13000, 13010, 13020, 13030, 13040, 13050,
1086 13060, 13070, 13080, 13090, 13100, 14000, 14010, 14020, 14030, 14040,
1087 14050, 14060, 14070, 14080, 14090, 14100, 15000, 15010, 15020, 15030,
1088 15040, 15050, 15060, 15070, 15080, 15090, 15100, 16000, 16010, 16020,
1089 16030, 16040, 16050, 16060, 16070, 16080, 16090, 16100, 17000, 17010,
1090 17020, 17030, 17040, 17050, 17060, 17070, 17080, 17090, 17100, 18000,
1091 18010, 18020, 18030, 18040, 18050, 18060, 18070, 18080, 18090, 18100
1092 };
1093 short word_4EE150[28] =
1094 {
1095 1, 2, 3, 4, 5, 7, 32, 33, 36, 37, 38, 40, 41, 42, 43, 45, 46,
1096 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 60
1097 };
1098
1099 int dword_4EED78; // weak
1100 _UNKNOWN unk_4EED80; // weak
1101 int dword_4EFA80; // weak
1102 int dword_4EFA84; // weak
1103 void *off_4EFDB0; // weak
1104 int dword_4F031C[777]; // weak
1105 const char *off_4F03B8[] =
1106 {
1107 "", "WEPNTABL", "ARMORY", "MAGSHELF",
1108 "MAGSHELF", "MAGSHELF", "MAGSHELF", "MAGSHELF",
1109 "MAGSHELF", "MAGSHELF", "MAGSHELF", "MAGSHELF",
1110 "MAGSHELF", "MAGSHELF", "MAGSHELF", "MAGSHELF",
1111 "MAGSHELF"
1112 };
1113 __int16 word_4F03FE[777]; // weak
1114 __int16 word_4F0400[777]; // weak
1115 __int16 word_4F0498[777]; // weak
1116 __int16 word_4F0576[777]; // weak
1117 __int16 word_4F0578[777]; // weak
1118 __int16 word_4F05AE[777]; // weak
1119 char _4F063C_smthn_by_2da_uType[777]; // weak
1120 __int16 word_4F063E[290];
1121 __int16 word_4F06D8[22];
1122 __int16 word_4F0704[40];
1123 __int16 word_4F0754[49];
1124 __int16 word_4F07B6[88];
1125 __int16 word_4F0866[14];
1126 __int16 _4F0882_evt_VAR_PlayerItemInHands_vals[53];
1127 int dword_4F08EC[777]; // weak
1128 char byte_4F09B0[777]; // weak
1129 char byte_4F09B1[777]; // weak
1130 char byte_4F09B8[777]; // weak
1131 int dword_4F09CC[192];
1132 char byte_4F0CCF[777]; // weak
1133 char _4F0D38_TravelInfo[777]; // weak
1134 int dword_4F0E10[32];
1135 Vec2_int_ pMonsterArenaPlacements[20];
1136 __int16 word_4F0F30[777]; // weak
1137 char aS03d[777]; // idb
1138 char byte_4F0F98; // idb
1139 char sz[777]; // idb
1140 char aSSSSSS[777]; // idb
1141 char aSDS[777]; // idb
1142 char aSS_3[777]; // idb
1143 char aSSSS[777]; // idb
1144 char aS_2[777]; // idb
1145 char aErrorlog_txt[777]; // idb
1146 char aUnsupportedPix[777]; // idb
1147 char aSmackerError[777]; // idb
1148 char aCS[777]; // idb
1149 char aAnimsMagic7_vi[777]; // idb
1150 char aVideoFileError[777]; // idb
1151 char aCanTOpenFileAn[777]; // idb
1152 char aAnimsMight7_vi[777]; // idb
1153 char aCanTLoadS[777]; // idb
1154 char aS_smk[777]; // idb
1155 char aUnsupportedBin[27]; // weak
1156 char aEWorkMsdevM_29[777]; // idb
1157 char aFailedToOpenBl[777]; // idb
1158 char aCanTAllocateMe[33]; // weak
1159 char aCanTLoadFileAn[777]; // idb
1160 char aS_bik[777]; // idb
1161 char aMm7_win_pcx[777]; // idb
1162 char aLuSLuSLuS[777]; // idb
1163 char aEndgame_fnt[777]; // idb
1164 char aWinbg_pcx[10]; // weak
1165 char aDefaultCaseRea[777]; // idb
1166 char aUnsupportedExc[71]; // weak
1167 char aEWorkMsdevM_30[777]; // idb
1168 char aUndefinedTypeR[777]; // idb
1169 char aUnknownPointer[777]; // idb
1170 char a1_1_3[6]; // weak
1171 double dbl_4F2870; // weak
1172 int dword_4F288C; // weak
1173 double dbl_4F5372; // weak
1174 int dword_4F5428[777]; // weak
1175 int dword_4F542C[777]; // weak
1176 _UNKNOWN crtunk_4F54B8; // weak
1177 int dword_4F5B24_ys[777]; // idb
1178 int dword_4F5BF4_xs[777]; // idb
1179 int dword_4F5CC4_ys[777]; // idb
1180 int dword_4F5D98_xs[777]; // idb
1181 int ai_array_4F5E68[500];
1182 int ai_array_4F6638_actor_ids[500];
1183 int dword_4F6E08[500];
1184 int ai_arrays_size; // weak
1185 int ai_array_4F75E0[500];
1186 unsigned int ai_array_4F7DB0_actor_ids[500];
1187 int dword_4F8580[182]; // weak
1188 int dword_4FA9B0[777]; // weak
1189 int dword_4FA9B4[777]; // weak
1190 char byte_4FAA00; // weak
1191 __int16 am_sounds[12];
1192 _UNKNOWN unk_4FAA20; // weak
1193 char byte_4FAA24; // weak
1194 HWND dword_4FAA28; // idb
1195 char byte_4FAA2C; // weak
1196 char byte_4FAA2D; // weak
1197 char byte_4FAA2E; // weak
1198 int amuint_4FAA34; // weak
1199 int amuint_4FAA38; // weak
1200 int amuint_4FAA3C_blt_xy[2];
1201 int am_uint_4FAA44_blt_xy[2];
1202 int amuint_4FAA4C; // weak
1203 unsigned int uCardID; // idb
1204 int amuint_4FAA54_blt_xy[2];
1205 int amuint_4FAA5C_blt_xy[2];
1206 int dword_4FAA64; // weak
1207 int dword_4FAA68; // weak
1208 int amuint_4FAA6C; // idb
1209 int dword_4FAA70; // weak
1210 char byte_4FAA74; // weak
1211 char am_byte_4FAA75; // weak
1212 char am_byte_4FAA76; // weak
1213 char am_byte_4FAA77; // weak
1214 int amuint_4FAA78[777]; // weak
1215 char am_byte_4FAA7C[777]; // weak
1216 int amuint_4FAA80[777]; // weak
1217 int amuint_4FAA84[777]; // weak
1218 int amuint_4FAA88[777]; // weak
1219 int amuint_4FAA8C[777]; // weak
1220 int amuint_4FAA90[777][2];
1221 int dword_4FABB8; // weak
1222 signed int dword_4FABBC; // idb
1223 unsigned int amuint_4FABC0; // idb
1224 int amuint_4FABC4; // weak
1225 int dword_4FABC8; // weak
1226 char byte_4FABD0[777]; // weak
1227 char byte_4FABD1[777]; // weak
1228 _UNKNOWN unk_4FABD4; // weak
1229 int dword_4FABD8[777]; // weak
1230 int dword_4FABDC[777]; // weak
1231 int dword_4FABE0[777]; // weak
1232 int dword_4FABE4[777]; // weak
1233 int dword_4FABE8[777]; // weak
1234 int dword_4FABEC[777]; // weak
1235 int dword_4FABF0[777]; // weak
1236 int dword_4FABF4[777]; // weak
1237 int dword_4FABF8[777]; // weak
1238 int dword_4FABFC[777]; // weak
1239 int dword_4FAC00[777]; // weak
1240 int dword_4FAC04[777]; // weak
1241 int dword_4FAC08[777]; // weak
1242 int dword_4FAC0C[777]; // weak
1243 _UNKNOWN unk_5052C8; // weak
1244 int dword_505314[777]; // weak
1245 char byte_5054C8[32]; // idb
1246 char byte_5054E8[108];
1247 int dword_505554[777]; // weak
1248 _UNKNOWN unk_505704; // weak
1249 char byte_505880; // weak
1250 char byte_505881; // weak
1251 int amuint_505884; // weak
1252 int amuint_505888; // weak
1253 int amuint_50588C; // weak
1254 int dword_505890; // weak
1255 unsigned int pSRZBufferLineOffsets[480];
1256 int areWeLoadingTexture; // weak
1257 char byte_506130[777]; // weak
1258 int dword_506338; // weak
1259 int dword_50633C; // idb
1260 signed int sRecoveryTime; // idb
1261 unsigned int uRequiredMana; // idb
1262 int _506348_current_lloyd_playerid; // weak
1263 __int64 qword_506350; // weak
1264 char byte_506360; // weak
1265 int dword_506364; // weak
1266 int dword_506408[777]; // weak
1267 int dword_50640C[777]; // weak
1268 unsigned int uTextureID_506438;
1269 int dword_50651C; // weak
1270 int dword_506520; // weak
1271 int dword_506524; // weak
1272 int dword_506528; // weak
1273 int dword_50652C; // weak
1274 int dword_506530; // weak
1275 int dword_506534; // weak
1276 int dword_506538; // weak
1277 int dword_50653C; // weak
1278 int dword_506540; // weak
1279 int dword_506544; // weak
1280 int dword_506548; // weak
1281 int dword_50654C; // weak
1282 char byte_506550; // weak
1283 char *aMoonPhaseNames[5];
1284 int dword_506568; // weak
1285 char bRecallingBeacon; // weak
1286 int uLastPointedObjectID; // weak
1287 //unsigned __int8 bMonsterInfoUI_bDollInitialized;
1288 char *aSpellNames[44];
1289 int dword_506978; // weak
1290 char byte_50697C; // weak
1291 int dword_506980; // weak
1292 int dword_506984; // weak
1293 int dword_506988; // weak
1294 int dword_50698C; // weak
1295 int dword_506E68; // weak
1296 __int16 word_506E6C[18]; // weak
1297 unsigned int pPrevVirtualCidesMapping[27];
1298 int dword_506F08; // weak
1299 int dword_506F0C[777]; // idb
1300 int uRestUI_FoodRequiredToRest;
1301 int dword_506F14; // weak
1302 int _506F18_num_hours_to_sleep; // weak
1303 int dword_506F1C; // weak
1304 int pVisibleWindowsIdxs[20]; // weak
1305 int uNumVisibleWindows;
1306 char bFlashHistoryBook; // weak
1307 char bFlashAutonotesBook; // weak
1308 char bFlashQuestBook; // weak
1309 int dword_507960; // weak
1310 int dword_507964; // weak
1311 int dword_507968; // weak
1312 int dword_50796C; // weak
1313 int dword_507974; // weak
1314 int dword_5079B4; // weak
1315 int dword_5079C8; // weak
1316 int dword_5079CC; // weak
1317 int dword_5079D0; // weak
1318 int dword_5079D8; // weak
1319 struct GUIButton *dword_507A14; // idb
1320 struct GUIButton *dword_507A18; // idb
1321 unsigned int uGameUIFontShadow;
1322 unsigned int uGameUIFontMain;
1323 int dword_507B00_spell_info_to_draw_in_popup; // weak
1324 char *aMonthNames[12];
1325 char *aDayNames[7];
1326 char *aSpellSchoolNames[9];
1327 char *aAttributeNames[7];
1328 int dword_507B94; // weak
1329 int dword_507B98_ctrl_pressed; // weak
1330 unsigned int uActiveCharacter;
1331 int dword_507BF0_is_there_popup_onscreen; // weak
1332 int dword_507C08; // weak
1333 int dword_507C0C; // weak
1334 int dword_507CBC; // weak
1335 int dword_507CC0; // weak
1336 __int64 qword_507CC8; // weak
1337 int _507CD4_RestUI_hourglass_anim_controller; // weak
1338 int dword_507CD8; // weak
1339 int dword_50B570[777]; // weak
1340 int dword_50B638[777]; // weak
1341 int dword_50B700; // weak
1342 int dword_50B738[777]; // idb
1343 int _50B744_view_transformed_ys[43];
1344 int dword_50B828[777];
1345 int _50B834_view_transformed_zs[43];
1346 int dword_50B918[777];
1347 int _50B924_view_transformed_xs[43];
1348 int unk_50B9D4[777]; // idb
1349 int dword_50B9D8_ys[777];
1350 int dword_50B9E0_ys[777]; // idb
1351 int dword_50B9EC[777]; // idb
1352 int dword_50B9F0[2]; // idb
1353 int dword_50BAE8_xs[777];
1354 int dword_50BAF4_xs[777];
1355 int dword_50B9F8[777]; // idb
1356 int dword_50BA08[777]; // idb
1357 int dword_50BAC4[777]; // weak
1358 int dword_50BAC8[777]; // idb
1359 int dword_50BAD0[777]; // weak
1360 int dword_50BAD4[777]; // weak
1361 int dword_50BADC_xs[777]; // weak
1362 int dword_50BAE0[777]; // weak
1363 int dword_50BAE8[777]; // weak
1364 int dword_50BAEC_xs[777]; // weak
1365 int dword_50BAF4[777]; // weak
1366 int dword_50BAF8_xs[777]; // weak
1367 int dword_50BC10[777]; // weak
1368 int dword_50BDA0[777]; // weak
1369 int dword_50BF30[777]; // weak
1370 char byte_50C0C0; // weak
1371 int some_active_character; // weak
1372 _UNKNOWN unk_50C190; // weak
1373 int dword_50C968; // weak
1374 unsigned int pIconIDs_Turn[5];
1375 unsigned int uIconID_TurnStop;
1376 unsigned int uIconID_TurnHour;
1377 int uIconID_CharacterFrame; // idb
1378 int dword_50C98C; // weak
1379 unsigned int uIconID_TurnStart;
1380 int dword_50C994; // weak
1381 int dword_50C998_turnbased_icon_1A; // weak
1382 int uSpriteID_Spell11; // idb
1383 _UNKNOWN unk_50C9A0; // weak
1384 int dword_50C9A8; // weak
1385 int dword_50C9AC; // weak
1386 int dword_50C9D0; // weak
1387 int dword_50C9D4; // weak
1388 int dword_50C9D8; // weak
1389 int dword_50C9DC; // weak
1390 struct NPCData *ptr_50C9E0;
1391 int dword_50C9E8; // idb
1392 int dword_50C9EC[777]; // weak
1393 int dword_50C9F0[120]; // idb
1394 int dword_50CDC8; // weak
1395 int dword_50CDCC; // weak
1396 int bProcessorIsNotIntel; // weak
1397 Vec3_int_ layingitem_vel_50FDFC;
1398 char pStartingMapName[777]; // idb
1399 unsigned __int8 IsPlayerWearingWatersuit[5];
1400 char byte_5111C0[54];
1401 char byte_5111F6[18];
1402 unsigned int papredoll_dbrds[16];
1403 unsigned int papredoll_drhs[4];
1404 unsigned int papredoll_dlhus[4];
1405 unsigned int papredoll_dlhs[4];
1406 unsigned int papredoll_dbods[5];
1407 int paperdoll_array_511290[4][17][3];
1408 unsigned int papredoll_dlaus[5];
1409 unsigned int papredoll_dlads[4];
1410 int papredoll_flying_feet[777]; // idb
1411 int dword_511638[4][6];
1412 int dword_511788[777]; // weak
1413 int dword_51179C; // weak
1414 int dword_5117A0; // weak
1415 int dword_5117A4; // weak
1416 int dword_5117A8; // weak
1417 int dword_5117AC; // weak
1418 int paperdoll_array_511828[4][10];
1419 int bRingsShownInCharScreen; // weak
1420 int _unused000; // weak
1421
1422 unsigned __int16 _56EFD8_minimap[117][137];
1423 unsigned int uNumBlueFacesInBLVMinimap;
1424 unsigned __int16 pBlueFacesInBLVMinimapIDs[50];
1425 int pTextureIDs_isns[14];
1426 unsigned int uIconIdx_Spell21;
1427 unsigned int uIconIdx_Spell27;
1428 int dword_576E28; // weak
1429 int dword_576E2C; // weak
1430 __int64 _5773B8_event_timer; // weak
1431 int dword_5773C0; // weak
1432
1433 int dword_591080; // weak
1434 int dword_591084; // weak
1435 struct Actor *pDialogue_SpeakingActor;
1436 unsigned int uDialogueType;
1437 unsigned int uDialogue_SpeakingActorNPC_ID;
1438 struct LevelDecoration *_591094_decoration;
1439 char byte_591098[200]; // idb
1440 int uCurrentHouse_Animation; // weak
1441 char *dword_591164_teleport_map_name; // idb
1442 int dword_591168_teleport_speedz; // weak
1443 int dword_59116C_teleport_directionx; // weak
1444 int dword_591170_teleport_directiony; // weak
1445 int dword_591174_teleportz; // weak
1446 int dword_591178_teleporty; // weak
1447 int dword_59117C_teleportx; // weak
1448 char byte_591180[600]; // idb
1449 struct NPCData *array_5913D8[12];
1450 struct Texture *pDialogueNPCPortraits[6];
1451 int uNumDialogueNPCPortraits; // weak
1452 struct Texture *pTexture_591428;
1453 struct Texture *pTexture_outside; // idb
1454 struct Texture *pTexture_Dialogue_Background;
1455 _UNKNOWN unk_597F10; // weak
1456 int dword_597F18; // weak
1457 char byte_5B0938[2000];
1458 int dword_5B5920; // weak
1459 int dword_5B5924; // weak
1460 int _5B65A8_npcdata_uflags_or_other; // weak
1461 int _5B65AC_npcdata_fame_or_other; // weak
1462 int _5B65B0_npcdata_rep_or_other; // weak
1463 int _5B65B4_npcdata_loword_house_or_other; // weak
1464 int _5B65B8_npcdata_hiword_house_or_other; // weak
1465 int dword_5B65BC; // weak
1466 int dword_5B65C0; // weak
1467 int dword_5B65C4; // weak
1468 int dword_5B65C8; // weak
1469 int dword_5B65CC; // weak
1470 int dword_5B65D0_dialogue_actor_npc_id; // weak
1471 int dword_5C3418; // weak
1472 int dword_5C341C; // weak
1473 char byte_5C3427[777]; // weak
1474 char GameUI_StatusBar_TimedString[200];
1475 char pStatusBarString[200];
1476 unsigned int GameUI_StatusBar_TimedStringTimeLeft;
1477 int bForceDrawStatusBar; // weak
1478 int dword_5C35C0; // weak
1479 int bDialogueUI_InitializeActor_NPC_ID; // weak
1480 int dword_5C35C8; // weak
1481 char *p2DEventsTXT_Raw;
1482 int uHouse_ExitPic; // weak
1483 int dword_5C35D4; // weak
1484 char *aAMPMNames[2];
1485 char byte_5C45AF[777]; // weak
1486 char pTmpBuf3[2048];
1487 char pFinalMessage[4096]; // idb
1488 char pTmpBuf[2000];
1489 char pTmpBuf2[2000];
1490 char byte_5C6D50[777]; // weak
1491 int ui_current_text_color; // weak
1492 __int64 qword_5C6DF0; // weak
1493 int dword_5C6DF8; // weak
1494 char item__getname_buffer[104]; // idb
1495 char *pClassDescriptions[36];
1496 char *pAttributeDescriptions[7];
1497 char *pGrandSkillDesc[38];
1498 char *pMasterSkillDesc[38];
1499 char *pExpertSkillDesc[38];
1500 char *pNormalSkillDesc[38];
1501 char *pSkillDesc[38];
1502 char *pHealthPointsAttributeDescription;
1503 char *pSpellPointsAttributeDescription;
1504 char *pArmourClassAttributeDescription;
1505 char *pPlayerConditionAttributeDescription; // idb
1506 char *pFastSpellAttributeDescription;
1507 char *pPlayerAgeAttributeDescription;
1508 char *pPlayerLevelAttributeDescription;
1509 char *pPlayerExperienceAttributeDescription;
1510 char *pAttackBonusAttributeDescription;
1511 char *pAttackDamageAttributeDescription;
1512 char *pMissleBonusAttributeDescription;
1513 char *pMissleDamageAttributeDescription;
1514 char *pFireResistanceAttributeDescription;
1515 char *pAirResistanceAttributeDescription;
1516 char *pWaterResistanceAttributeDescription;
1517 char *pEarthResistanceAttributeDescription;
1518 char *pMindResistanceAttributeDescription;
1519 char *pBodyResistanceAttributeDescription;
1520 char *pSkillPointsAttributeDescription;
1521 char *pClassTXT_Raw;
1522 char *pStatsTXT_Raw;
1523 char *pSkillDescTXT_Raw;
1524 struct StorylineText *pStorylineText;
1525 struct FactionTable *pFactionTable;
1526 char byte_5C8D1A[777]; // weak
1527 char *pGlobalTXT_LocalizationStrings[677];
1528 char byte_5E4C15[777]; // weak
1529 char *pSomeItemsNames[14];
1530 char *pGlobalTXT_Raw;
1531 char *pMonstersTXT_Raw;
1532 char *pMonsterPlacementTXT_Raw;
1533 char *pSpellsTXT_Raw;
1534 char *pMapStatsTXT_Raw;
1535 char *pHostileTXT_Raw;
1536 char *pPotionsTXT_Raw;
1537 char *pPotionNotesTXT_Raw;
1538 char *pHistoryTXT_Raw;
1539 int _6807B8_level_decorations_ids[777]; // idb
1540 int _6807E0_num_decorations_with_sounds_6807B8; // weak
1541 int _6807E8_level_decorations_ids[777]; // idb
1542 int _6836C8_num_decorations_6807E8; // weak
1543 int dword_69B010[64];
1544 float flt_69B138_dist; // weak
1545 char byte_69BD41_unused; // weak
1546 unsigned int uTextureID_x_u;
1547 unsigned int uTextureID_LS_saveU;
1548 unsigned int uTextureID_LS_loadU;
1549 unsigned int uTextureID_AR_DN_DN;
1550 unsigned int uTextureID_AR_UP_DN;
1551 unsigned int uTextureID_LS_;
1552 unsigned int uTextureID_x_d;
1553 unsigned int uTextureID_save_up;
1554 unsigned int uTextureID_load_up;
1555 unsigned int uTextureID_loadsave;
1556 _UNKNOWN _69FBB4_ptr_iterator_end; // weak
1557 _UNKNOWN unk_6A0758; // weak
1558 int dword_6A0C9C; // weak
1559 unsigned int uLoadGameUI_SelectedSlot;
1560 HWND hInsertCDWindow; // idb
1561 int uCPUSpeed; // weak
1562 char cMM7GameCDDriveLetter; // idb
1563 void *ptr_6A0D08;
1564 int _6A0D0C_txt_lod_loading; // weak
1565 int _6A0D10_txt_lod_loading__unused; // weak
1566 MENU_STATE uCurrentMenuID;
1567 unsigned int uGameState;
1568 int uDefaultTravelTime_ByFoot; // weak
1569 int day_attrib; // weak
1570 int day_fogrange_1; // weak
1571 int day_fogrange_2; // weak
1572 struct TileTable *pTileTable; // idb
1573 int texmapping_terrain_subdivsize; // weak
1574 int texmapping_terrain_subdivpow2; // weak
1575 int texmapping_building_subdivsize; // weak
1576 int texmapping_building_subdivpow2; // weak
1577 int unnamed_6BE060[2] = {0, 1};
1578 int mipmapping_building_mm1; // weak
1579 int mipmapping_building_mm2; // weak
1580 int mipmapping_building_mm3; // weak
1581 int mipmapping_terrain_mm1; // weak
1582 int mipmapping_terrain_mm2; // weak
1583 int mipmapping_terrain_mm3; // weak
1584 int outdoor_grid_band_1; // idb
1585 int outdoor_grid_band_2; // idb
1586 int outdoor_grid_band_3; // idb
1587 char outdoor_day_top_r; // weak
1588 char outdoor_day_top_g; // weak
1589 char outdoor_day_top_b; // weak
1590 char outdoor_day_bottom_r; // weak
1591 char outdoor_day_bottom_g; // weak
1592 char outdoor_day_bottom_b; // weak
1593 char outdoor_night_top_r; // weak
1594 char outdoor_night_top_g; // weak
1595 char outdoor_night_top_b; // weak
1596 char outdoor_night_bottom_r; // weak
1597 char outdoor_night_bottom_g; // weak
1598 char outdoor_night_bottom_b; // weak
1599 char pDefaultSkyTexture[777]; // idb
1600 char byte_6BE124_cfg_textures_DefaultGroundTexture[16]; // idb
1601 int _6BE134_odm_main_tile_group; // weak
1602 int dword_6BE138; // weak
1603 int dword_6BE13C_uCurrentlyLoadedLocationID; // weak
1604 float fWalkSpeedMultiplier = 1.0f; // weak
1605 float fBackwardWalkSpeedMultiplier = 1.0f; // weak
1606 float fTurnSpeedMultiplier = 1.0f; // weak
1607 float flt_6BE150_look_up_down_dangle = 1.0f; // weak
1608 HWND hWnd; // idb
1609 int uWindowWidth; // idb
1610 int uWindowHeight; // idb
1611 int uWindowX; // idb
1612 int uWindowY; // idb
1613 LONG uWindowStyle; // idb
1614 HMENU hOSMenu; // idb
1615 int dword_6BE340; // weak
1616 char pCurrentMapName[20]; // idb
1617 unsigned int uLevelMapStatsID;
1618 int uLevel_StartingPointType; // weak
1619 int dword_6BE364_game_settings_1 = 0; // weak
1620 int dword_6BE368_debug_settings_2 = 0; // weak
1621 unsigned __int8 bUseLoResSprites = false;
1622 unsigned __int8 bUseRegistry = true;
1623 unsigned __int8 bCanLoadFromCD = false;
1624 int bShowDamage; // idb
1625 unsigned int bAlwaysRun;
1626 unsigned int bFlipOnExit;
1627 int dword_6BE384_2dacceloff; // weak
1628 char byte_6BE388_graphicsmode; // weak
1629 unsigned int uTurnSpeed;
1630 float flt_6BE3A0; // weak
1631 float flt_6BE3A4_debug_recmod1;
1632 float flt_6BE3A8_debug_recmod2;
1633 float flt_6BE3AC_debug_recmod1_x_1_6;
1634 char byte_6BE3B0[20]; // idb
1635 char bUnderwater = false; // weak
1636 char bNoNPCHiring = false; // weak
1637 int _702AC0_unused = 0; // weak
1638 int _702AC4_unused = 0; // weak
1639 char _702ACC_unused = 0; // weak
1640 int bDebugResouces; // weak
1641 unsigned int bNoVideo = false;
1642 bool bNoIntro = false;
1643 bool bNoLogo = false;
1644 bool bNoCD = false;
1645 bool bNoSound = false;
1646 int aborting_app; // weak
1647 int dword_720020_zvalues[100];
1648 int dword_7201B0_zvalues[299];
1649 int dword_72065C[777]; // weak
1650 int dword_720660[777]; // idb
1651 int dword_7207EC[777]; // weak
1652 int dword_7207F0[777]; // idb
1653 int uTextureID_720980; // weak
1654 int _720984_unused; // weak
1655 char _72098C_unused; // weak
1656 __int16 word_7209A0_intercepts_ys_plus_ys[104];
1657 __int16 word_720A70_intercepts_xs_plus_xs[104];
1658 __int16 word_720B40_intercepts_zs[104];
1659 __int16 word_720C10_intercepts_xs[102];
1660 int dword_720CDC;
1661 __int16 word_720CE0_ys[777]; // idb
1662 __int16 word_720DB0_xs[777]; // idb
1663 int dword_720E80[20];
1664 int dword_720ED0[20];
1665 int dword_720F20[20];
1666 __int16 word_720F70[777]; // idb
1667 __int16 word_721040[777]; // idb
1668 int dword_721110[777]; // idb
1669 int dword_721160[777]; // idb
1670 int dword_7211B0[777]; // idb
1671 int dword_721200[777]; // idb
1672 int dword_7212C8[777]; // idb
1673 __int16 word_721390[104]; // idb
1674 __int16 word_721460[104]; // idb
1675 int blv_prev_party_x; // weak
1676 int blv_prev_party_z; // weak
1677 int blv_prev_party_y; // weak
1678 char *dword_721660; // idb
1679 char *dword_721664; // idb
1680 NPCTopic pNPCTopics[789];
1681 char *dword_722F10; // idb
1682 const char *pQuestTable[512];
1683 _UNKNOWN unk_723714; // weak
1684 char *dword_723718_autonote_related; // idb
1685 int dword_72371C[777]; // weak
1686 const char *pScrolls[82];
1687 int dword_723E80_award_related[777]; // weak
1688 int dword_723E84[777]; // weak
1689 int dword_7241C8; // weak
1690 struct NPCStats *pNPCStats = nullptr;
1691 char *aNPCProfessionNames[59];
1692 char *pAwardsTXT_Raw;
1693 char *pScrollsTXT_Raw;
1694 char *pMerchantsTXT_Raw;
1695 const char *pMerchantsBuyPhrases[7];
1696 const char *pMerchantsSellPhrases[7];
1697 const char *pMerchantsRepairPhrases[7];
1698 const char *pMerchantsIdentifyPhrases[7];
1699 char *pTransitionsTXT_Raw;
1700 char *pAutonoteTXT_Raw;
1701 char *pQuestsTXT_Raw;
1702 unsigned int uNumTerrainNormals;
1703 int pTerrainSomeOtherData[32768];
1704 unsigned __int16 pTerrainNormalIndices[32768];
1705 struct Vec3_float_ *pTerrainNormals;
1706 int dword_76D518_terrain_cell_world_pos_around_party_y; // weak
1707 int dword_76D51C_terrain_cell_world_pos_around_party_y; // weak
1708 int dword_76D520_terrain_cell_world_pos_around_party_y; // weak
1709 int dword_76D524_terrain_cell_world_pos_around_party_y; // weak
1710 int dword_76D528_terrain_cell_world_pos_around_party_z; // weak
1711 int dword_76D52C_terrain_cell_world_pos_around_party_z; // weak
1712 int dword_76D530_terrain_cell_world_pos_around_party_z; // weak
1713 int dword_76D534_terrain_cell_world_pos_around_party_z; // weak
1714 int dword_76D538_terrain_cell_world_pos_around_party_x; // weak
1715 int dword_76D53C_terrain_cell_world_pos_around_party_x; // weak
1716 int dword_76D540_terrain_cell_world_pos_around_party_x; // weak
1717 int dword_76D544_terrain_cell_world_pos_around_party_x; // weak
1718 int dword_76D548_terrain_cell_world_pos_around_party_y; // weak
1719 int dword_76D54C_terrain_cell_world_pos_around_party_y; // weak
1720 int dword_76D550_terrain_cell_world_pos_around_party_y; // weak
1721 int dword_76D554_terrain_cell_world_pos_around_party_y; // weak
1722 int dword_76D558_terrain_cell_world_pos_around_party_z; // weak
1723 int dword_76D55C_terrain_cell_world_pos_around_party_z; // weak
1724 int dword_76D560_terrain_cell_world_pos_around_party_z; // weak
1725 int dword_76D564_terrain_cell_world_pos_around_party_z; // weak
1726 int dword_76D568_terrain_cell_world_pos_around_party_x; // weak
1727 int dword_76D56C_terrain_cell_world_pos_around_party_x; // weak
1728 int dword_76D570_terrain_cell_world_pos_around_party_x; // weak
1729 int dword_76D574_terrain_cell_world_pos_around_party_x; // weak
1730 int terrain_76D5C8[128];
1731 int terrain_76D7C8[128];
1732 int terrain_76D9C8[128];
1733 int terrain_76DBC8[128];
1734 int terrain_76DDC8[128];
1735 int terrain_76DFC8[128];
1736 int terrain_76E1C8[128];
1737 int terrain_76E3C8[128];
1738 _UNKNOWN unk_801A00; // weak
1739 _UNKNOWN unk_801A0C; // weak
1740 char byte_80AA10; // weak
1741 int dword_80AA14; // weak
1742 int dword_80AA18; // weak
1743 int dword_80AA1C; // weak
1744 int dword_80AA20; // weak
1745 unsigned int uNumElementsIn80AA28;
1746 struct stru148 *ptr_80AA28[2000];
1747 struct Edge *pNewEdges;
1748 struct Surf *pSurfs;
1749 struct Edge *pEdges;
1750 struct Span *pSpans;
1751 struct Edge *ptr_80C978_Edges;
1752 struct Surf *ptr_80C97C_Surfs;
1753 struct Edge *ptr_80CA10[480];
1754 _UNKNOWN unk_80D190; // weak
1755 int dword_A74C88; // weak
1756 unsigned int uPlayerCreationUI_SkySliderPos;
1757 int uPlayerCreationUI_ArrowAnim;
1758 unsigned int uPlayerCreationUI_SelectedCharacter;
1759 int dword_A74CDC; // weak
1760 struct Texture *pTexture_PlayerFaceMask;
1761 struct Texture *pTexture_PlayerFaceEradicated;
1762 struct Texture *pTexture_PlayerFaceDead;
1763 struct Texture *pTextures_PlayerFaces[4][56];
1764 int dword_A75070; // weak
1765 struct Player *pPlayers[5];
1766 __int64 qword_A750D8; // weak
1767 __int16 word_A750E0; // weak
1768 __int16 word_A750E2; // weak
1769 char *pClassNames[36];
1770 char *aCharacterConditionNames[19];
1771 char *pSkillNames[38];
1772 char byte_AE3368[777]; // weak
1773 char byte_AE3369; // weak
1774 char byte_AE336A; // weak
1775 char byte_AE336B; // weak
1776 int dword_AE336C; // weak
1777 int dword_AE3370; // weak
1778 char byte_AE5B91; // weak
1779 int dword_F1B430[32]; // weak
1780 int dword_F8B144; // idb
1781 char byte_F8B148[16];
1782 __int16 word_F8B158[777]; // weak
1783 struct Texture *dword_F8B164; // idb
1784 struct Texture *dword_F8B168[12];
1785 int dword_F8B198; // weak
1786 int dword_F8B19C; // weak
1787 __int16 word_F8B1A0; // weak
1788 const char *dword_F8B1A4; // idb
1789 int dword_F8B1A8; // weak
1790 int dword_F8B1AC_something_todo_with_awards; // idb
1791 int dword_F8B1B0; // weak
1792 int dword_F8B1B4; // weak
1793 char *pShopOptions[4];
1794 _UNKNOWN unk_F8B1C8; // weak
1795 int dword_F8B1D8; // weak
1796 int dword_F8B1DC; // weak
1797 int dword_F8B1E0; // weak
1798 int dword_F8B1E4; // weak
1799 const char *ptr_F8B1E8; // idb
1800 char byte_F8B1EC; // weak
1801 char byte_F8B1EF[777]; // weak
1802 char byte_F8B1F0[4];
1803 int dword_F8B1F4; // weak
1804 _UNKNOWN unk_F8B1F8; // weak
1805 _UNKNOWN unk_F8B5E0; // weak
1806 _UNKNOWN unk_F8B668; // weak
1807 _UNKNOWN unk_F8BA50; // weak
1808 char byte_F8BC0C; // weak
1809 int bGameoverLoop = 0; // weak
1810 __int16 word_F8BC48_displaced_face_intersect_plane_coords_a; // idb
1811 __int16 word_F8BD18_displaced_face_intersect_plane_coords_b; // idb
1812 int dword_F93F20; // weak
1813 int dword_F93F70; // weak
1814
1815 //int crt_F94004; // weak
1816 //int crtdword_F9400C; // weak
1817 FARPROC lpfn; // idb