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