annotate mm7_data.h @ 116:918dca162239

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