annotate mm7_data.h @ 991:c5d8ea1e6ccb

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