Mercurial > mm7
annotate mm7_data.h @ 656:6abf5b610585
OnSelectNPCDialogueOption clean
author | zipi |
---|---|
date | Tue, 12 Mar 2013 21:58:10 +0000 |
parents | 2bf48d11d742 |
children | 7747161ea5b5 |
rev | line source |
---|---|
0 | 1 #pragma once |
2 #include <string> | |
3 #include "OSAPI.h" | |
515
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
513
diff
changeset
|
4 #include "SpriteObject.h" |
0 | 5 #include "VectorTypes.h" |
6 | |
7 typedef char _UNKNOWN; | |
8 | |
9 | |
10 typedef unsigned int uint; | |
11 /* | |
12 #define LOWORD(a) (*((unsigned short *)&a)) | |
13 #define SLOWORD(a) (__debugbreak(), *((signed short *)&a)) | |
14 #define HIWORD(a) (*((unsigned short *)&a + 1)) | |
15 #define SHIWORD(a) (*((short *)&a + 1)) | |
16 | |
17 #define LODWORD(a) (*((unsigned int *)&a)) | |
18 #define HIDWORD(a) (*((unsigned int *)&a + 1)) | |
19 #define SLODWORD(a) (*((int *)&a)) | |
20 #define SHIDWORD(a) (*((int *)&a + 1)) | |
21 | |
22 #define LOBYTE(a) (*((unsigned char *)&a)) | |
23 #define SLOBYTE(a) (*((signed char *)&a)) | |
24 | |
25 #define HIBYTE(a) (*((unsigned char *)&a + sizeof(a) - 1)) | |
26 | |
27 #define BYTE1(a) (*((unsigned char *)&a + 1)) | |
28 #define SBYTE1(a) (*((signed char *)&a + 1)) | |
29 | |
30 #define BYTE2(a) (*((unsigned char *)&a + 2)) | |
31 #define BYTE3(a) (*((unsigned char *)&a + 3)) | |
32 | |
33 #define WORD2(a) (__debugbreak(), *(unsigned short *)((char *)&a + 4)) | |
34 | |
35 #define __OFSUB__(a, b) (unsigned __int8)((a) == (b)) | |
36 | |
37 | |
38 typedef unsigned __int16 _WORD; | |
39 typedef unsigned __int64 _QWORD; | |
40 */ | |
41 | |
42 | |
43 | |
44 | |
45 | |
46 #define COERCE_UNSIGNED_INT64(a) (__debugbreak(), a) | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | |
53 | |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |
61 | |
62 #if defined(__GNUC__) | |
63 typedef long long ll; | |
64 typedef unsigned long long ull; | |
65 #define __int64 long long | |
66 #define __int32 int | |
67 #define __int16 short | |
68 #define __int8 char | |
69 #define MAKELL(num) num ## LL | |
70 #define FMT_64 "ll" | |
71 #elif defined(_MSC_VER) | |
72 typedef __int64 ll; | |
73 typedef unsigned __int64 ull; | |
74 #define MAKELL(num) num ## i64 | |
75 #define FMT_64 "I64" | |
76 #elif defined (__BORLANDC__) | |
77 typedef __int64 ll; | |
78 typedef unsigned __int64 ull; | |
79 #define MAKELL(num) num ## i64 | |
80 #define FMT_64 "L" | |
81 #else | |
82 #error "unknown compiler" | |
83 #endif | |
84 typedef unsigned int uint; | |
85 typedef unsigned char uchar; | |
86 typedef unsigned short ushort; | |
87 typedef unsigned long ulong; | |
88 | |
89 typedef char int8; | |
90 typedef signed char sint8; | |
91 typedef unsigned char uint8; | |
92 typedef short int16; | |
93 typedef signed short sint16; | |
94 typedef unsigned short uint16; | |
95 typedef int int32; | |
96 typedef signed int sint32; | |
97 typedef unsigned int uint32; | |
98 typedef ll int64; | |
99 typedef ll sint64; | |
100 typedef ull uint64; | |
101 | |
102 // Partially defined types: | |
103 #define _BYTE uint8 | |
104 #define _WORD uint16 | |
105 #define _DWORD uint32 | |
106 #define _QWORD uint64 | |
107 #if !defined(_MSC_VER) | |
108 #define _LONGLONG __int128 | |
109 #endif | |
110 | |
111 #ifndef _WINDOWS_ | |
112 typedef int8 BYTE; | |
113 typedef int16 WORD; | |
114 typedef int32 DWORD; | |
115 typedef int32 LONG; | |
116 #endif | |
117 typedef int64 QWORD; | |
118 #ifndef __cplusplus | |
119 typedef int bool; // we want to use bool in our C programs | |
120 #endif | |
121 | |
122 // Some convenience macros to make partial accesses nicer | |
123 // first unsigned macros: | |
124 #define LOBYTE(x) (*((_BYTE*)&(x))) // low byte | |
125 #define LOWORD(x) (*((_WORD*)&(x))) // low word | |
126 #define LODWORD(x) (*((_DWORD*)&(x))) // low dword | |
127 #define HIBYTE(x) (*((_BYTE*)&(x)+1)) | |
128 #define HIWORD(x) (*((_WORD*)&(x)+1)) | |
129 #define HIDWORD(x) (*((_DWORD*)&(x)+1)) | |
130 #define BYTEn(x, n) (*((_BYTE*)&(x)+n)) | |
131 #define WORDn(x, n) (*((_WORD*)&(x)+n)) | |
132 #define BYTE1(x) BYTEn(x, 1) // byte 1 (counting from 0) | |
133 #define BYTE2(x) BYTEn(x, 2) | |
134 #define BYTE3(x) BYTEn(x, 3) | |
135 #define BYTE4(x) BYTEn(x, 4) | |
136 #define BYTE5(x) BYTEn(x, 5) | |
137 #define BYTE6(x) BYTEn(x, 6) | |
138 #define BYTE7(x) BYTEn(x, 7) | |
139 #define BYTE8(x) BYTEn(x, 8) | |
140 #define BYTE9(x) BYTEn(x, 9) | |
141 #define BYTE10(x) BYTEn(x, 10) | |
142 #define BYTE11(x) BYTEn(x, 11) | |
143 #define BYTE12(x) BYTEn(x, 12) | |
144 #define BYTE13(x) BYTEn(x, 13) | |
145 #define BYTE14(x) BYTEn(x, 14) | |
146 #define BYTE15(x) BYTEn(x, 15) | |
147 #define WORD1(x) WORDn(x, 1) | |
148 #define WORD2(x) WORDn(x, 2) // third word of the object, unsigned | |
149 #define WORD3(x) WORDn(x, 3) | |
150 #define WORD4(x) WORDn(x, 4) | |
151 #define WORD5(x) WORDn(x, 5) | |
152 #define WORD6(x) WORDn(x, 6) | |
153 #define WORD7(x) WORDn(x, 7) | |
154 | |
155 // now signed macros (the same but with sign extension) | |
156 #define SLOBYTE(x) (*((int8*)&(x))) | |
157 #define SLOWORD(x) (*((int16*)&(x))) | |
158 #define SLODWORD(x) (*((int32*)&(x))) | |
159 #define SHIBYTE(x) (*((int8*)&(x)+1)) | |
160 #define SHIWORD(x) (*((int16*)&(x)+1)) | |
161 #define SHIDWORD(x) (*((int32*)&(x)+1)) | |
162 #define SBYTEn(x, n) (*((int8*)&(x)+n)) | |
163 #define SWORDn(x, n) (*((int16*)&(x)+n)) | |
164 #define SBYTE1(x) SBYTEn(x, 1) | |
165 #define SBYTE2(x) SBYTEn(x, 2) | |
166 #define SBYTE3(x) SBYTEn(x, 3) | |
167 #define SBYTE4(x) SBYTEn(x, 4) | |
168 #define SBYTE5(x) SBYTEn(x, 5) | |
169 #define SBYTE6(x) SBYTEn(x, 6) | |
170 #define SBYTE7(x) SBYTEn(x, 7) | |
171 #define SBYTE8(x) SBYTEn(x, 8) | |
172 #define SBYTE9(x) SBYTEn(x, 9) | |
173 #define SBYTE10(x) SBYTEn(x, 10) | |
174 #define SBYTE11(x) SBYTEn(x, 11) | |
175 #define SBYTE12(x) SBYTEn(x, 12) | |
176 #define SBYTE13(x) SBYTEn(x, 13) | |
177 #define SBYTE14(x) SBYTEn(x, 14) | |
178 #define SBYTE15(x) SBYTEn(x, 15) | |
179 #define SWORD1(x) SWORDn(x, 1) | |
180 #define SWORD2(x) SWORDn(x, 2) | |
181 #define SWORD3(x) SWORDn(x, 3) | |
182 #define SWORD4(x) SWORDn(x, 4) | |
183 #define SWORD5(x) SWORDn(x, 5) | |
184 #define SWORD6(x) SWORDn(x, 6) | |
185 #define SWORD7(x) SWORDn(x, 7) | |
186 | |
187 | |
188 | |
189 | |
190 // Generate a reference to pair of operands | |
191 template<class T> int16 __PAIR__( int8 high, T low) { return ((( int16)high) << sizeof(high)*8) | uint8(low); } | |
192 template<class T> int32 __PAIR__( int16 high, T low) { return ((( int32)high) << sizeof(high)*8) | uint16(low); } | |
193 template<class T> int64 __PAIR__( int32 high, T low) { return ((( int64)high) << sizeof(high)*8) | uint32(low); } | |
194 template<class T> uint16 __PAIR__(uint8 high, T low) { return (((uint16)high) << sizeof(high)*8) | uint8(low); } | |
195 template<class T> uint32 __PAIR__(uint16 high, T low) { return (((uint32)high) << sizeof(high)*8) | uint16(low); } | |
196 template<class T> uint64 __PAIR__(uint32 high, T low) { return (((uint64)high) << sizeof(high)*8) | uint32(low); } | |
197 | |
198 // rotate left | |
199 template<class T> T __ROL__(T value, uint count) | |
200 { | |
201 const uint nbits = sizeof(T) * 8; | |
202 count %= nbits; | |
203 | |
204 T high = value >> (nbits - count); | |
205 value <<= count; | |
206 value |= high; | |
207 return value; | |
208 } | |
209 | |
210 // rotate right | |
211 template<class T> T __ROR__(T value, uint count) | |
212 { | |
213 const uint nbits = sizeof(T) * 8; | |
214 count %= nbits; | |
215 | |
216 T low = value << (nbits - count); | |
217 value >>= count; | |
218 value |= low; | |
219 return value; | |
220 } | |
221 | |
222 // carry flag of left shift | |
223 template<class T> int8 __MKCSHL__(T value, uint count) | |
224 { | |
225 const uint nbits = sizeof(T) * 8; | |
226 count %= nbits; | |
227 | |
228 return (value >> (nbits-count)) & 1; | |
229 } | |
230 | |
231 // carry flag of right shift | |
232 template<class T> int8 __MKCSHR__(T value, uint count) | |
233 { | |
234 return (value >> (count-1)) & 1; | |
235 } | |
236 | |
237 // sign flag | |
238 template<class T> int8 __SETS__(T x) | |
239 { | |
240 if ( sizeof(T) == 1 ) | |
241 return int8(x) < 0; | |
242 if ( sizeof(T) == 2 ) | |
243 return int16(x) < 0; | |
244 if ( sizeof(T) == 4 ) | |
245 return int32(x) < 0; | |
246 return int64(x) < 0; | |
247 } | |
248 | |
249 // overflow flag of subtraction (x-y) | |
250 template<class T, class U> int8 __OFSUB__(T x, U y) | |
251 { | |
252 if ( sizeof(T) < sizeof(U) ) | |
253 { | |
254 U x2 = x; | |
255 int8 sx = __SETS__(x2); | |
256 return (sx ^ __SETS__(y)) & (sx ^ __SETS__(x2-y)); | |
257 } | |
258 else | |
259 { | |
260 T y2 = y; | |
261 int8 sx = __SETS__(x); | |
262 return (sx ^ __SETS__(y2)) & (sx ^ __SETS__(x-y2)); | |
263 } | |
264 } | |
265 | |
266 // overflow flag of addition (x+y) | |
267 template<class T, class U> int8 __OFADD__(T x, U y) | |
268 { | |
269 if ( sizeof(T) < sizeof(U) ) | |
270 { | |
271 U x2 = x; | |
272 int8 sx = __SETS__(x2); | |
273 return ((1 ^ sx) ^ __SETS__(y)) & (sx ^ __SETS__(x2+y)); | |
274 } | |
275 else | |
276 { | |
277 T y2 = y; | |
278 int8 sx = __SETS__(x); | |
279 return ((1 ^ sx) ^ __SETS__(y2)) & (sx ^ __SETS__(x+y2)); | |
280 } | |
281 } | |
282 | |
283 // carry flag of subtraction (x-y) | |
284 template<class T, class U> int8 __CFSUB__(T x, U y) | |
285 { | |
286 int size = sizeof(T) > sizeof(U) ? sizeof(T) : sizeof(U); | |
287 if ( size == 1 ) | |
288 return uint8(x) < uint8(y); | |
289 if ( size == 2 ) | |
290 return uint16(x) < uint16(y); | |
291 if ( size == 4 ) | |
292 return uint32(x) < uint32(y); | |
293 return uint64(x) < uint64(y); | |
294 } | |
295 | |
296 // carry flag of addition (x+y) | |
297 template<class T, class U> int8 __CFADD__(T x, U y) | |
298 { | |
299 int size = sizeof(T) > sizeof(U) ? sizeof(T) : sizeof(U); | |
300 if ( size == 1 ) | |
301 return uint8(x) > uint8(x+y); | |
302 if ( size == 2 ) | |
303 return uint16(x) > uint16(x+y); | |
304 if ( size == 4 ) | |
305 return uint32(x) > uint32(x+y); | |
306 return uint64(x) > uint64(x+y); | |
307 } | |
308 | |
309 | |
310 | |
311 //------------------------------------------------------------------------- | |
312 // Data declarations | |
313 | |
351 | 314 extern int game_starting_year; |
315 | |
0 | 316 extern int pWindowList_at_506F50_minus1_indexing[1]; |
317 extern int dword_4C9890[10]; // weak | |
318 extern int dword_4C9920[16]; // weak | |
319 extern _UNKNOWN unk_4D8548; // weak | |
320 extern char byte_4D864C; // weak | |
321 extern float flt_4D86CC; // weak | |
322 extern int dword_4D86D8; // weak | |
323 extern int dword_4DAFCC; // weak | |
324 extern int (__stdcall *off_4DAFDC)(char); // weak | |
325 extern char asc_4DB724[]; // idb | |
326 extern int dword_4DBD94; // weak | |
327 extern int dword_4DF380[]; // weak | |
328 extern int dword_4DF390; // weak | |
329 extern char Str2[]; // idb | |
330 extern int dword_4DF3A4; // weak | |
331 extern char byte_4E185C; // weak | |
332 extern char am_byte_4E185D; // weak | |
333 extern char byte_4E185E; // weak | |
334 extern int amuint_4E1860; // weak | |
335 extern int amuint_4E1864; // weak | |
336 extern int amuint_4E1868; // weak | |
337 extern int amuint_4E186C; // weak | |
338 extern int amuint_4E1870; // weak | |
339 extern int dword_4E1874; // weak | |
340 extern int dword_4E1878; // weak | |
341 extern float flt_4D84E8; | |
342 extern int dword_4E187C; // weak | |
343 extern int dword_4E1880; // weak | |
344 extern int dword_4E1884; // weak | |
345 extern int dword_4E1888; // weak | |
346 extern char pArcomagePlayer2Name[8]; | |
347 extern char pArcomagePlayer1Name[8]; | |
348 extern char pDeckMaster[12]; | |
349 extern char aIxf[4]; // idb | |
350 extern _UNKNOWN unk_4E19FC; // weak | |
351 extern char pAreYouSureWishToLeave[32]; | |
352 extern char asc_4E1A28[4]; // idb | |
353 extern char aUsxfs[13]; | |
354 extern char aLayout_pcx[11]; // weak | |
355 extern char aSprites_pcx[12]; // weak | |
356 extern char aProblemInBlit_[]; // idb | |
357 extern char aEWorkMsdevMm7M[]; // idb | |
358 extern char aProblemInBli_0[]; // idb | |
359 extern char aD[]; // idb | |
360 extern char asc_4E1AB0[]; // idb | |
361 extern char aWb_0[]; // idb | |
362 extern char a24bitPcxOnly[]; // idb | |
363 extern char Mode[]; // idb | |
364 extern char a16bitPcx[]; // idb | |
365 extern char aUnableToLoadS[]; // idb | |
366 extern char aBitmaps[]; // idb | |
367 extern char aIcons[]; // idb | |
368 extern char aPending[]; // idb | |
369 extern char aCanTFindS[]; // idb | |
370 extern char pDayMoonPhase[28]; | |
321 | 371 extern char *spellbook_texture_filename_suffices[]; // weak |
0 | 372 extern __int16 word_4E1D3A[]; // weak |
373 extern __int16 pTownPortalBook_xs[6]; | |
374 extern __int16 pTownPortalBook_ys[6]; | |
375 extern __int16 pTownPortalBook_ws[6]; | |
376 extern __int16 pTownPortalBook_hs[6]; | |
198 | 377 extern unsigned char pSpellbookSpellIndices[9][12]; // 4E2430 |
378 extern unsigned int pLloydsBeaconsPreviewXs[5]; // 004E249C | |
0 | 379 extern unsigned int pLloydsBeaconsPreviewYs[5]; |
380 extern unsigned int pLloydsBeacons_SomeXs[5]; | |
381 extern unsigned int pLloydsBeacons_SomeYs[5]; // idb | |
382 extern char aSbwb00[7]; // weak | |
383 extern char aW[2]; // idb | |
384 extern char aA[2]; // idb | |
385 extern char aSD[]; // idb | |
386 extern char aSS03d03dS000S0[]; // idb | |
387 extern char aLuS[]; // idb | |
388 extern char aS_1[]; // idb | |
389 extern char aSbSc02d[]; // idb | |
390 extern char aSbSs02d[]; // idb | |
391 extern char aTabDb[]; // idb | |
392 extern char aTabDa[]; // idb | |
393 extern char aIbM6D[]; // idb | |
394 extern char aIbM6U[]; // idb | |
395 extern char aIbM5D[]; // idb | |
396 extern char aIbM5U[]; // idb | |
397 extern char aPagemask[]; // idb | |
398 extern char aBook[]; // idb | |
399 extern char aSpell_fnt[]; // idb | |
400 extern char aAutonote_fnt[]; // idb | |
401 extern char aBook2_fnt[]; // idb | |
402 extern char pFontFile[]; // idb | |
403 extern char aFontpal[]; // idb | |
404 extern char aMapbordr[]; // idb | |
405 extern char aLloydDD_pcx[]; // idb | |
406 extern char aDataLloydDD_pc[]; // idb | |
407 extern char aLb_bordr[]; // idb | |
408 extern char aTphell[]; // idb | |
409 extern char aTpheaven[]; // idb | |
410 extern char aTpisland[]; // idb | |
411 extern char aTpwarlock[]; // idb | |
412 extern char aTpelf[]; // idb | |
413 extern char aTpharmndy[]; // idb | |
414 extern char aTownport[]; // idb | |
415 extern char aSbquiknot[]; // idb | |
416 extern char aTabAn8a[]; // idb | |
417 extern char aTabAn8b[]; // idb | |
418 extern char aTabAn4a[]; // idb | |
419 extern char aTabAn4b[]; // idb | |
420 extern char aTabAn5a[]; // idb | |
421 extern char aTabAn5b[]; // idb | |
422 extern char aTabAn3a[]; // idb | |
423 extern char aTabAn3b[]; // idb | |
424 extern char aTabAn2a[]; // idb | |
425 extern char aTabAn2b[]; // idb | |
426 extern char aTabAn1a[]; // idb | |
427 extern char aTabAn1b[]; // idb | |
428 extern char aDivbar[]; // idb | |
429 extern char aSbautnot[]; // idb | |
430 extern char aTabwoff[]; // idb | |
431 extern char aTabwon[]; // idb | |
432 extern char aTabeoff[]; // idb | |
433 extern char aTabeon[]; // idb | |
434 extern char aTabsoff[]; // idb | |
435 extern char aTabson[]; // idb | |
436 extern char aTabnoff[]; // idb | |
437 extern char aTabnon[]; // idb | |
438 extern char aZootOff[]; // idb | |
439 extern char aZoomOff[]; // idb | |
440 extern char aZootOn[]; // idb | |
441 extern char aZoomOn[]; // idb | |
442 extern char aSbmap[]; // idb | |
443 extern char aMoon_ful[]; // idb | |
444 extern char aMoon_2[]; // idb | |
445 extern char aMoon_4[]; // idb | |
446 extern char aMoon_new[]; // idb | |
447 extern char aSbdateTime[]; // idb | |
448 extern char aTabAn7a[]; // idb | |
449 extern char aTabAn6a[]; // idb | |
450 extern char aTabAn7b[]; // idb | |
451 extern char aTabAn6b[]; // idb | |
452 extern char aSbplayrnot[]; // idb | |
453 extern char aPending_0[]; // idb | |
454 extern char aUnknown[8]; // weak | |
455 extern char aS100110S[]; // idb | |
456 extern char aS100110D[]; // idb | |
457 extern char aS100110DS[]; // idb | |
458 extern char aS100110D02dSS[]; // idb | |
227 | 459 extern int pCurrentScreen; // 004E28F8 |
0 | 460 extern char byte_4E28FC; // weak |
461 extern unsigned int uGammaPos; | |
362 | 462 extern int BtnTurnCoord[8]; |
0 | 463 extern __int16 RightClickPortraitXmin[4]; |
464 extern __int16 RightClickPortraitXmax[4]; | |
465 extern void *off_4E2A12; // weak | |
41 | 466 extern int pArmorSkills[5]; |
69 | 467 extern int pWeaponSkills[9]; |
468 extern int pMiscSkills[12]; | |
469 extern int pMagicSkills[9]; | |
0 | 470 extern unsigned __int8 pAwardsTextColors[20]; |
471 extern unsigned int pHealthBarPos[4]; | |
472 extern unsigned int pManaBarPos[4]; | |
473 extern char _4E2AD8_ui_colors[72]; | |
474 extern char _4E2B21_buff_spell_tooltip_colors[80]; | |
475 extern char byte_4E2B70[]; // weak | |
649 | 476 extern unsigned char hourglass_icon_idx; // weak |
526 | 477 |
0 | 478 extern char aSS[]; // idb |
479 extern char ascii_4E2C54[6]; | |
480 extern char ascii_4E2C5C[7]; | |
481 extern char ascii_4E2C68[8]; | |
482 extern char ascii_4E2C70[9]; | |
483 extern char ascii_4E2C7C[8]; | |
484 extern char ascii_4E2C84[11]; | |
485 extern char ascii_4E2C90[12]; | |
486 extern char ascii_4E2C9C[8]; | |
487 extern char ascii_4E2CA4[7]; | |
488 extern char ascii_4E2CB0[12]; | |
489 extern char ascii_4E2CBC[12]; | |
490 extern char ascii_4E2CC8[12]; | |
491 extern char ascii_4E2CD4[6]; | |
492 extern char ascii_4E2CDC[11]; | |
493 extern char ascii_4E2CE8[8]; | |
494 extern char ascii_4E2CF0[12]; | |
495 extern char ascii_4E2CFC[6]; | |
496 extern char ascii_4E2D04[8]; | |
497 extern char ascii_4E2D0C[8]; | |
498 extern char ascii_4E2D14[6]; | |
499 extern char ascii_4E2D1C[12]; | |
500 extern char ascii_4E2D28[8]; | |
501 extern char ascii_4E2D30[7]; | |
502 extern char ascii_4E2D38[5]; | |
503 extern char ascii_4E2D40[8]; | |
504 extern char ascii_4E2D48[6]; | |
362 | 505 extern char ascii_4E2D50[6]; |
0 | 506 extern char ascii_4E2D5C[7]; |
507 extern char aMakingItemNumb[]; // idb | |
508 extern char aNpc03d[]; // idb | |
46 | 509 extern const char *format_4E2D80; |
0 | 510 extern char format_4E2D90[8]; |
511 extern char aS03d03dS000_0[]; // idb | |
512 extern char aS03d03dS000[]; // idb | |
648 | 513 //extern const char *format_4E2DC8; |
0 | 514 extern char aS[]; // idb |
515 extern char aLuSLuS[]; // idb | |
516 extern char byte_4E2DE8; // idb | |
517 extern char asc_4E2DFC[3]; // idb | |
46 | 518 extern const char *format_4E2E00; // idb |
519 extern const char *format_4E2E10; // format text of resistance in Stats screen | |
0 | 520 extern char aS100S_0[]; // idb |
521 extern char aS100S[]; // idb | |
522 extern char aS100D[]; // idb | |
523 extern char aS180[6]; // idb | |
46 | 524 extern const char *format_4E2E68; // format 2 text of resistance in Stats screen |
0 | 525 extern char aS_6[2]; // idb |
526 extern char aSS_0[]; // idb | |
527 extern char aS_5[4]; // idb | |
528 extern char string_4E3294[8]; | |
529 extern char Format[]; // idb | |
530 extern char aMem03i_txt[]; // idb | |
531 extern char aMemory[]; // idb | |
532 extern char aIdSSizeI[16]; // idb | |
533 extern __int16 word_4E3C66[]; // idb | |
534 extern int dword_4E455C; // weak | |
535 extern int dword_4E4560[6]; | |
536 extern int dword_4E4578[6]; | |
537 extern int dword_4E4590[6]; | |
538 extern int dword_4E45A8[6]; | |
539 extern char aDDSDDS[]; // idb | |
540 extern char asc_4E45DC[]; // idb | |
541 extern char aD02dSSDSD[]; // idb | |
542 extern char aButtexi1[]; // idb | |
543 extern char aCanTJumpToThat[]; // idb | |
544 extern char aNoMapFoundForS[]; // idb | |
545 extern char global_a2[]; // idb | |
546 extern char aSSS[]; // idb | |
547 extern char aNotInMapStats[17]; // weak | |
548 extern char aD47_blv[]; // idb | |
549 extern char aOut15_odm[]; // idb | |
550 extern char Delim[]; // idb | |
551 extern char aGamma_pcx[]; | |
552 extern char aQuit1[]; // idb | |
553 extern char aControls1[]; // idb | |
554 extern char aSave1[]; // idb | |
555 extern char aLoad1[]; // idb | |
556 extern char aNew1[]; // idb | |
557 extern char aOptions[]; // idb | |
558 extern char aGammapos[9]; // weak | |
559 extern char aBloodsplats[]; // idb | |
560 extern char aTinting[]; // idb | |
561 extern char aColoredLights[]; // idb | |
562 extern char aTurndelta[]; // idb | |
563 extern char aFliponexit[]; // idb | |
564 extern char pKey[]; // idb | |
565 extern char aGraphicsmode[]; // idb | |
566 extern char aShowdamage[]; // idb | |
567 extern char aWalksound[]; // idb | |
568 extern char aCharvoices[]; // idb | |
569 extern char aMusicflag[]; // idb | |
570 extern char aSoundflag[]; // idb | |
571 extern char aOpvdgTn[]; // idb | |
572 extern char aOpvdgCl[]; // idb | |
573 extern char aOpvdgBs[]; // idb | |
574 extern char aOpvdhTn[]; // idb | |
575 extern char aOpvdhCl[]; // idb | |
576 extern char aOpvdhBs[]; // idb | |
577 extern char aOptvid[]; // idb | |
578 extern char aOptkb_2[]; // idb | |
579 extern char aOptkb_1[]; // idb | |
580 extern char aResume1[]; // idb | |
581 extern char aOptkb_h[]; // idb | |
582 extern char aOptkb[]; // idb | |
583 extern char aOption01[]; // idb | |
584 extern char aOption02[]; // idb | |
585 extern char aOption03[]; // idb | |
586 extern char aOption04[]; // idb | |
587 extern char aConvol90[]; // idb | |
588 extern char aConvol80[]; // idb | |
589 extern char aConvol70[]; // idb | |
590 extern char aConvol60[]; // idb | |
591 extern char aConvol50[]; // idb | |
592 extern char aConvol40[]; // idb | |
593 extern char aConvol30[]; // idb | |
594 extern char aConvol20[]; // idb | |
595 extern char aConvol10[]; // idb | |
596 extern char aConvol00[]; // idb | |
597 extern char aCon_smoo[]; // idb | |
598 extern char aCon_arrr[]; // idb | |
599 extern char aCon_arrl[]; // idb | |
600 extern char aCon_32x[]; // idb | |
601 extern char aCon_16x[]; // idb | |
602 extern char aControlbg[]; // idb | |
603 extern char aTitle_pcx[10]; // weak | |
604 extern char aEWorkMsdevMm_0[]; // idb | |
605 extern char aDraw_debug_lin[]; // idb | |
606 extern char aGenuineintel[13]; // weak | |
607 extern char asc_4E4938[13]; // weak | |
608 extern int dword_4E4948[]; // weak | |
609 extern int dword_4E494C[]; // weak | |
610 extern int dword_4E49D0[]; // weak | |
611 extern _UNKNOWN dword_4E49D4; // idb | |
612 extern int dword_4E4A18[]; // weak | |
613 extern int dword_4E4A1C[]; // weak | |
614 extern int dword_4E4A40[]; // weak | |
615 extern int dword_4E4A44[]; // weak | |
616 extern char aCentaurhauls[13]; // weak | |
617 extern char aCyrixinstead[13]; // weak | |
618 extern char aAuthenticamd[13]; // weak | |
619 extern float flt_4E4A80[10]; | |
620 extern char aInvalidPlayerI[]; // idb | |
621 extern char aEWorkMsdevMm_1[]; // idb | |
622 extern char aEWorkMsdevMm_2[]; // idb | |
623 extern char aErrorNoKeyboar[25]; // weak | |
624 extern char aInvalidDeviceP[]; // idb | |
625 extern char aInvalidDevic_0[]; // idb | |
626 extern char aEWorkMsdevMm_3[]; // idb | |
627 extern char aErrorNoMouseFo[22]; // weak | |
21 | 628 extern int pPaperdoll_BodyX; // weak |
629 extern int pPaperdoll_BodyY; // weak | |
299 | 630 extern int paperdoll_Armor[4][17][2]; |
631 extern int paperdoll_shoulder[4][17][2]; | |
0 | 632 extern int dword_4E5270[8]; |
299 | 633 extern int paperdoll_Boot[4][7][2]; |
634 extern int paperdoll_Cloak[4][10][2]; | |
0 | 635 extern int dword_4E56B0; // weak |
636 extern int dword_4E56B4; // weak | |
299 | 637 extern int paperdoll_Belt[4][7][2]; |
0 | 638 extern int dword_4E58D0[]; // weak |
639 extern int dword_4E58D4[]; // weak | |
299 | 640 extern int pPaperdoll_Beards[4]; // weak |
0 | 641 extern int dword_4E5AD4[]; // weak |
299 | 642 extern int pPaperdoll_LeftHand[4][2]; |
643 extern int pPaperdoll_SecondLeftHand[4][2]; | |
21 | 644 extern int pPaperdoll_RightHand[8]; |
0 | 645 extern int pPaperdollLeftEmptyHand[8]; |
125 | 646 extern int pPaperdollRingsX[6]; |
647 extern int pPaperdollRingsY[6]; | |
0 | 648 extern char aItem092v3[]; // idb |
649 extern char aIbCd5D[]; // idb | |
650 extern char aAr_dn_dn[]; // idb | |
651 extern char aAr_dn_up[]; // idb | |
652 extern char aAr_up_dn[]; // idb | |
653 extern char aAr_up_up[]; // idb | |
654 extern char aItem281pc02d[]; // idb | |
655 extern char aPc02dbrd[]; // idb | |
656 extern char aPc23vDlhu[]; // idb | |
657 extern char aPc23vDlh[]; // idb | |
658 extern char aPc23vDrh[]; // idb | |
659 extern char aPc23vDlau[]; // idb | |
660 extern char aPc23vDlad[]; // idb | |
661 extern char aPc23vDbod[]; // idb | |
662 extern char aBackhand[]; // idb | |
663 extern char aBackdoll[]; // idb | |
664 extern char aMagnifB[]; // idb | |
665 extern char aItem3_3dvDa2[]; // idb | |
666 extern char aItem3_3dvDa1[15]; // weak | |
667 extern char aItem3_3dvD[13]; // weak | |
668 extern char aItem64v1[9]; // weak | |
669 extern char aEffpar01[]; // idb | |
670 extern int pPartySpellbuffsUI_XYs[14][2]; | |
569 | 671 extern unsigned char byte_4E5DD8[]; // weak |
0 | 672 extern unsigned __int8 pPartySpellbuffsUI_smthns[14]; |
673 extern char aSpell27[]; // idb | |
674 extern char aSpell21[]; // idb | |
675 extern char aIsn02d[]; // idb | |
676 extern char aBardataB[]; // idb | |
677 extern char aBardata[8]; // weak | |
678 extern char aBardataC[10]; // weak | |
679 extern char aLoadprog[]; // idb | |
680 extern char aLoadingD_pcx[]; // idb | |
419 | 681 extern int pNPCPortraits_x[6][6]; // 004E5E50 |
682 extern int pNPCPortraits_y[6][6]; // 004E5EE0 | |
0 | 683 extern const char *pHouse_ExitPictures[11]; |
346 | 684 extern const char *_4E6BDC_loc_names[11]; |
0 | 685 extern char aOutside[]; // idb |
686 extern char aMer[]; // idb | |
687 extern char aMir[]; // idb | |
688 extern char aSel[]; // idb | |
689 extern char aEle[]; // idb | |
690 extern char aDar[]; // idb | |
691 extern char aLig[]; // idb | |
692 extern char aBod[]; // idb | |
693 extern char aMin[]; // idb | |
694 extern char aSpi[]; // idb | |
695 extern char aEar[]; // idb | |
696 extern char aWat[]; // idb | |
697 extern char aAir[]; // idb | |
698 extern char aFir[]; // idb | |
699 extern char aBan[]; // idb | |
700 extern char aTav[]; // idb | |
701 extern char aTow[]; // idb | |
702 extern char aTra[]; // idb | |
703 extern char aTem[]; // idb | |
704 extern char aBoa[]; // idb | |
705 extern char aSta[]; // idb | |
706 extern char aAlc[]; // idb | |
707 extern char aMag[]; // idb | |
708 extern char aArm[]; // idb | |
709 extern char aWea[]; // idb | |
710 extern char asc_4E7BD4[2]; // idb | |
711 extern char a2devents_txt[]; // idb | |
712 extern char aFileSSizeLuBuf[]; // idb | |
713 extern char aGlobal_evt[]; // idb | |
714 extern char aMax_event_text[]; // idb | |
715 extern char aS_str[]; // idb | |
716 extern char aS_evt[]; // idb | |
717 extern char aNoMazeInfoForT[36]; // weak | |
718 extern char aC[]; // idb | |
719 extern char aB[3]; // weak | |
720 extern char aEvt02d[]; // idb | |
721 extern char aNoTransitionTe[]; // idb | |
722 extern char aEWorkMsdevMm_4[]; // idb | |
723 extern char asc_4E7CD4[]; // idb | |
724 extern char aSS_1[]; // idb | |
725 extern char aNpcIdExceedsMa[]; // idb | |
726 extern char aNpc03u[]; // idb | |
727 extern char aPcout01[]; // idb | |
728 extern char aArbiterEvil[]; // idb | |
729 extern char aArbiterGood[]; // idb | |
730 extern char a0[]; // idb | |
731 extern char aPartyStart[]; // idb | |
732 extern char aNorthStart[12]; // weak | |
733 extern char aSouthStart[12]; // weak | |
734 extern char aEastStart[11]; // weak | |
735 extern char aWestStart[11]; // weak | |
736 extern char aUnableToFindDo[]; // idb | |
737 extern char aNwc_blv[]; // idb | |
738 extern char aUnableToOpenS[]; // idb | |
739 extern char aInvalidStringP[]; // idb | |
740 extern char aEWorkMsdevMm_5[]; // idb | |
741 extern char aNull[]; // idb | |
742 extern char aInvalidStrin_0[]; // idb | |
743 extern char aSI[]; // idb | |
744 extern char aS7[4]; // weak | |
745 extern char aS6[]; // idb | |
746 extern char aS5[4]; // weak | |
747 extern char aS1[]; // idb | |
748 extern char aS3[4]; // weak | |
749 extern char aS0[]; // idb | |
750 extern char aS2[4]; // weak | |
751 extern char aS4[4]; // weak | |
752 extern char aUnableToSaveDs[]; // idb | |
753 extern char aDataDsft_bin[]; // idb | |
754 extern char aPFrames[]; // idb | |
755 extern char aEFrames[]; // idb | |
756 extern char aSFrames[]; // idb | |
757 extern char aMirror7[]; // idb | |
758 extern char aMirror6[]; // idb | |
759 extern char aMirror5[]; // idb | |
760 extern char aMirror4[]; // idb | |
761 extern char aMirror3[]; // idb | |
762 extern char aMirror2[]; // idb | |
763 extern char aMirror1[]; // idb | |
764 extern char aMirror0[]; // idb | |
765 extern char aLuminous[]; // idb | |
766 extern char a1[]; // idb | |
767 extern char aNew[]; // idb | |
768 extern char pMessag[]; // idb | |
769 extern char aCspriteframeta[]; // idb | |
770 extern char aR[]; // idb | |
771 extern char aNew_0[]; // idb | |
772 extern char aUnableToSaveDt[]; // idb | |
773 extern char aDataDtft_bin[]; // idb | |
774 extern char aTxtFrames[]; // idb | |
775 extern char aCtexturefram_1[]; // idb | |
776 extern char aCtexturefram_0[]; // idb | |
777 extern char aCtextureframet[]; // idb | |
778 extern int bWinNT4_0; // weak | |
779 extern char aEWorkMsdevMm_6[]; // idb | |
780 extern char aTheVisObjectPo[]; // idb | |
781 extern char aSpriteOutlineC[]; // idb | |
782 extern char aUndefinedCobje[]; // idb | |
783 extern char aEWorkMsdevMm_7[]; // idb | |
784 extern char aGammaControlNo[]; // idb | |
785 extern __int16 word_4E8152[11]; | |
436 | 786 extern char byte_4E8168[7][14]; |
0 | 787 extern char aD3dTextureName[]; // idb |
788 extern char aLogd3d_txt[]; // idb | |
789 extern char byte_4E8394[]; // weak | |
790 #include "Texture.h" | |
791 extern stru355 stru_4E82A4;// = {0x20, 0x41, 0, 0x20, 0xFF0000, 0xFF00, 0xFF, 0xFF000000}; | |
792 extern stru355 stru_4EFCBC;// = {0x20, 0x41, 0, 0x10, 0x7C00, 0x3E0, 0x1F, 0x8000}; | |
793 extern char byte_4E94D0; // weak | |
794 extern char _4E94D2_light_type; // weak | |
795 extern char byte_4E94D3; // weak | |
796 extern unsigned int saveload_dlg_xs[2]; | |
797 extern unsigned int saveload_dlg_ys[2]; | |
798 extern unsigned int saveload_dlg_zs[2]; | |
799 extern unsigned int saveload_dlg_ws[2]; | |
800 extern int dword_4E98BC_bApplicationActive; // weak | |
434 | 801 extern char *pTransitionStrings[]; // 4EB080 |
0 | 802 extern char aAwards_txt[]; // idb |
803 extern char aScroll_txt[]; // idb | |
804 extern char aMerchant_txt[]; // idb | |
805 extern char aTrans_txt[]; // idb | |
806 extern char aTeacher[]; // idb | |
807 extern char aObelisk[]; // idb | |
808 extern char aSeer[]; // idb | |
809 extern char aStat[]; // idb | |
810 extern char aPotion[]; // idb | |
811 extern char aAutonote_txt[]; // idb | |
812 extern char aQuests_txt[]; // idb | |
813 extern char aNpcdist_txt[]; // idb | |
814 extern char aNpctopic_txt[]; // idb | |
815 extern char aNpctext_txt[]; // idb | |
816 extern char aNpcnews_txt[]; // idb | |
817 extern char aNpcgroup_txt[]; // idb | |
818 extern char aNpcgreet_txt[]; // idb | |
819 extern char aNpcdata_txt[]; // idb | |
820 extern char aNpcprof_txt[]; // idb | |
821 extern char aNpcnames_txt[]; // idb | |
822 extern char aD3dVersionOfRe[]; // idb | |
823 extern char aEWorkMsdevM_16[]; // idb | |
824 extern char aLevels_0[]; // idb | |
825 extern char aDmap[]; // idb | |
826 extern char aAmap[]; // idb | |
827 extern char aTmap[]; // idb | |
828 extern char aHmap[]; // idb | |
829 extern int dword_4EC268[]; // weak | |
830 extern int dword_4EC28C[]; // weak | |
831 extern int dword_4EC2A8; // weak | |
832 extern int dword_4EC2AC; // weak | |
833 extern char aInvalidGroundT[]; // idb | |
834 extern char aInvalidSkyTexH[]; // idb | |
835 extern char aIdlist[]; // idb | |
836 extern char aOmap[]; // idb | |
837 extern char aCmap[]; // idb | |
838 extern char aMm6OutdoorV1_0[]; // idb | |
839 extern char aI6_odm[]; // idb | |
840 extern char aBlank[]; // idb | |
841 extern char aHm005[]; // idb | |
842 extern char aSky043[]; // idb | |
843 extern char aDefault_odm[]; // idb | |
844 extern char aPlansky3[]; // idb | |
845 extern char aPlanskyD[]; // idb | |
846 extern char a_ddm[5]; // weak | |
847 extern char aCanTLoadFile[]; // idb | |
848 extern char aEWorkMsdevM_17[]; // idb | |
849 extern char a_odm[]; // idb | |
850 extern char aUnableToFindSI[]; // idb | |
851 extern char aSpawn[]; // idb | |
852 extern char aBddata[]; // idb | |
853 extern char aTernorm[]; // idb | |
854 extern char aGrastyl[]; // idb | |
855 extern char aOut09_odm[]; // idb | |
856 extern char aNewedges[]; // idb | |
857 extern char aSurfs[]; // idb | |
858 extern char aEdges[]; // idb | |
859 extern char aSpans[]; // idb | |
860 extern char aTheTextureFram[]; // idb | |
861 extern char aEWorkMsdevM_18[]; // idb | |
862 extern char aWtrtyla[]; // idb | |
863 extern char aWtrtyl[]; // idb | |
864 extern char aUnableToSave_1[]; // idb | |
865 extern char aDataDtile_bin[]; // idb | |
866 extern char aTileDescrip[]; // idb | |
867 extern char aTtattr_transit[]; // idb | |
868 extern char aTtattr_nodraw[]; // idb | |
869 extern char aTtattr_wave[]; // idb | |
870 extern char aTtattr_flat[]; // idb | |
871 extern char aTtattr_repulse[]; // idb | |
872 extern char aTtattr_block[]; // idb | |
873 extern char aTtattr_water2[]; // idb | |
874 extern char aTtattr_water[]; // idb | |
875 extern char aTtattr_burn[]; // idb | |
876 extern char aTtsect_dnw[]; // idb | |
877 extern char aTtsect_dse[]; // idb | |
878 extern char aTtsect_dne[]; // idb | |
879 extern char aTtsect_dsw[]; // idb | |
880 extern char aTtsect_de[]; // idb | |
881 extern char aTtsect_dw[]; // idb | |
882 extern char aTtsect_ds[]; // idb | |
883 extern char aTtsect_dn[]; // idb | |
884 extern char aTtsect_wcap[]; // idb | |
885 extern char aTtsect_scap[]; // idb | |
886 extern char aTtsect_ecap[]; // idb | |
887 extern char aTtsect_ncap[]; // idb | |
888 extern char aTtsect_ew_s[]; // idb | |
889 extern char aTtsect_ew_n[]; // idb | |
890 extern char aTtsect_ns_w[]; // idb | |
891 extern char aTtsect_ns_e[]; // idb | |
892 extern char aTtsect_s_w[]; // idb | |
893 extern char aTtsect_s_e[]; // idb | |
894 extern char aTtsect_n_w[]; // idb | |
895 extern char aTtsect_n_e[]; // idb | |
896 extern char aTtsect_ew[]; // idb | |
897 extern char aTtsect_ns[]; // idb | |
898 extern char aTtsect_cros[]; // idb | |
899 extern char aTtsect_xsw1[]; // idb | |
900 extern char aTtsect_xse1[]; // idb | |
901 extern char aTtsect_xnw1[]; // idb | |
902 extern char aTtsect_xne1[]; // idb | |
903 extern char aTtsect_s1[]; // idb | |
904 extern char aTtsect_n1[]; // idb | |
905 extern char aTtsect_w1[]; // idb | |
906 extern char aTtsect_e1[]; // idb | |
907 extern char aTtsect_sw1[]; // idb | |
908 extern char aTtsect_se1[]; // idb | |
909 extern char aTtsect_nw1[]; // idb | |
910 extern char aTtsect_ne1[]; // idb | |
911 extern char aTtsect_speci_6[]; // idb | |
912 extern char aTtsect_speci_5[]; // idb | |
913 extern char aTtsect_speci_4[]; // idb | |
914 extern char aTtsect_speci_3[]; // idb | |
915 extern char aTtsect_speci_2[]; // idb | |
916 extern char aTtsect_speci_1[]; // idb | |
917 extern char aTtsect_speci_0[]; // idb | |
918 extern char aTtsect_special[]; // idb | |
919 extern char aTtsect_base4[]; // idb | |
920 extern char aTtsect_base3[]; // idb | |
921 extern char aTtsect_base2[]; // idb | |
922 extern char aTtsect_base1[]; // idb | |
923 extern char aTtsect_start[]; // idb | |
924 extern char aTtsect_null[]; // idb | |
925 extern char aTttype_roadcit[]; // idb | |
926 extern char aTttype_roads_2[]; // idb | |
927 extern char aTttype_roadsno[]; // idb | |
928 extern char aTttype_roadt_0[]; // idb | |
929 extern char aTttype_roadtro[]; // idb | |
930 extern char aTttype_roads_1[]; // idb | |
931 extern char aTttype_roadswa[]; // idb | |
932 extern char aTttype_roadv_0[]; // idb | |
933 extern char aTttype_roadvol[]; // idb | |
934 extern char aTttype_roads_0[]; // idb | |
935 extern char aTttype_roadsan[]; // idb | |
936 extern char aTttype_roadc_0[]; // idb | |
937 extern char aTttype_roadcra[]; // idb | |
938 extern char aTttype_roadg_0[]; // idb | |
939 extern char aTttype_roadgra[]; // idb | |
940 extern char aTttype_city[]; // idb | |
941 extern char aTttype_swamp[]; // idb | |
942 extern char aTttype_tropica[]; // idb | |
943 extern char aTttype_water[]; // idb | |
944 extern char aTttype_dirt[]; // idb | |
945 extern char aTttype_volcano[]; // idb | |
946 extern char aTttype_sand[]; // idb | |
947 extern char aTttype_snow[]; // idb | |
948 extern char aTttype_cracked[]; // idb | |
949 extern char aTttype_grass[]; // idb | |
950 extern char aTttype_start[]; // idb | |
951 extern char aTttype_null[]; // idb | |
952 extern char aTiletableLoadO[]; // idb | |
953 extern char aTiletableLoadU[]; // idb | |
954 extern char byte_4ECA93[]; // weak | |
955 extern char byte_4ECACF[]; // weak | |
956 extern char byte_4ECB0C[64]; // idb | |
957 extern char aError_0[]; // idb | |
958 extern char aCouldnTLoadMap[]; // idb | |
959 extern char aOut02d_odm[]; // idb | |
960 extern char aOut14_odm[]; // idb | |
961 extern char aOut[]; // idb | |
962 extern char aLunSun[]; // idb | |
963 extern char aLunfull[]; // idb | |
964 extern char aLun34[]; // idb | |
965 extern char aLun12[]; // idb | |
966 extern char aLun14[]; // idb | |
967 extern char aPal03i[]; // idb | |
968 extern const char *pPlayerPortraitsNames[25]; | |
969 extern const char *dlad_texnames_by_face[25]; | |
970 extern const char *dlau_texnames_by_face[25]; | |
971 extern const char *dbod_texnames_by_face[25]; | |
972 extern const char *drh_texnames_by_face[25]; | |
973 extern const char *dlh_texnames_by_face[25]; | |
974 extern const char *dlhu_texnames_by_face[25]; | |
203 | 975 extern unsigned char byte_4ECF08[48][25]; |
976 extern unsigned char SoundSetAction[110][8]; // weak | |
977 //extern unsigned char byte_4ED498; // weak | |
0 | 978 extern __int16 pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing[4]; |
269 | 979 extern char byte_4ED970_skill_learn_ability_by_class_table[36][37]; |
0 | 980 extern int dword_4EDEA0[]; // weak |
981 extern int dword_4EDEB4[]; // weak | |
982 extern int dword_4EDEC4[]; // weak | |
983 extern __int16 word_4EDED8[]; // weak | |
984 extern _UNKNOWN unk_4EDF40; // weak | |
985 extern unsigned int pHiredNPCsIconsOffsetsX[2]; | |
986 extern unsigned int pHiredNPCsIconsOffsetsY[2]; | |
987 extern int dword_4EE07C[2]; // weak | |
988 extern _UNKNOWN unk_4EE084; // weak | |
989 extern __int16 word_4EE088_sound_ids[]; // weak | |
990 extern short word_4EE150[]; | |
991 extern int dword_4EED78; // weak | |
992 extern _UNKNOWN unk_4EED80; // weak | |
993 extern int dword_4EFA80; // weak | |
994 extern int dword_4EFA84; // weak | |
995 extern void *off_4EFDB0; // weak | |
996 extern int dword_4F031C[]; // weak | |
997 extern const char *off_4F03B8[]; // idb | |
410 | 998 //extern __int16 word_4F03FE[]; // weak |
999 //extern __int16 word_4F0400[]; // weak | |
463 | 1000 //extern __int16 word_4F0404[]; |
1001 //extern __int16 word_4F0498[]; // weak | |
0 | 1002 extern __int16 word_4F0576[]; // weak |
463 | 1003 |
1004 //extern __int16 word_4F05AE[]; // weak | |
526 | 1005 |
463 | 1006 //extern __int16 word_4F063E[290]; |
1007 //extern __int16 word_4F06D8[22]; | |
495 | 1008 extern int guild_mambership_flags[32]; |
0 | 1009 extern __int16 word_4F0754[49]; |
463 | 1010 //extern __int16 word_4F07B6[88]; |
651 | 1011 //extern __int16 _word_4F0866_pMaxLevelPerTrainingHallType_negindexing[14]; |
89 | 1012 extern __int16 _4F0882_evt_VAR_PlayerItemInHands_vals[54]; |
651 | 1013 extern unsigned short pMaxLevelPerTrainingHallType[]; |
484 | 1014 extern int price_for_membership[]; // weak |
0 | 1015 extern char byte_4F09B0[]; // weak |
1016 extern char byte_4F09B1[]; // weak | |
1017 extern char byte_4F09B8[]; // weak | |
1018 extern int dword_4F09CC[192]; | |
1019 extern char byte_4F0CCF[]; // weak | |
1020 extern char _4F0D38_TravelInfo[]; // weak | |
1021 extern int dword_4F0E10[32]; | |
1022 extern Vec2_int_ pMonsterArenaPlacements[20]; | |
496 | 1023 extern __int16 word_4F0F30[32]; // weak |
0 | 1024 extern char aS03d[]; // idb |
1025 extern char byte_4F0F98; // idb | |
1026 extern char sz[]; // idb | |
1027 extern char aSSSSSS[]; // idb | |
1028 extern char aSDS[]; // idb | |
1029 extern char aSS_3[]; // idb | |
1030 extern char aSSSS[]; // idb | |
1031 extern char aS_2[]; // idb | |
1032 extern char aErrorlog_txt[]; // idb | |
1033 extern char aUnsupportedPix[]; // idb | |
1034 extern char aSmackerError[]; // idb | |
1035 extern char aCS[]; // idb | |
1036 extern char aAnimsMagic7_vi[]; // idb | |
1037 extern char aVideoFileError[]; // idb | |
1038 extern char aCanTOpenFileAn[]; // idb | |
1039 extern char aAnimsMight7_vi[]; // idb | |
1040 extern char aCanTLoadS[]; // idb | |
1041 extern char aS_smk[]; // idb | |
1042 extern char aUnsupportedBin[27]; // weak | |
1043 extern char aEWorkMsdevM_29[]; // idb | |
1044 extern char aFailedToOpenBl[]; // idb | |
1045 extern char aCanTAllocateMe[33]; // weak | |
1046 extern char aCanTLoadFileAn[]; // idb | |
1047 extern char aS_bik[]; // idb | |
1048 extern char aMm7_win_pcx[]; // idb | |
1049 extern char aLuSLuSLuS[]; // idb | |
1050 extern char aEndgame_fnt[]; // idb | |
1051 extern char aWinbg_pcx[10]; // weak | |
1052 extern char aDefaultCaseRea[]; // idb | |
1053 extern char aUnsupportedExc[71]; // weak | |
1054 extern char aEWorkMsdevM_30[]; // idb | |
1055 extern char aUndefinedTypeR[]; // idb | |
1056 extern char aUnknownPointer[]; // idb | |
1057 extern char a1_1_3[6]; // weak | |
1058 extern double dbl_4F2870; // weak | |
1059 extern int dword_4F288C; // weak | |
1060 extern double dbl_4F5372; // weak | |
1061 extern int dword_4F5428[]; // weak | |
1062 extern int dword_4F542C[]; // weak | |
1063 extern _UNKNOWN crtunk_4F54B8; // weak | |
1064 extern int dword_4F5B24_ys[]; // idb | |
1065 extern int dword_4F5BF4_xs[]; // idb | |
1066 extern int dword_4F5CC4_ys[]; // idb | |
1067 extern int dword_4F5D98_xs[]; // idb | |
1068 extern int ai_array_4F5E68[500]; | |
1069 extern int ai_array_4F6638_actor_ids[500]; | |
417 | 1070 extern int ai_near_actors_targets_pid[500]; |
0 | 1071 extern int ai_arrays_size; // weak |
390 | 1072 extern int ai_near_actors_distances[500]; |
1073 extern unsigned int ai_near_actors_ids[500]; | |
0 | 1074 extern int dword_4F8580[]; // weak |
1075 extern int dword_4FA9B0[]; // weak | |
1076 extern int dword_4FA9B4[]; // weak | |
1077 extern char byte_4FAA00; // weak | |
1078 extern __int16 am_sounds[12]; | |
1079 extern _UNKNOWN unk_4FAA20; // weak | |
1080 extern char byte_4FAA24; // weak | |
1081 extern HWND dword_4FAA28; // idb | |
1082 extern char byte_4FAA2C; // weak | |
1083 extern char byte_4FAA2D; // weak | |
1084 extern char byte_4FAA2E; // weak | |
1085 extern int amuint_4FAA34; // weak | |
1086 extern int amuint_4FAA38; // weak | |
1087 extern int amuint_4FAA3C_blt_xy[2]; | |
1088 extern int am_uint_4FAA44_blt_xy[2]; | |
1089 extern int amuint_4FAA4C; // weak | |
1090 extern unsigned int uCardID; // idb | |
1091 extern int amuint_4FAA54_blt_xy[2]; | |
1092 extern int amuint_4FAA5C_blt_xy[2]; | |
1093 extern int dword_4FAA64; // weak | |
1094 extern int dword_4FAA68; // weak | |
1095 extern int amuint_4FAA6C; // idb | |
1096 extern int dword_4FAA70; // weak | |
1097 extern char byte_4FAA74; // weak | |
1098 extern char am_byte_4FAA75; // weak | |
1099 extern char am_byte_4FAA76; // weak | |
1100 extern char am_byte_4FAA77; // weak | |
1101 extern int amuint_4FAA78[777]; // weak | |
1102 extern char am_byte_4FAA7C[777]; // weak | |
1103 extern int amuint_4FAA80[777]; // weak | |
1104 extern int amuint_4FAA84[777]; // weak | |
1105 extern int amuint_4FAA88[777]; // weak | |
1106 extern int amuint_4FAA8C[777]; // weak | |
1107 extern int amuint_4FAA90[777][2]; | |
1108 extern int dword_4FABB8; // weak | |
1109 extern signed int dword_4FABBC; // idb | |
1110 extern unsigned int amuint_4FABC0; // idb | |
1111 extern int amuint_4FABC4; // weak | |
1112 extern int dword_4FABC8; // weak | |
1113 extern char byte_4FABD0[]; // weak | |
1114 extern char byte_4FABD1[]; // weak | |
1115 extern _UNKNOWN unk_4FABD4; // weak | |
1116 extern int dword_4FABD8[]; // weak | |
1117 extern int dword_4FABDC[]; // weak | |
1118 extern int dword_4FABE0[]; // weak | |
1119 extern int dword_4FABE4[]; // weak | |
1120 extern int dword_4FABE8[]; // weak | |
1121 extern int dword_4FABEC[]; // weak | |
1122 extern int dword_4FABF0[]; // weak | |
1123 extern int dword_4FABF4[]; // weak | |
1124 extern int dword_4FABF8[]; // weak | |
1125 extern int dword_4FABFC[]; // weak | |
1126 extern int dword_4FAC00[]; // weak | |
1127 extern int dword_4FAC04[]; // weak | |
1128 extern int dword_4FAC08[]; // weak | |
1129 extern int dword_4FAC0C[]; // weak | |
1130 extern _UNKNOWN unk_5052C8; // weak | |
1131 extern int dword_505314[]; // weak | |
1132 extern char byte_5054C8[32]; // idb | |
1133 extern char byte_5054E8[108]; | |
1134 extern int dword_505554[]; // weak | |
1135 extern _UNKNOWN unk_505704; // weak | |
1136 extern char byte_505880; // weak | |
1137 extern char byte_505881; // weak | |
1138 extern int amuint_505884; // weak | |
1139 extern int amuint_505888; // weak | |
1140 extern int amuint_50588C; // weak | |
1141 extern int dword_505890; // weak | |
1142 extern unsigned int pSRZBufferLineOffsets[480]; | |
1143 extern int areWeLoadingTexture; // weak | |
1144 extern char byte_506130[]; // weak | |
1145 extern int dword_506338; // weak | |
1146 extern int dword_50633C; // idb | |
1147 extern signed int sRecoveryTime; // idb | |
1148 extern unsigned int uRequiredMana; // idb | |
1149 extern int _506348_current_lloyd_playerid; // weak | |
1150 extern __int64 qword_506350; // weak | |
1151 extern char byte_506360; // weak | |
1152 extern int dword_506364; // weak | |
73 | 1153 extern Texture *dword_50640C[]; // weak |
526 | 1154 extern unsigned int uExitCancelTextureId; |
0 | 1155 extern int dword_50651C; // weak |
521 | 1156 extern int awards_count; // weak |
1157 extern int awards_count2; // weak | |
0 | 1158 extern int dword_506528; // weak |
1159 extern int dword_50652C; // weak | |
1160 extern int dword_506530; // weak | |
1161 extern int dword_506534; // weak | |
1162 extern int dword_506538; // weak | |
1163 extern int dword_50653C; // weak | |
1164 extern int dword_506540; // weak | |
1165 extern int dword_506544; // weak | |
1166 extern int dword_506548; // weak | |
1167 extern int dword_50654C; // weak | |
1168 extern char byte_506550; // weak | |
1169 extern char *aMoonPhaseNames[5]; | |
1170 extern int dword_506568; // weak | |
1171 extern char bRecallingBeacon; // weak | |
1172 extern int uLastPointedObjectID; // weak | |
1173 //extern unsigned __int8 bMonsterInfoUI_bDollInitialized; | |
1174 extern char *aSpellNames[44]; | |
11 | 1175 extern int pMainScreenNum; // weak |
0 | 1176 extern char byte_50697C; // weak |
1177 extern int dword_506980; // weak | |
1178 extern int dword_506984; // weak | |
1179 extern int dword_506988; // weak | |
1180 extern int dword_50698C; // weak | |
1181 extern int dword_506E68; // weak | |
369 | 1182 extern char KeyButtonFlagChangesArray[28]; // weak |
0 | 1183 extern unsigned int pPrevVirtualCidesMapping[27]; |
362 | 1184 extern int KeyboardPageNum; // weak |
0 | 1185 extern int dword_506F0C[]; // idb |
1186 extern int uRestUI_FoodRequiredToRest; | |
1187 extern int dword_506F14; // weak | |
1188 extern int _506F18_num_hours_to_sleep; // weak | |
1189 extern int dword_506F1C; // weak | |
1190 extern int pVisibleWindowsIdxs[20]; // weak | |
1191 extern int uNumVisibleWindows; | |
1192 extern char bFlashHistoryBook; // weak | |
1193 extern char bFlashAutonotesBook; // weak | |
1194 extern char bFlashQuestBook; // weak | |
569 | 1195 extern int uTextureID_PlayerBuff_PainReflection; // weak |
1196 extern int uTextureID_PlayerBuff_Hammerhands; // weak | |
1197 extern int uTextureID_PlayerBuff_Preservation; // weak | |
1198 extern int uTextureID_PlayerBuff_Bless; // weak | |
319 | 1199 extern int uTextureID_Btn_QuickReference; // weak |
0 | 1200 extern int dword_5079B4; // weak |
1201 extern int dword_5079C8; // weak | |
1202 extern int dword_5079CC; // weak | |
1203 extern int dword_5079D0; // weak | |
1204 extern int dword_5079D8; // weak | |
319 | 1205 extern struct GUIButton *pBtn_ZoomOut; // idb |
1206 extern struct GUIButton *pBtn_ZoomIn; // idb | |
0 | 1207 extern unsigned int uGameUIFontShadow; |
1208 extern unsigned int uGameUIFontMain; | |
1209 extern int dword_507B00_spell_info_to_draw_in_popup; // weak | |
1210 extern char *aMonthNames[12]; | |
1211 extern char *aDayNames[7]; | |
1212 extern char *aSpellSchoolNames[9]; | |
1213 extern char *aAttributeNames[7]; | |
1214 extern int dword_507B94; // weak | |
1215 extern int dword_507B98_ctrl_pressed; // weak | |
1216 extern unsigned int uActiveCharacter; | |
1217 extern int dword_507BF0_is_there_popup_onscreen; // weak | |
1218 extern int dword_507C08; // weak | |
1219 extern int dword_507C0C; // weak | |
1220 extern int dword_507CBC; // weak | |
1221 extern int dword_507CC0; // weak | |
569 | 1222 extern __int64 GameUI_RightPanel_BookFlashTimer; // weak |
0 | 1223 extern int _507CD4_RestUI_hourglass_anim_controller; // weak |
1224 extern int dword_507CD8; // weak | |
1225 extern int dword_50B570[]; // weak | |
1226 extern int dword_50B638[]; // weak | |
1227 extern int dword_50B700; // weak | |
1228 extern int dword_50B738[]; // idb | |
561 | 1229 extern int _50B744_view_transformed_ys[]; |
0 | 1230 extern int dword_50B828[]; |
561 | 1231 extern int _50B834_view_transformed_zs[]; |
0 | 1232 extern int dword_50B918[]; |
561 | 1233 extern int _50B924_view_transformed_xs[]; |
1234 //extern int unk_50B9D4[]; // idb | |
0 | 1235 extern int dword_50B9D8_ys[]; |
561 | 1236 extern int dword_50B9E4[]; |
1237 //extern int dword_50B9E0_ys[]; // idb | |
1238 //extern int dword_50B9EC[]; // idb | |
1239 extern int dword_50B9F0[]; // idb | |
1240 //extern int dword_50BAE8_xs[]; | |
1241 //extern int dword_50BAF4_xs[]; | |
1242 //extern int dword_50B9F8_xs[]; // idb | |
1243 extern int dword_50B9FC_ys[]; | |
1244 extern int dword_50BA08_ys[]; // idb | |
1245 //extern int dword_50BAC4[]; // weak | |
0 | 1246 extern int dword_50BAC8[]; // idb |
561 | 1247 //extern int dword_50BAD0[]; // weak |
0 | 1248 extern int dword_50BAD4[]; // weak |
561 | 1249 //extern int dword_50BADC_xs[]; // weak |
0 | 1250 extern int dword_50BAE0[]; // weak |
1251 extern int dword_50BAE8[]; // weak | |
1252 extern int dword_50BAEC_xs[]; // weak | |
561 | 1253 //extern int dword_50BAF4[]; // weak |
0 | 1254 extern int dword_50BAF8_xs[]; // weak |
1255 extern int dword_50BC10[]; // weak | |
1256 extern int dword_50BDA0[]; // weak | |
1257 extern int dword_50BF30[]; // weak | |
1258 extern char byte_50C0C0; // weak | |
1259 extern int some_active_character; // weak | |
1260 extern _UNKNOWN unk_50C190; // weak | |
1261 extern int dword_50C968; // weak | |
1262 extern unsigned int pIconIDs_Turn[5]; | |
1263 extern unsigned int uIconID_TurnStop; | |
1264 extern unsigned int uIconID_TurnHour; | |
1265 extern int uIconID_CharacterFrame; // idb | |
1266 extern int dword_50C98C; // weak | |
1267 extern unsigned int uIconID_TurnStart; | |
1268 extern int dword_50C994; // weak | |
1269 extern int dword_50C998_turnbased_icon_1A; // weak | |
1270 extern int uSpriteID_Spell11; // idb | |
1271 extern _UNKNOWN unk_50C9A0; // weak | |
1272 extern int dword_50C9A8; // weak | |
1273 extern int dword_50C9AC; // weak | |
1274 extern int dword_50C9D0; // weak | |
1275 extern int dword_50C9D4; // weak | |
1276 extern int dword_50C9D8; // weak | |
1277 extern int dword_50C9DC; // weak | |
1278 extern struct NPCData *ptr_50C9E0; | |
1279 extern int dword_50C9E8; // idb | |
437 | 1280 extern int dword_50C9EC[]; // 50C9EC |
1281 extern int dword_50CDC8; | |
0 | 1282 extern int dword_50CDCC; // weak |
1283 extern int bProcessorIsNotIntel; // weak | |
1284 extern Vec3_int_ layingitem_vel_50FDFC; | |
1285 extern char pStartingMapName[]; // idb | |
1286 extern unsigned __int8 IsPlayerWearingWatersuit[5]; | |
1287 extern char byte_5111C0[54]; | |
513 | 1288 extern char byte_5111F6[]; |
0 | 1289 extern unsigned int papredoll_dbrds[16]; |
1290 extern unsigned int papredoll_drhs[4]; | |
1291 extern unsigned int papredoll_dlhus[4]; | |
1292 extern unsigned int papredoll_dlhs[4]; | |
1293 extern unsigned int papredoll_dbods[5]; | |
1294 extern int paperdoll_array_511290[4][17][3]; | |
1295 extern unsigned int papredoll_dlaus[5]; | |
1296 extern unsigned int papredoll_dlads[4]; | |
1297 extern int papredoll_flying_feet[]; // idb | |
1298 extern int dword_511638[4][6]; | |
1299 extern int dword_511788[]; // weak | |
1300 extern int dword_51179C; // weak | |
1301 extern int dword_5117A0; // weak | |
1302 extern int dword_5117A4; // weak | |
1303 extern int dword_5117A8; // weak | |
1304 extern int dword_5117AC; // weak | |
1305 extern int paperdoll_array_511828[4][10]; | |
1306 extern int bRingsShownInCharScreen; // weak | |
1307 extern int _unused000; // weak | |
1308 | |
142 | 1309 extern unsigned __int16 pOdmMinimap[117][137]; |
0 | 1310 extern unsigned int uNumBlueFacesInBLVMinimap; |
1311 extern unsigned __int16 pBlueFacesInBLVMinimapIDs[50]; | |
569 | 1312 extern int pTextureIDs_PartyBuffIcons[14]; |
1313 extern unsigned int uIconIdx_FlySpell; | |
1314 extern unsigned int uIconIdx_WaterWalk; | |
0 | 1315 extern int dword_576E28; // weak |
1316 extern int dword_576E2C; // weak | |
1317 extern __int64 _5773B8_event_timer; // weak | |
1318 extern int dword_5773C0; // weak | |
1319 | |
629 | 1320 |
0 | 1321 extern int dword_591084; // weak |
1322 extern struct Actor *pDialogue_SpeakingActor; | |
1323 extern unsigned int uDialogueType; | |
602 | 1324 extern signed int sDialogue_SpeakingActorNPC_ID; |
0 | 1325 extern struct LevelDecoration *_591094_decoration; |
423 | 1326 extern char sHouseName[200]; // idb |
0 | 1327 extern int uCurrentHouse_Animation; // weak |
1328 extern char *dword_591164_teleport_map_name; // idb | |
1329 extern int dword_591168_teleport_speedz; // weak | |
1330 extern int dword_59116C_teleport_directionx; // weak | |
1331 extern int dword_591170_teleport_directiony; // weak | |
1332 extern int dword_591174_teleportz; // weak | |
1333 extern int dword_591178_teleporty; // weak | |
1334 extern int dword_59117C_teleportx; // weak | |
1335 extern char byte_591180[600]; // idb | |
457 | 1336 extern struct NPCData *HouseNPCData[6]; |
629 | 1337 |
0 | 1338 extern struct Texture *pTexture_591428; |
1339 extern struct Texture *pTexture_outside; // idb | |
1340 extern struct Texture *pTexture_Dialogue_Background; | |
1341 extern _UNKNOWN unk_597F10; // weak | |
336 | 1342 extern int start_event_seq_number; // weak |
0 | 1343 extern char byte_5B0938[2000]; |
469 | 1344 extern int EvtTargetObj; // weak |
434 | 1345 extern int _unused_5B5924_is_travel_ui_drawn; // 005B5924 |
0 | 1346 extern int _5B65A8_npcdata_uflags_or_other; // weak |
1347 extern int _5B65AC_npcdata_fame_or_other; // weak | |
1348 extern int _5B65B0_npcdata_rep_or_other; // weak | |
1349 extern int _5B65B4_npcdata_loword_house_or_other; // weak | |
1350 extern int _5B65B8_npcdata_hiword_house_or_other; // weak | |
1351 extern int dword_5B65BC; // weak | |
1352 extern int dword_5B65C0; // weak | |
1353 extern int dword_5B65C4; // weak | |
336 | 1354 extern int dword_5B65C8_timers_count; // weak |
0 | 1355 extern int dword_5B65CC; // weak |
1356 extern int dword_5B65D0_dialogue_actor_npc_id; // weak | |
1357 extern int dword_5C3418; // weak | |
1358 extern int dword_5C341C; // weak | |
520
35f28d4c0ff9
GlobalEventInfo changed to LevelDecoration* activeLevelDecoration
Gloval
parents:
515
diff
changeset
|
1359 extern int _5C3420_pDecoration; |
0 | 1360 extern char byte_5C3427[]; // weak |
1361 extern char GameUI_StatusBar_TimedString[200]; | |
1362 extern char pStatusBarString[200]; | |
1363 extern unsigned int GameUI_StatusBar_TimedStringTimeLeft; | |
1364 extern int bForceDrawStatusBar; // weak | |
1365 extern int dword_5C35C0; // weak | |
1366 extern int bDialogueUI_InitializeActor_NPC_ID; // weak | |
1367 extern int dword_5C35C8; // weak | |
1368 extern char *p2DEventsTXT_Raw; | |
629 | 1369 |
0 | 1370 extern int dword_5C35D4; // weak |
1371 extern char *aAMPMNames[2]; | |
1372 extern char byte_5C45AF[]; // weak | |
200 | 1373 extern char pTmpBuf3[]; |
0 | 1374 extern char pFinalMessage[4096]; // idb |
1375 extern char pTmpBuf[2000]; | |
1376 extern char pTmpBuf2[2000]; | |
1377 extern char byte_5C6D50[]; // weak | |
1378 extern int ui_current_text_color; // weak | |
1379 extern __int64 qword_5C6DF0; // weak | |
1380 extern int dword_5C6DF8; // weak | |
1381 extern char item__getname_buffer[104]; // idb | |
1382 extern char *pClassDescriptions[36]; | |
1383 extern char *pAttributeDescriptions[7]; | |
1384 extern char *pGrandSkillDesc[38]; | |
1385 extern char *pMasterSkillDesc[38]; | |
1386 extern char *pExpertSkillDesc[38]; | |
1387 extern char *pNormalSkillDesc[38]; | |
1388 extern char *pSkillDesc[38]; | |
1389 extern char *pHealthPointsAttributeDescription; | |
1390 extern char *pSpellPointsAttributeDescription; | |
1391 extern char *pArmourClassAttributeDescription; | |
1392 extern char *pPlayerConditionAttributeDescription; // idb | |
1393 extern char *pFastSpellAttributeDescription; | |
1394 extern char *pPlayerAgeAttributeDescription; | |
1395 extern char *pPlayerLevelAttributeDescription; | |
1396 extern char *pPlayerExperienceAttributeDescription; | |
1397 extern char *pAttackBonusAttributeDescription; | |
1398 extern char *pAttackDamageAttributeDescription; | |
1399 extern char *pMissleBonusAttributeDescription; | |
1400 extern char *pMissleDamageAttributeDescription; | |
1401 extern char *pFireResistanceAttributeDescription; | |
1402 extern char *pAirResistanceAttributeDescription; | |
1403 extern char *pWaterResistanceAttributeDescription; | |
1404 extern char *pEarthResistanceAttributeDescription; | |
1405 extern char *pMindResistanceAttributeDescription; | |
1406 extern char *pBodyResistanceAttributeDescription; | |
1407 extern char *pSkillPointsAttributeDescription; | |
1408 extern char *pClassTXT_Raw; | |
1409 extern char *pStatsTXT_Raw; | |
1410 extern char *pSkillDescTXT_Raw; | |
521 | 1411 extern int achievedAwardsIndex[1000]; |
0 | 1412 extern struct FactionTable *pFactionTable; |
1413 extern char byte_5C8D1A[]; // weak | |
189 | 1414 |
0 | 1415 extern char byte_5E4C15[]; // weak |
1416 extern char *pSomeItemsNames[14]; | |
189 | 1417 |
0 | 1418 extern char *pMonstersTXT_Raw; |
1419 extern char *pMonsterPlacementTXT_Raw; | |
1420 extern char *pSpellsTXT_Raw; | |
1421 extern char *pMapStatsTXT_Raw; | |
1422 extern char *pHostileTXT_Raw; | |
1423 extern char *pPotionsTXT_Raw; | |
1424 extern char *pPotionNotesTXT_Raw; | |
233 | 1425 |
0 | 1426 extern int _6807B8_level_decorations_ids[]; // idb |
1427 extern int _6807E0_num_decorations_with_sounds_6807B8; // weak | |
1428 extern int _6807E8_level_decorations_ids[]; // idb | |
1429 extern int _6836C8_num_decorations_6807E8; // weak | |
1430 extern int dword_69B010[64]; | |
1431 extern float flt_69B138_dist; // weak | |
1432 extern char byte_69BD41_unused; // weak | |
1433 extern unsigned int uTextureID_x_u; | |
1434 extern unsigned int uTextureID_LS_saveU; | |
1435 extern unsigned int uTextureID_LS_loadU; | |
1436 extern unsigned int uTextureID_AR_DN_DN; | |
1437 extern unsigned int uTextureID_AR_UP_DN; | |
1438 extern unsigned int uTextureID_LS_; | |
1439 extern unsigned int uTextureID_x_d; | |
1440 extern unsigned int uTextureID_save_up; | |
1441 extern unsigned int uTextureID_load_up; | |
1442 extern unsigned int uTextureID_loadsave; | |
1443 extern _UNKNOWN _69FBB4_ptr_iterator_end; // weak | |
1444 extern _UNKNOWN unk_6A0758; // weak | |
2 | 1445 extern int pSaveListPosition; // weak |
0 | 1446 extern unsigned int uLoadGameUI_SelectedSlot; |
1447 extern HWND hInsertCDWindow; // idb | |
1448 extern int uCPUSpeed; // weak | |
1449 extern char cMM7GameCDDriveLetter; // idb | |
1450 extern void *ptr_6A0D08; | |
1451 extern int _6A0D0C_txt_lod_loading; // weak | |
1452 extern int _6A0D10_txt_lod_loading__unused; // weak | |
1453 extern enum MENU_STATE uCurrentMenuID; | |
1454 extern unsigned int uGameState; | |
1455 extern int uDefaultTravelTime_ByFoot; // weak | |
1456 extern int day_attrib; // weak | |
1457 extern int day_fogrange_1; // weak | |
1458 extern int day_fogrange_2; // weak | |
1459 extern struct TileTable *pTileTable; // idb | |
1460 extern int texmapping_terrain_subdivsize; // weak | |
1461 extern int texmapping_terrain_subdivpow2; // weak | |
1462 extern int texmapping_building_subdivsize; // weak | |
1463 extern int texmapping_building_subdivpow2; // weak | |
1464 extern int unnamed_6BE060[2]; | |
1465 extern int mipmapping_building_mm1; // weak | |
1466 extern int mipmapping_building_mm2; // weak | |
1467 extern int mipmapping_building_mm3; // weak | |
1468 extern int mipmapping_terrain_mm1; // weak | |
1469 extern int mipmapping_terrain_mm2; // weak | |
1470 extern int mipmapping_terrain_mm3; // weak | |
1471 extern int outdoor_grid_band_1; // idb | |
1472 extern int outdoor_grid_band_2; // idb | |
1473 extern int outdoor_grid_band_3; // idb | |
1474 extern char outdoor_day_top_r; // weak | |
1475 extern char outdoor_day_top_g; // weak | |
1476 extern char outdoor_day_top_b; // weak | |
1477 extern char outdoor_day_bottom_r; // weak | |
1478 extern char outdoor_day_bottom_g; // weak | |
1479 extern char outdoor_day_bottom_b; // weak | |
1480 extern char outdoor_night_top_r; // weak | |
1481 extern char outdoor_night_top_g; // weak | |
1482 extern char outdoor_night_top_b; // weak | |
1483 extern char outdoor_night_bottom_r; // weak | |
1484 extern char outdoor_night_bottom_g; // weak | |
1485 extern char outdoor_night_bottom_b; // weak | |
1486 extern char pDefaultSkyTexture[]; // idb | |
1487 extern char byte_6BE124_cfg_textures_DefaultGroundTexture[16]; // idb | |
1488 extern int _6BE134_odm_main_tile_group; // weak | |
1489 extern int dword_6BE138; // weak | |
1490 extern int dword_6BE13C_uCurrentlyLoadedLocationID; // weak | |
1491 extern float fWalkSpeedMultiplier; // weak | |
1492 extern float fBackwardWalkSpeedMultiplier; // weak | |
1493 extern float fTurnSpeedMultiplier; // weak | |
1494 extern float flt_6BE150_look_up_down_dangle; // weak | |
1495 //extern char pMM7WindowClassName[]; // idb | |
1496 //extern HINSTANCE hInstance; // idb | |
1497 //extern char *pCmdLine; | |
1498 extern HWND hWnd; // idb | |
1499 extern int uWindowWidth; // idb | |
1500 extern int uWindowHeight; // idb | |
1501 extern int uWindowX; // idb | |
1502 extern int uWindowY; // idb | |
1503 extern LONG uWindowStyle; // idb | |
1504 extern HMENU hOSMenu; // idb | |
1505 extern int dword_6BE340; // weak | |
1506 extern char pCurrentMapName[20]; // idb | |
1507 extern unsigned int uLevelMapStatsID; | |
1508 extern int uLevel_StartingPointType; // weak | |
1509 extern int dword_6BE364_game_settings_1; // weak | |
1510 extern int dword_6BE368_debug_settings_2; // weak | |
1511 extern unsigned __int8 bUseLoResSprites; | |
1512 extern unsigned __int8 bUseRegistry; | |
1513 extern unsigned __int8 bCanLoadFromCD; | |
1514 extern int bShowDamage; // idb | |
1515 extern unsigned int bAlwaysRun; | |
1516 extern unsigned int bFlipOnExit; | |
1517 extern int dword_6BE384_2dacceloff; // weak | |
1518 extern char byte_6BE388_graphicsmode; // weak | |
1519 extern unsigned int uTurnSpeed; | |
1520 extern float flt_6BE3A0; // weak | |
1521 extern float flt_6BE3A4_debug_recmod1; | |
1522 extern float flt_6BE3A8_debug_recmod2; | |
1523 extern float flt_6BE3AC_debug_recmod1_x_1_6; | |
1524 extern char byte_6BE3B0[20]; // idb | |
1525 extern char bUnderwater; // weak | |
1526 extern char bNoNPCHiring; // weak | |
1527 extern int _702AC0_unused; // weak | |
1528 extern int _702AC4_unused; // weak | |
1529 extern char _702ACC_unused; // weak | |
1530 extern int bDebugResouces; // weak | |
1531 extern unsigned int bNoVideo; | |
1532 extern bool bNoIntro; | |
1533 extern bool bNoLogo; | |
1534 extern bool bNoCD; | |
1535 extern bool bNoSound; | |
1536 extern int aborting_app; // weak | |
1537 extern int dword_720020_zvalues[100]; | |
1538 extern int dword_7201B0_zvalues[299]; | |
1539 extern int dword_72065C[]; // weak | |
1540 extern int dword_720660[]; // idb | |
1541 extern int dword_7207EC[]; // weak | |
1542 extern int dword_7207F0[]; // idb | |
1543 extern int uTextureID_720980; // weak | |
1544 extern int _720984_unused; // weak | |
1545 extern char _72098C_unused; // weak | |
1546 extern __int16 word_7209A0_intercepts_ys_plus_ys[104]; | |
1547 extern __int16 word_720A70_intercepts_xs_plus_xs[104]; | |
1548 extern __int16 word_720B40_intercepts_zs[104]; | |
1549 extern __int16 word_720C10_intercepts_xs[102]; | |
1550 extern int dword_720CDC; | |
1551 extern __int16 word_720CE0_ys[]; // idb | |
1552 extern __int16 word_720DB0_xs[]; // idb | |
1553 extern int dword_720E80[20]; | |
1554 extern int dword_720ED0[20]; | |
1555 extern int dword_720F20[20]; | |
1556 extern __int16 word_720F70[]; // idb | |
1557 extern __int16 word_721040[]; // idb | |
1558 extern int dword_721110[]; // idb | |
1559 extern int dword_721160[]; // idb | |
1560 extern int dword_7211B0[]; // idb | |
1561 extern int dword_721200[]; // idb | |
1562 extern int dword_7212C8[]; // idb | |
1563 extern __int16 word_721390[]; // idb | |
1564 extern __int16 word_721460[]; // idb | |
1565 extern int blv_prev_party_x; // weak | |
1566 extern int blv_prev_party_z; // weak | |
1567 extern int blv_prev_party_y; // weak | |
1568 extern char *dword_721660; // idb | |
1569 extern char *dword_721664; // idb | |
1570 extern char *dword_722F10; // idb | |
1571 extern const char *pQuestTable[512]; | |
1572 extern _UNKNOWN unk_723714; // weak | |
1573 extern char *dword_723718_autonote_related; // idb | |
1574 extern int dword_72371C[]; // weak | |
1575 extern const char *pScrolls[82]; | |
1576 extern int dword_723E80_award_related[]; // weak | |
1577 extern int dword_723E84[]; // weak | |
1578 extern int dword_7241C8; // weak | |
629 | 1579 |
0 | 1580 extern char *aNPCProfessionNames[59]; |
1581 extern char *pAwardsTXT_Raw; | |
1582 extern char *pScrollsTXT_Raw; | |
1583 extern char *pMerchantsTXT_Raw; | |
1584 extern const char *pMerchantsBuyPhrases[7]; | |
1585 extern const char *pMerchantsSellPhrases[7]; | |
1586 extern const char *pMerchantsRepairPhrases[7]; | |
1587 extern const char *pMerchantsIdentifyPhrases[7]; | |
1588 extern char *pTransitionsTXT_Raw; | |
1589 extern char *pAutonoteTXT_Raw; | |
1590 extern char *pQuestsTXT_Raw; | |
67 | 1591 extern unsigned int uNumTerrainNormals; |
0 | 1592 extern struct Vec3_float_ *pTerrainNormals; |
67 | 1593 extern unsigned short pTerrainNormalIndices[128 * 128 * 2]; |
1594 extern unsigned int pTerrainSomeOtherData[128 * 128 * 2]; | |
0 | 1595 extern int dword_76D518_terrain_cell_world_pos_around_party_y; // weak |
1596 extern int dword_76D51C_terrain_cell_world_pos_around_party_y; // weak | |
1597 extern int dword_76D520_terrain_cell_world_pos_around_party_y; // weak | |
1598 extern int dword_76D524_terrain_cell_world_pos_around_party_y; // weak | |
1599 extern int dword_76D528_terrain_cell_world_pos_around_party_z; // weak | |
1600 extern int dword_76D52C_terrain_cell_world_pos_around_party_z; // weak | |
1601 extern int dword_76D530_terrain_cell_world_pos_around_party_z; // weak | |
1602 extern int dword_76D534_terrain_cell_world_pos_around_party_z; // weak | |
1603 extern int dword_76D538_terrain_cell_world_pos_around_party_x; // weak | |
1604 extern int dword_76D53C_terrain_cell_world_pos_around_party_x; // weak | |
1605 extern int dword_76D540_terrain_cell_world_pos_around_party_x; // weak | |
1606 extern int dword_76D544_terrain_cell_world_pos_around_party_x; // weak | |
138 | 1607 //extern int dword_76D548_terrain_cell_world_pos_around_party_y; // weak |
1608 //extern int dword_76D54C_terrain_cell_world_pos_around_party_y; // weak | |
1609 //extern int dword_76D550_terrain_cell_world_pos_around_party_y; // weak | |
1610 //extern int dword_76D554_terrain_cell_world_pos_around_party_y; // weak | |
1611 //extern int dword_76D558_terrain_cell_world_pos_around_party_z; // weak | |
1612 //extern int dword_76D55C_terrain_cell_world_pos_around_party_z; // weak | |
1613 //extern int dword_76D560_terrain_cell_world_pos_around_party_z; // weak | |
1614 //extern int dword_76D564_terrain_cell_world_pos_around_party_z; // weak | |
1615 //extern int dword_76D568_terrain_cell_world_pos_around_party_x; // weak | |
1616 //extern int dword_76D56C_terrain_cell_world_pos_around_party_x; // weak | |
1617 //extern int dword_76D570_terrain_cell_world_pos_around_party_x; // weak | |
1618 //extern int dword_76D574_terrain_cell_world_pos_around_party_x; // weak | |
67 | 1619 extern char byte_76D5C0; |
1620 extern struct unk_F7B60C stru_76D578; | |
1621 extern struct unk_F7B60C stru_76D590; | |
1622 extern struct unk_F7B60C stru_76D5A8; | |
0 | 1623 extern int terrain_76D5C8[128]; |
1624 extern int terrain_76D7C8[128]; | |
1625 extern int terrain_76D9C8[128]; | |
1626 extern int terrain_76DBC8[128]; | |
1627 extern int terrain_76DDC8[128]; | |
1628 extern int terrain_76DFC8[128]; | |
1629 extern int terrain_76E1C8[128]; | |
1630 extern int terrain_76E3C8[128]; | |
67 | 1631 extern struct unk_F7B60C |
1632 { | |
1633 int some_data_ptr; // dword @ 000000 | |
1634 float flt_000004; | |
1635 float flt_000008; | |
1636 float flt_00000C; | |
1637 float flt_000010; | |
1638 char byte_000014; | |
1639 char unk_000015[3]; | |
1640 }; | |
0 | 1641 extern _UNKNOWN unk_801A00; // weak |
1642 extern _UNKNOWN unk_801A0C; // weak | |
1643 extern char byte_80AA10; // weak | |
1644 extern int dword_80AA14; // weak | |
1645 extern int dword_80AA18; // weak | |
1646 extern int dword_80AA1C; // weak | |
1647 extern int dword_80AA20; // weak | |
1648 extern unsigned int uNumElementsIn80AA28; | |
265 | 1649 extern struct stru148 *ptr_80AA28[]; |
0 | 1650 extern struct Edge *pNewEdges; |
1651 extern struct Surf *pSurfs; | |
1652 extern struct Edge *pEdges; | |
1653 extern struct Span *pSpans; | |
1654 extern struct Edge *ptr_80C978_Edges; | |
1655 extern struct Surf *ptr_80C97C_Surfs; | |
1656 extern struct Edge *ptr_80CA10[480]; | |
1657 extern _UNKNOWN unk_80D190; // weak | |
1658 extern int dword_A74C88; // weak | |
1659 extern unsigned int uPlayerCreationUI_SkySliderPos; | |
1660 extern int uPlayerCreationUI_ArrowAnim; | |
1661 extern unsigned int uPlayerCreationUI_SelectedCharacter; | |
1662 extern int dword_A74CDC; // weak | |
1663 extern struct Texture *pTexture_PlayerFaceMask; | |
1664 extern struct Texture *pTexture_PlayerFaceEradicated; | |
1665 extern struct Texture *pTexture_PlayerFaceDead; | |
1666 extern struct Texture *pTextures_PlayerFaces[4][56]; | |
1667 extern int dword_A75070; // weak | |
1668 extern struct Player *pPlayers[5]; | |
1669 extern __int64 qword_A750D8; // weak | |
1670 extern __int16 word_A750E0; // weak | |
1671 extern __int16 word_A750E2; // weak | |
1672 extern char *pClassNames[36]; | |
1673 extern char *aCharacterConditionNames[19]; | |
1674 extern char *pSkillNames[38]; | |
1675 extern char byte_AE3368[]; // weak | |
1676 extern char byte_AE3369; // weak | |
1677 extern char byte_AE336A; // weak | |
1678 extern char byte_AE336B; // weak | |
1679 extern int dword_AE336C; // weak | |
1680 extern int dword_AE3370; // weak | |
1681 extern char byte_AE5B91; // weak | |
1682 extern int dword_F1B430[32]; // weak | |
1683 extern int dword_F8B144; // idb | |
1684 extern char byte_F8B148[16]; | |
1685 extern __int16 word_F8B158[]; // weak | |
496 | 1686 extern struct Texture *ShopTexture; // idb |
471
c43f156a95c9
ArmorShopDialog crash fixed. All shops show its items
Gloval
parents:
469
diff
changeset
|
1687 extern struct Texture *ItemsInShopTexture[12]; |
484 | 1688 extern int in_current_building_type; // weak |
607 | 1689 extern int dialog_menu_id; // weak |
0 | 1690 extern __int16 word_F8B1A0; // weak |
1691 extern const char *dword_F8B1A4; // idb | |
484 | 1692 extern int contract_approved; // weak |
492 | 1693 extern int dword_F8B1AC_award_bit_number; // idb |
0 | 1694 extern int dword_F8B1B0; // weak |
267 | 1695 extern int gold_transaction_amount; // F8B1B4 |
0 | 1696 extern char *pShopOptions[4]; |
1697 extern _UNKNOWN unk_F8B1C8; // weak | |
1698 extern int dword_F8B1D8; // weak | |
1699 extern int dword_F8B1DC; // weak | |
1700 extern int dword_F8B1E0; // weak | |
1701 extern int dword_F8B1E4; // weak | |
1702 extern const char *ptr_F8B1E8; // idb | |
248 | 1703 extern char dialogue_show_profession_details; // weak |
0 | 1704 extern char byte_F8B1EF[]; // weak |
1705 extern char byte_F8B1F0[4]; | |
1706 extern int dword_F8B1F4; // weak | |
1707 extern _UNKNOWN unk_F8B1F8; // weak | |
1708 extern _UNKNOWN unk_F8B5E0; // weak | |
1709 extern struct FrameTableTxtLine stru_F8B5E8; // weak | |
186 | 1710 extern char array_F8B668[]; // weak |
1711 //extern _UNKNOWN unk_F8BA50; // weak | |
0 | 1712 extern char byte_F8BC0C; // weak |
1713 extern int bGameoverLoop; // weak | |
323 | 1714 extern __int16 word_F8BC48_displaced_face_intersect_plane_coords_a[]; // idb |
1715 extern __int16 word_F8BD18_displaced_face_intersect_plane_coords_b[]; // idb | |
0 | 1716 //extern _UNKNOWN unk_F8EA04; // weak |
1717 //extern _UNKNOWN unk_F8F8F8; // weak | |
1718 extern int dword_F93F20; // weak | |
1719 extern int dword_F93F70; // weak | |
1720 | |
363 | 1721 extern volatile bool initing; //ADDED |
1722 | |
0 | 1723 //extern int crt_F94004; // weak |
1724 //extern int crtdword_F9400C; // weak | |
1725 extern FARPROC lpfn; // idb | |
1726 //extern int crt_F944EC; // weak | |
1727 //extern int crtdword_F944F0; // weak | |
1728 //extern void *crt_F944F4; // idb | |
1729 //extern int crtdword_F944F8; // weak | |
1730 //extern LPVOID crt_lpMem; // idb | |
1731 //extern int crt_F94500; // weak | |
1732 //extern HANDLE crt_hHeap; // idb | |
1733 //extern int crt_F94508; // weak | |
1734 | |
1735 | |
1736 | |
1737 | |
1738 | |
1739 | |
1740 | |
1741 | |
1742 | |
1743 | |
1744 | |
1745 | |
1746 | |
1747 | |
1748 //------------------------------------------------------------------------- | |
1749 // Function declarations | |
1750 | |
1751 #define __thiscall __cdecl // Test compile in C mode | |
1752 | |
1753 void __stdcall mm7__vector_constructor(void *a1, int objSize, int numObjs, int (__thiscall *constructor)(int)); | |
391 | 1754 void MakeActorAIList_ODM(); |
1755 int __cdecl MakeActorAIList_BLV(); | |
0 | 1756 void __cdecl sub_401A91_AI(); |
1757 bool __fastcall sub_4070EF_prolly_collide_objects(unsigned int uObjID, unsigned int uObj2ID); | |
1758 bool __fastcall sub_4075DB(int a1, int a2, int a3, struct BLVFace *a4); | |
1759 bool __fastcall sub_4077F1(int a1, int a2, int a3, struct ODMFace *a4, struct BSPVertexBuffer *a5); | |
1760 bool __fastcall sub_407A1C(int x, int z, int y, struct Vec3_int_ v); // idb | |
1761 void InitializeActors(); | |
515
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
513
diff
changeset
|
1762 void InitializeSpriteObjects(); |
0 | 1763 int __fastcall sub_4088E9(int a1, int a2, int a3, int a4, int a5, int a6); |
1764 unsigned int __thiscall SearchAliveActors(unsigned int *pTotalActors); | |
1765 unsigned int __fastcall SearchActorByMonsterID(unsigned int *pTotalActors, int uMonsterID); | |
1766 unsigned int __fastcall SearchActorByGroup(unsigned int *pTotalActors, unsigned int uGroup); | |
1767 unsigned int __fastcall SearchActorByID(unsigned int *pTotalActors, unsigned int a2); | |
1768 // char __usercall am_408BB4<al>(int a1<ecx>, int a2<ebp>); | |
1769 void __cdecl sub_409BE8(); | |
1770 void __cdecl PrepareArcomage(); | |
1771 char __cdecl am_409FE9(); | |
1772 char __cdecl am_40A198(); | |
1773 int __fastcall am_40A255(int a1, int a2); | |
1774 int __fastcall am_40A283(int a1, int a2); | |
1775 signed int __fastcall am_40A324(int a1); | |
1776 int __fastcall am_40A346(int a1); | |
1777 void __cdecl am_40A383(); | |
1778 bool __cdecl am_40A514(); | |
1779 char __thiscall am_40A560(unsigned int _this); | |
1780 void __thiscall am_blts(int a1); // idb | |
1781 void __cdecl am_40AA4E(); | |
1782 void __cdecl am_chroma_blts(); | |
1783 void __cdecl am_DrawUI(); | |
1784 void __fastcall am_40B102(int a1, char *a2, int *pXY); // idb | |
1785 void __fastcall am_40B17E(int a1, int a2, int *pXY); // idb | |
1786 void __fastcall am_40B1F3(int a1, int a2, int a3); | |
1787 void __fastcall am_40B268(int a1, char *a2, int *pXY); // idb | |
1788 void __cdecl am_chroma_and_copy_blts(); | |
1789 void __cdecl am_chroma_blt(); | |
1790 void __cdecl am_40B4B9(); | |
1791 void __fastcall am_40B76F(int a1); | |
1792 int __fastcall am_40BB49(int a1); | |
1793 signed int __fastcall am_40BB67(int a1); | |
1794 char __fastcall am_40BCFB(int a1, signed int a2); | |
1795 bool __fastcall am_40BE0E(int a1, signed int a2); | |
1796 bool __fastcall am_40BF15(int a1, int a2); | |
1797 void __fastcall am_40BF77(int a1, unsigned int uCardID); // idb | |
1798 int __fastcall am_40D2B4(struct Vec2_int_ *, int); // weak | |
1799 int __fastcall am_40D402(int, int); // weak | |
1800 int __cdecl am_40D444(); | |
1801 struct GUIWindow *__fastcall ModalWindow(const char *pStr, int a4); | |
1802 char __fastcall pPrimaryWindow_draws_text(int a1, const char *pText, int *pXY); | |
1803 void __thiscall am_BeginScene(unsigned __int16 *pPcxPixels, int a2, int a3); // idb | |
1804 void __fastcall Blt_Chroma(struct ArcomageRect *pSrcXYZW, int *pTargetXY, int a3, int a4); | |
1805 void __fastcall Blt_Copy(struct ArcomageRect *pSrcXYZW, int *pTargetXY, int a3); | |
1806 void __cdecl am_EndScene(); | |
1807 void __fastcall DrawRect(struct Vec4_int_ *pXYZW, unsigned __int16 uColor, char bSolidFill); // idb | |
1808 int __fastcall rand_interval(int a, int b); // idb | |
1809 char *__fastcall inv_strcat(const char *Source, char *Dest); | |
1810 char *__fastcall inv_strcpy(const char *Source, char *Dest); | |
1811 void __fastcall intToString(int val, char *pOut); | |
1812 // int __cdecl crt_retnull_sub(); | |
1813 unsigned int __stdcall R8G8B8_to_TargetFormat(int uColor); // idb | |
1814 unsigned int __fastcall GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(unsigned __int16 r, unsigned __int16 g, unsigned __int16 b); // idb | |
1815 void __cdecl CallRenderPresent(); | |
1816 void __thiscall DoBlt_Copy(unsigned __int16 *pPixels); // idb | |
1817 int __stdcall retzero_sub_40DFA7(int); // weak | |
1818 int loc_40E4FC(); // weak | |
1819 void __fastcall ZBuffer_Fill(int *pZBuffer, int uTextureId, int iZValue); | |
1820 __int16 __fastcall sub_40F845(int a1, int a2, int a3, int a4, int a5, __int16 a6, int a7); | |
1821 void __fastcall ZBuffer_DoFill(int *pZBuffer, Texture *pTex, int uZValue); | |
1822 void __fastcall sub_40F92A(int *pZBuffer, struct Texture *a2, int a3); // idb | |
1823 void __cdecl SetMoonPhaseNames(); | |
363 | 1824 void DrawSpellDescriptionPopup(int spell_index); |
0 | 1825 signed int __fastcall sub_410D99_get_map_index(int a1); |
1826 unsigned int __cdecl DrawLloydBeaconsScreen(); | |
1827 char *__cdecl DrawTownPortalScreen(); | |
198 | 1828 void LoadSpellbook(unsigned int uID); // idb |
0 | 1829 struct GUIWindow *__cdecl sub_41140B(); |
1830 void __cdecl sub_411473(); | |
1831 void __cdecl OnCloseSpellook(); | |
1832 void __cdecl InitializeBookTextures(); | |
1833 void __cdecl InitializeBookFonts(); | |
1834 void __fastcall LoadThumbnailLloydTexture(unsigned int uSlot, unsigned int uPlayer); | |
1835 void __cdecl sub_412AF9(); | |
158 | 1836 void __cdecl DrawSpellBookContent(); |
17 | 1837 char __cdecl DrawBook_History(); |
1838 void __cdecl DrawBook_Quests(); | |
1839 void __cdecl DrawBook_Autonotes(); | |
1840 char *__cdecl DrawBook_Maps(); | |
1841 void __thiscall SellectDrawBook(unsigned int uBook); // idb | |
0 | 1842 char *__cdecl GetDayPart(); |
17 | 1843 char __cdecl DrawBook_Calendar(); |
0 | 1844 void __cdecl SetAttributeNames(); |
1845 void __cdecl uGameUIFontMain_initialize(); | |
1846 void __cdecl uGameUIFontShadow_initialize(); | |
1847 void __cdecl sub_41420D_press_esc(); | |
1848 void __cdecl sub_41426F(); | |
1849 char __cdecl GameMenuUI_DrawKeyBindings(); | |
1850 unsigned int __thiscall sub_414D24(int _this); | |
1851 void __cdecl GameMenuUI_DrawVideoOptions(); | |
362 | 1852 void __cdecl DrawGameOptions(); |
0 | 1853 void __fastcall DrawPopupWindow(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight); // idb |
573 | 1854 void DrawCopyrightWindow(); |
0 | 1855 void __cdecl GUI_UpdateWindows(); |
1856 void __cdecl identify_item(); | |
1857 void __thiscall sub_416B01(void *_this); | |
1858 void __thiscall sub_416D62_ShowPopupWindow_MonsterRecord_ItemInfo_etcsub_416D62(struct Vec2_int_ *_this); | |
141 | 1859 void UI_OnMouseLeftClick(int *pXY); // idb |
0 | 1860 void __thiscall sub_417871(int *pXY); |
1861 void __cdecl sub_4178C4(); | |
1862 void __cdecl sub_4178E1(); | |
1863 unsigned int __fastcall UI_GetHealthManaStringColor(signed int a1, signed int a2); | |
1864 signed int __thiscall GetConditionDrawColor(unsigned int uConditionIdx); // idb | |
1865 char __fastcall sub_4179BC_draw_tooltip(const char *a1, const char *a2); // idb | |
273 | 1866 unsigned int __fastcall GetSkillColor(unsigned int uPlayerClass, enum PLAYER_SKILL_TYPE uPlayerSkillType, signed int skill_level); |
0 | 1867 const char *__fastcall CharacterUI_GetSkillDescText(unsigned int uPlayerID, enum PLAYER_SKILL_TYPE uPlayerSkillType); |
1868 char __cdecl CharacterUI_SkillsTab_ShowHint(); | |
1869 char __cdecl CharacterUI_StatsTab_ShowHint(); | |
1870 char __fastcall CharacterUI_StatsTab_Draw(unsigned int uPlayerID); // idb | |
521 | 1871 void FillAwardsData(); |
0 | 1872 void __cdecl sub_419220(); |
1873 void __cdecl sub_419379(); | |
39 | 1874 void __cdecl CharacterUI_SkillScreen_Draw(); |
0 | 1875 void __cdecl sub_4196A0(); |
1876 char __fastcall CharacterUI_SkillsTab_Draw(unsigned int uPlayerID); // idb | |
521 | 1877 void CharacterUI_AwardsTab_Draw(unsigned int uPlayerID); // idb |
0 | 1878 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels); |
1879 void __fastcall CharacterUI_InventoryTab_Draw(unsigned int uPlayerID, char a2); | |
1880 void __cdecl draw_leather(); | |
1881 void __thiscall CharacterUI_CharacterScreen_Draw(unsigned int uPlayerIdx); // idb | |
1882 void __cdecl GameUI_DrawRightPanelItems(); | |
1883 void __cdecl GameUI_DrawFoodAndGold(); | |
1884 void __cdecl GameUI_DrawLifeManaBars(); | |
1885 void __cdecl draw_right_panel(); | |
1886 void __cdecl GameUI_DrawRightPanelFrames(); | |
1887 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb | |
1888 int __fastcall GUI_ReplaceHotkey(unsigned __int8 uOldHotkey, unsigned __int8 uNewHotkey, char bFirstCall); | |
1889 void __cdecl MainMenuUI_LoadFontsAndSomeStuff(); | |
1890 void __cdecl MainMenuUI_Create(); | |
1891 void __cdecl GameUI_DrawStatusBar_2(); | |
1892 void __thiscall sub_41C0B8_set_status_string(const char *pStr); // idb | |
1893 void __cdecl GameUI_DrawStatusBar(); | |
1894 bool __thiscall sub_41CD4F(unsigned int _this); | |
1895 char __fastcall sub_41D20D_buff_remaining_time_string(int ecx0, struct GUIWindow *edx0, __int64 a3, struct GUIFont *a2); | |
549 | 1896 void GameUI_DrawItemInfo(struct ItemGen* inspect_item); // idb |
0 | 1897 char *__fastcall MonsterPopup_Draw(unsigned int uActorID, struct GUIWindow *edx0); |
1898 void __cdecl nullsub_3(); // idb | |
1899 void __cdecl LoadActualSkyFrame(); | |
1900 void __cdecl Sleep6Hours(); | |
1901 void __cdecl RestUI_Initialize(); | |
1902 void __cdecl RestUI_Draw(); // idb | |
1903 void __cdecl sub_42038D(); | |
526 | 1904 |
0 | 1905 void __fastcall party_finds_gold(unsigned int uNumGold, int _1_dont_share_with_followers___2_the_same_but_without_a_message__else_normal); // idb |
1906 void __cdecl sub_420E01(); | |
1907 void __cdecl GameUI_WritePointedObjectStatusString(); | |
1908 struct GUIWindow *__thiscall GameUI_InitializeCharacterWindow(unsigned int _this); | |
1909 struct GUIWindow *__thiscall sub_4219BE(void *a4); | |
1910 bool __cdecl sub_421B2C_PlaceInInventory_or_DropPickedItem(); | |
1911 void __fastcall GameUI_OnPlayerPortraitLeftClick(unsigned int uPlayerID); // idb | |
1912 void __cdecl sub_421EA6_OnInventoryLeftClick(); | |
1913 void __cdecl OnGameViewportClick(); | |
265 | 1914 bool PauseGameDrawing(); |
373 | 1915 void SetUserInterface(enum PartyAlignment alignment, bool bReplace); |
0 | 1916 void __cdecl reset_some_strus_flt_2Cs(); |
1917 void __cdecl j_sub_423B4A(); | |
1918 void __cdecl sub_423B4A(); | |
1919 int __fastcall sub_423B5D(unsigned int uFaceID); | |
1920 signed int __fastcall sub_424579(int uFaceID, struct stru320 *a2); | |
1921 bool sub_424829(int a1, struct BspRenderer_stru2 *a2, struct BspRenderer_stru2 *a3, int a4); | |
1922 signed int __fastcall sr_424CD7(unsigned int uVertexID); // idb | |
1923 signed int __fastcall sr_424EE0_MakeFanFromTriangle(unsigned int uVertexID); // idb | |
1924 signed int __fastcall sr_4250FE(unsigned int uVertexID); // idb | |
1925 signed int __fastcall sr_4252E8(unsigned int uVertexID); | |
1926 int __fastcall sr_4254D2(signed int a1); | |
1927 bool __thiscall sr_42620A(struct RenderVertexSoft *p); | |
1928 int __fastcall _4268E3_smthn_to_a1r5g5b5(unsigned int uColor); // idb | |
1929 int __fastcall _42690D_colors_cvt(unsigned int a1); | |
1930 void __cdecl sub_426947(); | |
1931 int __fastcall sub_4269A2_GivePartyExp(unsigned int a1); | |
1932 bool __fastcall sub_427769_spell(unsigned int uSpellID); | |
319 | 1933 void _42777D_CastSpell_UseWand_ShootArrow(int a1, unsigned int uPlayerID, unsigned int a4, __int16 a5, int a6); |
0 | 1934 int __fastcall sub_42EBBE(int, int); // weak |
271 | 1935 void _42ECB5_PlayerAttacksActor(); |
0 | 1936 void __thiscall InitializeTurnBasedAnimations(void *); |
1937 signed int __cdecl sub_42F4DA(); | |
1938 bool __fastcall sub_42F7EB_DropItemAt(unsigned int uSpriteID, int x, int y, int z, int a4, int count, int a7, unsigned __int16 attributes, ItemGen *a9); | |
1939 void __fastcall sub_42F960_create_object(int x, int y, int z); // idb | |
515
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
513
diff
changeset
|
1940 SpriteObject *__cdecl sub_42FA22_mess_with_laying_item_list(); |
0 | 1941 signed int __fastcall _42FA66_do_explosive_impact(int a1, int a2, int a3, int a4, __int16 a5, signed int a6); |
1942 bool __fastcall sub_42FB5C(signed int a1); | |
1943 // int __cdecl crt_sub_42FBB7(); | |
1944 // void __cdecl crt_construct_50CDB4(); | |
1945 void __cdecl sub_42FBDD(); | |
11 | 1946 void __cdecl CloseWindowBackground(); |
0 | 1947 void __cdecl ProcessInputActions(); |
1948 void __cdecl GameUI_MsgProc(); | |
1949 void __cdecl back_to_game(); | |
1950 void __cdecl GUI_MainMenuMessageProc(); | |
1951 double __cdecl get_shading_dist_mist(); | |
1952 double __cdecl GetPickDepth(); | |
1953 void Vec3_short__to_RenderVertexSoft(struct RenderVertexSoft *_this, struct Vec3_short_ *a2); | |
1954 void __cdecl nullsub_4(); // idb | |
1955 void __cdecl nullsub_5(); // idb | |
1956 void __cdecl nullsub_6(); // idb | |
1957 __int16 __thiscall sub_4382BC(int _this); | |
1958 int __cdecl sub_4383ED(); | |
1959 __int16 __cdecl sub_43847A(); | |
1960 void __cdecl _438F8F_area_of_effect__damage_evaluate(); | |
1961 void __fastcall DamagePlayerFromMonster(unsigned int uObjID, int a2, struct Vec3_int_ *pPos, unsigned int a4); | |
1962 void __fastcall sub_43A97E(unsigned int uLayingItemID, signed int a2); // idb | |
1963 double __fastcall sub_43AE12(signed int a1); | |
1964 int __fastcall _43AFE3_calc_spell_damage(int a1, int a2, signed int a3, int a4); | |
1965 void __fastcall sub_43B057(unsigned int uObjID, unsigned int uActorID, struct Vec3_int_ *pVelocity); | |
322 | 1966 void sub_43B1B0(signed int a1, unsigned int a2, struct Vec3_int_ *pVelocity, signed int a4); |
0 | 1967 int __stdcall DirectInputKeyboard_enumerator_43B9B9(int, int); // weak |
1968 void Software_ResetNewEdges(); | |
1969 // int __cdecl crt_deconstruct_43B9E3(); | |
1970 int __stdcall DirectInputMouse_enumerator(int, int); // weak | |
513 | 1971 void CharacterUI_LoadPaperdollTextures(); |
0 | 1972 int __fastcall _43C91D_FormItemTextureFilename(char *a1, signed int a2, int a3, int a4); |
1973 void __fastcall CharacterUI_DrawPaperdoll(unsigned int uPlayerID); // idb | |
1974 void __fastcall CharacterUI_DrawPaperdollWithRingOverlay(unsigned int uPlayerID); // idb | |
1975 bool _43ED6F_check_party_races(bool b); | |
1976 bool __thiscall sub_43EDB9_get_some_race_sex_relation_2(unsigned int _this); | |
1977 bool __fastcall sub_43EE15_player_has_item(unsigned int uItemID, struct Player *pPlayer, char a3); | |
1978 bool __fastcall sub_43EE77_ProbablyIfUnderwaterSuitIsEquipped(signed int a1); | |
1979 void __fastcall WetsuitOn(unsigned int uPlayerID); // idb | |
1980 unsigned int __fastcall WetsuitOff(unsigned int uPlayerID); | |
1981 void __fastcall PrepareDrawLists_BLV(struct IndoorLocation_drawstru *_this); | |
1982 int /*__usercall*/ sr_sub_4D6FB0/*<eax>*/(struct stru315 *a1/*<ebp>*/); | |
1983 int /*__usercall*/ sr_sub_4D705A/*<eax>*/(struct stru315 *a1/*<ebp>*/); | |
1984 void __cdecl MessWithBillboards_BLV(); | |
1985 int __fastcall _43F55F_get_billboard_light_level(struct RenderBillboard *a1, int uBaseLightLevel); | |
1986 int __fastcall _43F5C8_get_point_light_level_with_respect_to_lights(unsigned int uBaseLightLevel, int uSectorID, float x, float y, float z); | |
1987 void PrepareBspRenderList_BLV(); | |
1988 void __fastcall PrepareDecorationsRenderList_BLV(unsigned int uDecorationID, unsigned int uSectorID); | |
1989 void PrepareActorRenderList_BLV(); | |
1990 void PrepareItemsRenderList_BLV(); | |
1991 void __fastcall sub_440639(int a1); | |
1992 void __fastcall sub_4406BC(int a1, unsigned int uFirstNode); // idb | |
1993 void __fastcall sub_440BED(struct IndoorLocation_drawstru *_this); | |
1994 bool sub_44100D(); | |
1995 void GameUI_DrawTorchlightAndWizardEye(); | |
1996 void GameUI_DrawCharacterSelectionFrame(); | |
569 | 1997 void LoadPartyBuffIcons(); |
0 | 1998 void GameUI_DrawPartySpells(); |
1999 __int16 __fastcall sub_441A4E(int a1); | |
142 | 2000 void GameUI_DrawMinimap(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW, unsigned int uZoom, unsigned int bRedrawOdmMinimap); |
163 | 2001 int __fastcall DrawBook_Map_sub(unsigned int x, unsigned int y, unsigned int a4, int a5, int _48074); // idb |
237 | 2002 void Initialize2DA(); |
307 | 2003 |
601 | 2004 void LoadLevel_InitializeLevelStr(); |
307 | 2005 |
0 | 2006 void __cdecl OnMapLeave(); |
2007 void /*__usercall*/ OnMapLoad(); | |
2008 void __thiscall Level_LoadEvtAndStr(const char *pLevelName); | |
2009 char *__cdecl _4443D5_GetMinimapRightClickText(); | |
2010 const char *__cdecl sub_444564(); | |
428 | 2011 char *__thiscall GetEventHintString(unsigned int uEventID); // idb |
0 | 2012 unsigned int __fastcall sub_444839_move_map(unsigned int a1, int a2, int x, int y, int z, int directiony, int directionx, int a8, const char *pLocationName); // idb |
434 | 2013 void TransitionUI_Draw(); |
0 | 2014 struct GUIWindow *__cdecl UI_CreateTravelDialogue(); |
2015 signed int __cdecl GetTravelTime(); | |
2016 void __cdecl TravelUI_Draw(); | |
2017 void __cdecl DrawBranchlessDialogueUI(); | |
2018 void __fastcall sub_4451A8_press_any_key(int a1, int a2, int a4); | |
2019 void __cdecl sub_4452BB(); | |
268 | 2020 const char *GetProfessionActionText(int a1); |
0 | 2021 void __cdecl DrawDialogueUI(); |
602 | 2022 struct NPCData *__fastcall GetNPCData(signed int npcid); |
0 | 2023 struct NPCData *__fastcall GetNewNPCData(signed int npcid, int a2); |
2024 int __fastcall sub_445C8B(signed int a1); | |
2025 void __cdecl sub_44603D(); | |
480 | 2026 void PrepareHouse(enum HOUSE_ID house); // idb |
484 | 2027 bool EnterHouse(enum HOUSE_ID uHouseID); |
0 | 2028 int sub_4465DF_check_season(int a1); |
2029 int __fastcall IsActorAlive(unsigned int uType, unsigned int uParam, unsigned int uNumAlive); // idb | |
2030 // void __cdecl crt_construct_5773C4(); | |
423 | 2031 int NPC_EventProcessor(int npc_event_id); |
307 | 2032 |
0 | 2033 void __fastcall sub_448518_npc_set_item(int npc, unsigned int item, int a3); |
2034 void __fastcall sub_44861E_set_texture(unsigned int uFaceCog, const char *pFilename); | |
2035 void __fastcall SetDecorationSprite(unsigned int uCog, int a2, const char *pFileName); // idb | |
2036 void __fastcall sub_44892E_set_faces_bit(int sCogNumber, int bit, int on); | |
2037 void __fastcall ToggleActorGroupFlag(unsigned int uGroupID, unsigned int uFlag, unsigned int bToggle); | |
2038 void __thiscall GameUI_StatusBar_UpdateTimedString(unsigned int bForceHide); // idb | |
2039 void __thiscall OnTimer(int a1); | |
2040 void __fastcall sub_448CF4_spawn_monsters(__int16 typeindex, __int16 level, int count, int x, int y, int z, int group, unsigned int uUniqueName); | |
2041 void __fastcall sub_448DF8_cast_spell(int spellnum, int rank, int level, int fromx, int fromy, int fromz, int tox, int toy, int toz); | |
2042 char *__fastcall sub_44987B(const char *pMapName, unsigned int uStartingPointType); // idb | |
2043 void __thiscall TeleportToStartingPoint(unsigned int uPointType); // idb | |
2044 __int16 __fastcall sub_449A49_door_switch_animation(unsigned int uDoorID, int a2); // idb | |
521 | 2045 bool _449B57_test_bit(unsigned __int8 *a1, __int16 a2); |
501 | 2046 void _449B7E_toggle_bit(unsigned char *pArray, __int16 a2, unsigned __int16 bToggle); // idb |
0 | 2047 void __cdecl sub_44A56A(); |
2048 void __fastcall ShowStatusBarString(const char *pString, unsigned int uNumSeconds); | |
2049 void __cdecl ShowNothingHereStatus(); | |
2050 signed int __cdecl const_2(); | |
2051 bool __cdecl sub_44C28F_open_nwc_dungeon(); | |
2052 // int __cdecl crt_deconstruct_44C42C(); | |
2053 void SpawnEncounter(struct MapInfo *pMapInfo, struct SpawnPointMM7 *spawn, int a3, int a4, int a5); | |
2054 int __fastcall sub_44FA4C_spawn_light_elemental(int a1, int a2, int a3); | |
598 | 2055 |
0 | 2056 signed int __fastcall sub_450521_ProllyDropItemAt(int ecx0, signed int a2, int a3, int a4, int a5, unsigned __int16 a6); |
2057 int __fastcall sub_45063B(struct MapInfo *a1, int a2); | |
2058 void RespawnGlobalDecorations(); | |
2059 bool __fastcall SpawnActor(unsigned int uMonsterID); | |
2060 int __cdecl GetAlertStatus(); | |
2061 unsigned int __fastcall sub_452442(unsigned __int16 a1, unsigned __int16 a2, int a3, int a4); | |
295 | 2062 int integer_sqrt(int val); |
0 | 2063 int __fastcall MakeColorMaskFromBitDepth(int a1); |
2064 void __fastcall fill_pixels_fast(unsigned int a1, unsigned __int16 *pPixels, unsigned int uNumPixels); | |
2065 int __fastcall GetDiceResult(unsigned int uNumDice, unsigned int uDiceSides); // idb | |
2066 inline void __fastcall memset32(void *ptr, unsigned __int32 value, int count) | |
2067 { | |
2068 auto p = (unsigned __int32 *)ptr; | |
2069 for ( int i=0; i < count; i++ ) | |
2070 *p++ = value; | |
2071 } | |
2072 inline void __fastcall j_memset32(int a2, void *a1, unsigned int a3) {memset32(a1, a2, a3);} | |
2073 // int __cdecl crt_452B74(); | |
2074 int __cdecl j_SetSomeItemsNames(); | |
189 | 2075 |
0 | 2076 unsigned int __fastcall ParseSpellType(struct FrameTableTxtLine *, int a2); |
2077 int __thiscall ParseAttackType(unsigned __int8 *_this); | |
2078 char __fastcall ParseDamage(const char *Str, int a2, int a3, int a4); | |
2079 int __fastcall ParseMissleAttackType(const char *Str1); | |
2080 unsigned int __fastcall SkillToMastery(unsigned __int16 a1); | |
2081 unsigned int __fastcall GetSpellColor(signed int a1); | |
2082 void *__thiscall unknown_vdtor_6(void *_this, bool a2); | |
2083 unsigned __int16 *__fastcall MakeScreenshot(signed int width, signed int height); | |
2084 void __thiscall SaveScreenshot(const char *pFilename); | |
2085 void __fastcall GameUI_DrawLoadMenu(unsigned int uDialogueType); // idb | |
2086 void __cdecl GameUI_DrawSaveMenu(); | |
2087 void __fastcall LoadGame(unsigned int uSlot); // idb | |
2088 int __fastcall SaveGame(int a1, __int16 *a2); | |
2089 void __fastcall DoSavegame(unsigned int uSlot); // idb | |
2090 void GameUI_MainMenu_DoDrawLoad(int a1); | |
2091 void GameUI_MainMenu_DrawLoad(); | |
2092 void __cdecl sub_4606FE(); | |
2093 void __cdecl TryLoadLevelFromLOD(); | |
2094 void __cdecl sub_46080D(); | |
2095 bool __cdecl Initialize_GamesLOD_NewLOD(); | |
2096 bool Autosave(); | |
2097 void __thiscall PrepareToLoadBLV(unsigned int bLoading); | |
2098 void __fastcall PrepareToLoadODM(unsigned int bLoading, struct OutdoorCamera *a2); | |
2099 void __cdecl sub_461103(); | |
2100 int __cdecl sub_4613C4(); | |
322 | 2101 int __fastcall int_get_vector_length(signed int a1, signed int a2, signed int a3); |
0 | 2102 int __cdecl sub_46224A(); |
2103 int __cdecl crt_init_globals_462620(); | |
2104 void __cdecl crt_init_globals_462659(); | |
2105 void __cdecl crt_init_globals_46269B(); | |
2106 void __cdecl crt_init_globals_46271C(); | |
2107 void __cdecl MainMenu_Loop(); | |
2108 char __cdecl sub_4637E0_is_there_popup_onscreen(); | |
2109 void __cdecl ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows(); | |
2110 void __thiscall PrepareWorld(unsigned int _this); | |
2111 void __thiscall Game_DeinitializeAndTerminate(int exitCode); // idb | |
2112 void __cdecl FinalInitialization(); | |
2113 char __cdecl Is_out15odm_underwater(); | |
2114 void __cdecl SetUnderwaterFog(); | |
2115 void __fastcall DoPrepareWorld(unsigned int bLoading, int a2); | |
2116 int __fastcall ReadWindowsRegistryInt(const char *pKey, int uDefValue); // idb | |
2117 void __fastcall WriteWindowsRegistryString(const char *pKey, const char *pString); | |
2118 void __fastcall ReadWindowsRegistryString(const char *pKeyName, char *pOutString, int uBufLen, const char *pDefaultValue); | |
2119 void __fastcall WriteWindowsRegistryInt(const char *pKey, int val); | |
2120 bool __fastcall CheckMM7CD(char c); | |
2121 int loc_465CC8(); // weak | |
2122 void __cdecl SecondaryInitialization(); | |
2123 void __cdecl CreateAsyncMouse(); | |
2124 void __cdecl CreateAsyncKeyboard(); | |
2125 void __cdecl MM6_Initialize(const wchar_t *pIniFilename); | |
2126 void __cdecl MM7Initialization(); | |
2127 int __cdecl AbortWithError(); | |
2128 void Abortf(const char *Format, ...); | |
2129 void FreeSavegameThumbnails(); | |
2130 void SetCurrentMenuID(enum MENU_STATE); // idb | |
2131 enum MENU_STATE GetCurrentMenuID(); | |
2132 void *__thiscall output_debug_string(void *_this, std::string a2, const char *a3, int a4); | |
2133 std::string *__fastcall _4678E2_make_error_string(std::string *a1, int line, std::string file); | |
2134 int __thiscall sub_467D5D(int _this); | |
2135 void __thiscall sub_467E7F_EquipBody(unsigned int uEquipType); // idb | |
2136 void __fastcall sub_467F48(signed int a1); | |
2137 void __cdecl free_book_subwindow(); | |
158 | 2138 char __cdecl CreateScrollWindow(); |
0 | 2139 void __cdecl OnPaperdollLeftClick(); |
2140 int __thiscall UnprojectX(int x); | |
2141 int __thiscall UnprojectY(int _this); | |
196 | 2142 void OnPressSpace(); |
0 | 2143 char __fastcall DoInteractionWithTopmostZObject(int a1, int a2); |
2144 int __fastcall sub_46A6AC(int a1, int a2, int a3); | |
2145 int __fastcall sub_46A7C8(int a1, int a2, signed int a3); | |
2146 int __fastcall sub_46A89E(int a1, int a2, signed int a3); | |
2147 int __cdecl sub_46A99B(); | |
2148 void *__thiscall unknown_libname_8(void *_this, char a2); | |
2149 unsigned int __cdecl GetGravityStrength(); | |
2150 void __cdecl sub_46BDC0_UpdateUserInput_and_MapSpecificStuff(); | |
2151 void __cdecl BLV_UpdateUserInputAndOther(); | |
2152 void __cdecl ODM_UpdateUserInputAndOther(); | |
2153 bool __fastcall _46BFFA_check_object_intercept(unsigned int uLayingItemID, signed int a2); | |
2154 void __cdecl _46CC4B_check_event_triggers(); | |
2155 int _46CEC3_get_floor_level(int x, int y, int z, unsigned int uSectorID, unsigned int *pFaceID); | |
2156 int __fastcall sub_46D49E_prolly_get_world_y_under_party(int a1, signed int a2, int a3, int a4, int *a5, int *a6, int a7); | |
2157 int __fastcall sub_46D8E3(int a1, signed int a2, int a3, int a4); | |
138 | 2158 void ODM_GetTerrainNormalAt(int pos_x, int pos_z, Vec3_int_ *out); |
0 | 2159 unsigned int __fastcall sub_46DEF2(signed int a2, unsigned int uLayingItemID); |
2160 int __fastcall _46DF1A_collide_against_actor(int, int); // weak | |
2161 void __cdecl _46E0B2_collide_against_decorations(); | |
2162 void __fastcall _46E26D_collide_against_sprites(signed int a1, signed int a2); | |
2163 int __thiscall _46E44E_collide_against_faces_and_portals(unsigned int b1); // idb | |
2164 int __fastcall _46E889_collide_against_bmodels(unsigned int ecx0); | |
2165 int _46ED1B_collide_against_floor(int x, int y, int z, unsigned int *pSectorID, unsigned int *pFaceID); // idb | |
515
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
513
diff
changeset
|
2166 void __fastcall _46ED8A_collide_against_sprite_objects(unsigned int _this); |
0 | 2167 int __thiscall _46EF01_collision_chech_player(int a1); // idb |
2168 signed int __cdecl _46F04E_collide_against_portals(); | |
2169 void __cdecl BLV_UpdateDoors(); | |
2170 void __cdecl UpdateActors_BLV(); | |
2171 void __cdecl UpdateActors_ODM(); | |
2172 void __cdecl UpdateObjects(); | |
2173 int _47272C_collide_agains_some_secotors_floors(int x, int y, int z, unsigned int *pSectorID, unsigned int *pFaceID); // idb | |
2174 void __cdecl BLV_ProcessPartyActions(); | |
2175 void __cdecl ODM_ProcessPartyActions(); | |
2176 bool __fastcall sub_47531C(int a1, int *a2, int a3, int a4, int a5, int a6, int a7, int a8, BLVFace *a9, int a10); | |
2177 bool __fastcall sub_4754BF(int a1, int *a2, int a3, int a4, int a5, int a6, int a7, int a8, BLVFace *a9, int a10, int a11); | |
2178 signed int __thiscall sub_475665(BLVFace *_this, int a2, __int16 a3); | |
2179 bool __fastcall sub_4759C9(BLVFace *a1, int a2, int a3, __int16 a4); | |
2180 bool __fastcall sub_475D85(Vec3_int_ *a1, Vec3_int_ *a2, int *a3, BLVFace *a4); | |
2181 bool __fastcall sub_475F30(int *a1, BLVFace *a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9); | |
291 | 2182 |
0 | 2183 int __cdecl GetPartyReputation(); |
2184 void __cdecl sub_4783FA_construct_global_73D150(); | |
2185 void __cdecl loc_4789D4(); // idb | |
2186 void __cdecl loc_47907F(); // idb | |
2187 bool __fastcall IsBModelVisible(unsigned int uModelID, int *unused); | |
2188 void __fastcall _479A53_draw_some_blv_poly(unsigned int uNumVertices, unsigned int uFaceID); // idb | |
2189 void __thiscall ODM_LoadAndInitialize(const char *pLevelFilename, struct OutdoorCamera *thisa); | |
2190 unsigned __int16 *__fastcall GetBillboardPalette(struct RenderBillboard *a1, int a2, signed int a3, int a4); | |
2191 int __fastcall sr_sub_47BEB1(signed int a1, stru148 *a2, int terrain_gamma, int a4, int *a5, int *a6, int a7, int a8); | |
2192 void *__fastcall sr_sub_47C178(signed int a1, stru148 *a2, int terrain_gamma, int a4); | |
2193 void *__fastcall sr_sub_47C1CA(stru148 *a1, char a2, int a3, signed int a4); | |
2194 unsigned __int16 *__fastcall sr_sub_47C24C_get_palette(BLVFace *a1, int a2, int a3, char a4); | |
2195 char *__fastcall sr_sub_47C28C_get_palette(stru148 *a1, char a2, signed int a3, signed int a4); | |
2196 unsigned int __cdecl GetLevelFogColor(); | |
2197 int __fastcall sub_47C3D7_get_fog_related_stuff(int a1, int a2, float a3); | |
638 | 2198 signed int __fastcall GetActorTintColor(int max_dim, int min_dim, float distance, int a4, struct RenderBillboard *a5); |
67 | 2199 unsigned int __stdcall WorldPosToGridCellX(int); // weak |
2200 unsigned int __stdcall WorldPosToGridCellZ(int); // weak | |
0 | 2201 int __stdcall GridCellToWorldPosX(int); // weak |
2202 int __stdcall GridCellToWorldPosZ(int); // weak | |
2203 void __fastcall sub_47F4D3(int band1, int band2, int band3); | |
2204 void __cdecl loc_481185(); // idb | |
2205 void __cdecl loc_48118F(); // idb | |
2206 void __cdecl loc_481199(); // idb | |
2207 char __fastcall sr_sub_481DB2(RenderVertexSoft *a1, signed int a2, stru148 *a3); | |
2208 void __cdecl ResetStru148s(); | |
2209 void __cdecl sub_481ED9_MessWithOutdoorCamera(); | |
2210 bool __fastcall sub_481EFA(RenderVertexSoft *a1, RenderVertexSoft *a2, RenderVertexSoft *a3, RenderVertexSoft *a4, int a5); | |
2211 signed int __fastcall sub_481FC9(RenderVertexSoft *_ECX, RenderVertexSoft *a2, RenderVertexSoft *a3, stru148 *a4); | |
138 | 2212 bool IsTerrainSlopeTooHigh(int pos_x, int pos_y); |
0 | 2213 int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *a3, int a4); |
2214 struct stru148 *__fastcall sr_sub_4829B9(RenderVertexSoft *a1, RenderVertexSoft *a2, RenderVertexSoft *a3, stru148 *a4, int a5); | |
2215 signed int __cdecl const_1_0(); | |
2216 signed int __thiscall sr_sub_482A94(struct Span *_this); | |
2217 signed int __fastcall sr_sub_482E07(struct Span *a1, unsigned __int16 *pRenderTarget); // idb | |
2218 signed int __fastcall sr_sub_4839BD(struct Span *a1, unsigned __int16 *pTargetSurface); // idb | |
2219 signed int __thiscall sr_sub_48408A_prolly_odm_water_no_waves(struct Span *_this); | |
2220 signed int __thiscall sr_sub_484442(struct Span *_this); | |
2221 signed int __thiscall sr_sub_4847EB(struct Span *_this); | |
2222 signed int __fastcall sr_sub_485407_prolly_odm_water_wavy(struct Span *a1); | |
2223 signed int __fastcall sr_sub_48585C_mb_DrawSpan(struct Span *a1, unsigned __int16 *pRenderTarget, int a3); // idb | |
2224 struct stru315 *__fastcall sr_sub_485975(struct stru315 *a1, struct stru315 *a2); | |
2225 struct stru315 *__fastcall sr_sub_485A24(struct stru315 *a1, struct stru315 *a2); | |
2226 struct stru315 *__fastcall sr_sub_485AFF(struct stru315 *a1, struct stru316 *a2); | |
2227 struct stru315 *__fastcall sr_sub_485BAE(struct stru315 *a1, struct stru316 *a2); | |
2228 struct stru315 *__fastcall sr_sub_485C89(struct stru315 *a1, struct stru316 *a2); | |
2229 struct stru315 *__fastcall sr_sub_485D3E(struct stru315 *a1, struct stru316 *a2); | |
2230 void *__fastcall sr_sub_485E1F(struct stru316 *a1, Span *a2, int a3, struct stru148 *a4, int a5, unsigned __int8 a6, char a7); | |
2231 void __thiscall sub_485F53(struct Vec2_int_ *v); // idb | |
2232 char __fastcall sr_sub_486B4E_push_outdoor_edges(struct RenderVertexSoft *a1, int *a2, int *a3, stru148 *a4); | |
2233 void __cdecl sr_sub_486F92_MessWithEdgesAndSpans(); | |
2234 void __cdecl sub_487DA9(); | |
2235 double __thiscall GetFogDensityByTime(struct OutdoorLocation *_this); | |
2236 int __stdcall loc_489BB3(struct stru320 *a2, int thisa, unsigned int uNumVertices, RenderVertexSoft *a5, float a6, char uClipFlag); // weak | |
2237 bool __fastcall HSV2RGB(float *a1, float *a2, float *a3, float a4, float a5, float a6); | |
2238 void __fastcall RGB2HSV(float *a1, float *a2, float a3, float a4, float a5, float *a6); | |
2239 unsigned int ReplaceHSV(unsigned int uColor, float a2, float gamma, float a4); | |
2240 int _48B561_mess_with_scaling_along_z(/*int a1, */float a2); | |
89 | 2241 signed int __cdecl PlayerCreation_Chose4Skills(); |
0 | 2242 signed int __cdecl PlayerCreation_ComputeAttributeBonus(); |
2243 void __cdecl LoadPlayerPortraintsAndVoices(); | |
2244 int __fastcall ReloadPlayerPortraits(int, int); // weak | |
2245 void __cdecl sub_491E3A(); | |
2246 void __cdecl DrawHiredNPCs(); | |
2247 void __thiscall GameUI_DrawPortraits(unsigned int _this); | |
2248 signed int __thiscall CycleCharacter(unsigned int _this); | |
2249 void __fastcall Rest(unsigned int uHoursToSleep); | |
2250 int __cdecl _493938_regenerate(); | |
351 | 2251 void sub_493F79(struct stru351_summoned_item *_this, __int64 a2); |
0 | 2252 void __cdecl _494035_timed_effects__water_walking_damage__etc(); |
2253 unsigned int __fastcall sub_494820(unsigned int a1); | |
2254 char *__fastcall sub_495366(unsigned __int8 a1, unsigned __int8 a2); | |
607 | 2255 char * GetReputationString(signed int a1); |
254
d1af3319bc44
BuilDialogueString: replaces %xx in dialogue strings by appropriate values
Nomad
parents:
248
diff
changeset
|
2256 char *BuilDialogueString(char *lpsz, unsigned __int8 uPlayerID, struct ItemGen *a3, char *a4, int a5, __int64 *a6); |
0 | 2257 void __cdecl PlayerCreationUI_Draw(); |
2258 void __cdecl PlayerCreationUI_Initialize(); | |
2259 void __cdecl DeleteCCharFont(); | |
2260 bool __cdecl PlayerCreationUI_Loop(); | |
2261 void __cdecl loc_49B785(); // idb | |
2262 unsigned int __fastcall GetMaxMipLevels(unsigned int uDim); | |
2263 bool __cdecl CheckTextureStages(); | |
2264 bool __cdecl AreRenderSurfacesOk(); | |
2265 int __fastcall sub_4A19D8(unsigned int, unsigned int); // weak | |
2266 void __cdecl DoRenderBillboards_D3D(); | |
2267 int __fastcall sr_4A46E6_draw_particle_segment(unsigned int x, signed int y, signed int z, int a4, unsigned int lightColor); | |
2268 void __cdecl Present_ColorKey(); | |
2269 void __cdecl Present_NoColorKey(); | |
2270 int __thiscall sub_4A7063(unsigned int uDiffuse, float a2); // idb | |
2271 struct SoundHeader *__fastcall FindSound_BinSearch(unsigned int uStart, unsigned int uEnd, const char *pName); | |
2272 struct SoundData *LoadSound(const char *pSoundName, struct SoundData *pOutBuff, unsigned int uID); | |
2273 int __fastcall sub_4AAEA6_transform(RenderVertexSoft *a1); | |
2274 int __fastcall sub_4AB66C(int, int); // weak | |
2275 int __fastcall GetSoundStrengthByDistanceFromParty(int a1, int a2, int a3); | |
2276 struct _DIG_DRIVER *Audio_GetFirstHardwareDigitalDriver(void); | |
2277 void __cdecl PlayLevelMusic(); | |
2278 int __thiscall sub_4AC1C9(unsigned int _this, Vec4_int_ *a2); | |
2279 struct Vec4_int_ *__thiscall sub_4AC277(unsigned int _this, Vec4_int_ *a2); | |
2280 struct Vec4_int_ *__thiscall sub_4AC33A_get_cpu_clocks_QPC(int _this, Vec4_int_ *a1); | |
2281 struct Vec4_int_ *__thiscall sub_4AC4FD_get_cpu_clocks_rdtsc(int _this, Vec4_int_ *a1); | |
2282 int __fastcall sub_4AD504(unsigned int uFaceID); | |
2283 void __fastcall sub_4ADD1D(int uFaceID); | |
2284 int __fastcall sub_4AE1E7(int a1, int a2, int a3); | |
2285 int __fastcall sub_4AE313(int viewport_space_x, int viewport_space_y, struct stru337_stru0 *p); | |
2286 int __fastcall sub_4AE491(int, int); // weak | |
2287 void __fastcall sub_4AE5F1(unsigned int uFaceID); // idb | |
2288 int __cdecl sub_4AF412(); | |
486 | 2289 //void __cdecl stru170_sub_4B0967_draw_face_outlines(); |
0 | 2290 void __cdecl loc_4B0DFB(); // idb |
2291 void __cdecl nullsub_18(); // idb | |
2292 void __cdecl nullsub_19(); // idb | |
2293 unsigned int __fastcall sub_4B0E07(unsigned int uFaceID); // idb | |
2294 void __cdecl nullsub_20(); // idb | |
2295 void __cdecl nullsub_21(); // idb | |
2296 struct Player *__fastcall sub_4B1447_party_fine(int a1, int a2, int a3); | |
2297 char *__thiscall sub_4B1523(int *_this); | |
2298 bool __cdecl sub_4B1784_check_if_player_concious__draw_warning_else_mess_with_dlg_win(); | |
2299 void __cdecl sub_4B1A2D(); | |
2300 void __stdcall RestAndHeal(__int64 uNumMinutes); // idb | |
2301 void __cdecl sub_4B1D27(); | |
629 | 2302 |
0 | 2303 void __cdecl sub_4B1ECE(); |
457 | 2304 void __fastcall ClickNPCTopic(signed int uMessageParam); |
0 | 2305 char *__thiscall _4B254D_SkillMasteryTeacher(int _this); |
492 | 2306 const char * ContractSelectText(int pEventCode); |
445 | 2307 char __cdecl SimpleHouseAndBoatsDialog(); |
473 | 2308 void CreateButtonInColumn(int a1, unsigned int a2); |
2309 void FillAviableSkillsToTeach(int _this); | |
2310 void sub_4B3A72(int a1); // idb | |
2311 void sub_4B3AD4(signed int a1); | |
2312 void sub_4B3B42(signed int a1); | |
0 | 2313 void __cdecl sub_4B3E1E(); |
492 | 2314 void DrawJoinGuildWindow(int pEventCode); |
0 | 2315 void __fastcall sub_4B3FE5(int a4); |
607 | 2316 void NPCHireableDialogPrepare(); |
423 | 2317 void _4B4224_UpdateNPCTopics(int _this); |
471
c43f156a95c9
ArmorShopDialog crash fixed. All shops show its items
Gloval
parents:
469
diff
changeset
|
2318 char __fastcall DrawTextAtStatusBar(const char *Str, int a5); |
0 | 2319 int __fastcall sub_4B46F8(int a1); |
463 | 2320 |
0 | 2321 signed int __fastcall sub_4BB756(signed int a1); |
2322 const char *sub_4BBA85_bounties(); | |
2323 void __cdecl sub_4BBCDD(); | |
2324 void __fastcall _4BBF61_summon_actor(int a1, __int16 x, int y, int z); // idb | |
2325 void __cdecl ArenaFight(); | |
496 | 2326 void SpellBookGenerator(); |
423 | 2327 struct GUIButton *__cdecl UI_CreateEndConversationButton(); |
651 | 2328 void __fastcall OnSelectShopDialogueOption(signed int uMessageParam); |
0 | 2329 signed int __cdecl sub_4BD8B5(); |
2330 bool __fastcall sub_4BDAAF(ItemGen *a1, int _2da_idx); | |
2331 void __cdecl sub_4BDB56_buy_skill____(); | |
2332 struct FrameTableTxtLine *__thiscall texture_frame_table_txt_parser(const char *_this, FrameTableTxtLine *a2); | |
2333 struct FrameTableTxtLine *__thiscall frame_table_txt_parser(const char *pString, FrameTableTxtLine *a2); | |
475 | 2334 |
0 | 2335 void __cdecl ShowIntroVideo_and_LoadingScreen(); |
2336 unsigned int __thiscall GameOverMenu(void *ecx0); | |
2337 bool __thiscall BinkLockBuffer(struct _BINKBUF *_this); | |
2338 void __thiscall BinkUnlockBuffer(struct _BINKBUF *_this); | |
2339 void __cdecl loc_4C0D27(); // idb | |
2340 void __cdecl vis_nullsub_22(); // idb | |
2341 void __cdecl vis_nullsub_23(); // idb | |
2342 void __cdecl vis_loc_4C19F7(); // idb | |
2343 int __cdecl sr_sub_4D714C(struct stru315 *a1); | |
2344 int __cdecl sr_sub_4D71F8(struct stru315 *a1); | |
2345 void __cdecl sr_sub_4D754B(struct stru315 *a1, struct stru316 *a2); | |
2346 void __cdecl sr_sub_4D7630(struct stru315 *a1, struct stru316 *a2); | |
2347 void __cdecl sr_sub_4D76ED(struct stru315 *a1, struct stru316 *a2); | |
2348 void __cdecl sr_sub_4D77D2(struct stru315 *a1, struct stru316 *a2); | |
2349 void __cdecl sr_sub_4D789A(struct stru315 *a1, struct stru316 *a2); | |
2350 int __cdecl sub_4D798C(int a1, int a2, int a3, int a4); | |
2351 int __cdecl sub_4D79CF(int a1, int a2, int a3, int a4); | |
2352 int __cdecl sub_4D79FD(int a1, int a2, int a3, int a4); | |
2353 int __cdecl sub_4D7A10(int a1, int a2, int a3, int a4); | |
2354 int /*__usercall*/ sr_sub_4D72EC/*<eax>*/(int a1/*<ebp>*/); | |
2355 int /*__usercall*/ sr_sub_4D73DF/*<eax>*/(int a1/*<ebp>*/); | |
2356 signed int __fastcall SpawnRandomTreasure(struct MapInfo *a1, struct SpawnPointMM7 *a2); | |
187 | 2357 void DamageMonsterFromParty(signed int a1, unsigned int uActorID_Monster, struct Vec3_int_ *pVelocity); |
0 | 2358 |
2359 | |
2360 #define ErrD3D(hr) do {extern void ErrHR(HRESULT, const char *, const char *, const char *, int); ErrHR(hr, "Direct3D", __FUNCTION__, __FILE__, __LINE__);} while(0) | |
2361 | |
2362 | |
2363 namespace zlib | |
2364 { | |
2365 int MemZip(void *dest, unsigned int *destLen, void *source, unsigned int sourceLen); | |
2366 int MemUnzip(void *dest, unsigned int *destLen, const void *source, unsigned int sourceLen); | |
2367 }; |