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