annotate Engine/mm7_data.cpp @ 2575:a76d408c5132 tip

DrawTranslucent -> DrawTextureGrayShade Removed old texture drawing stuff
author a.parshin
date Wed, 09 Mar 2016 01:39:52 +0200
parents dd36326a9994
children
rev   line source
2499
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1 #define _CRTDBG_MAP_ALLOC
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
2 #include <stdlib.h>
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
3 #include <crtdbg.h>
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
4
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
5 #define _CRT_SECURE_NO_WARNINGS
2541
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2539
diff changeset
6
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2539
diff changeset
7 #include "Engine/Engine.h"
2499
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
8
2502
a77c34acdbc9 Media folder
Ritor1
parents: 2499
diff changeset
9 #include "GUI/GUIWindow.h"
2499
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
10 #include "Party.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
11
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
12
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
13 void ErrHR(HRESULT hr, const char *pAPI, const char *pFunction, const char *pFile, int line)
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
14 {
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
15 if (SUCCEEDED(hr))
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
16 return;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
17
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
18 char msg[4096];
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
19 sprintf(msg, "%s error (%08X) in\n\t%s\nin\n\t%s:%u",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
20 pAPI, hr, pFunction, pFile, line);
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
21
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
22 char caption[1024];
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
23 sprintf(caption, "%s error", pAPI);
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
24
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
25 MessageBoxA(nullptr, msg, caption, MB_ICONEXCLAMATION);
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
26 }
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
27
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
28
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
29
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
30
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
31 #include "OurMath.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
32 struct stru193_math *stru_5C6E00 = new stru193_math;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
33
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
34 #include "MapInfo.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
35 struct MapStats *pMapStats;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
36
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
37 #include "Engine/Graphics/Viewport.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
38 struct Viewport *pViewport = new Viewport;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
39 struct ViewingParams *viewparams = new ViewingParams;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
40
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
41
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
42
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
43 #include "stru123.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
44 stru123 stru_5E4C90_MapPersistVars;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
45
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
46 #include "stru298.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
47 stru298 AttackerInfo; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
48
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
49 #include "Engine/Autonotes.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
50 std::array<Autonote, 196> pAutonoteTxt; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
51
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
52 #include "Engine/Awards.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
53 std::array<Award, 105> pAwards;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
54 std::array<AwardType, 1000> achieved_awards;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
55 int num_achieved_awards;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
56 int full_num_items_in_book;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
57
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
58 #include "stru160.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
59 std::array<stru160, 66> array_4EB8B8 =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
60 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
61 stru160( 0.0000000f, 0.0000000f, 1.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
62 stru160( 0.0000000f, 0.3826830f, 0.9238799f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
63 stru160( 0.3826830f, 0.0000000f, 0.9238799f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
64 stru160( 0.4082480f, 0.4082480f, 0.8164970f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
65 stru160( 0.0000000f, 0.7071070f, 0.7071070f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
66 stru160( 0.7071070f, 0.0000000f, 0.7071070f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
67 stru160( 0.4082480f, 0.8164970f, 0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
68 stru160( 0.8164970f, 0.4082480f, 0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
69 stru160( 0.7071070f, 0.7071070f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
70 stru160( 0.0000000f, 0.9238799f, 0.3826830f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
71 stru160( 0.3826830f, 0.9238799f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
72 stru160( 0.0000000f, 1.0000000f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
73 stru160( 0.9238799f, 0.3826830f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
74 stru160( 0.9238799f, 0.0000000f, 0.3826830f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
75 stru160( 1.0000000f, 0.0000000f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
76 stru160( 0.0000000f, -0.3826830f, 0.9238799f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
77 stru160( 0.4082480f, -0.4082480f, 0.8164970f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
78 stru160( 0.0000000f, -0.7071070f, 0.7071070f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
79 stru160( 0.8164970f, -0.4082480f, 0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
80 stru160( 0.4082480f, -0.8164970f, 0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
81 stru160( 0.7071070f, -0.7071070f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
82 stru160( 0.9238799f, -0.3826830f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
83 stru160( 0.3826830f, -0.9238799f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
84 stru160( 0.0000000f, -0.9238799f, 0.3826830f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
85 stru160( 0.0000000f, -1.0000000f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
86 stru160(-0.3826830f, 0.0000000f, 0.9238799f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
87 stru160(-0.4082480f, -0.4082480f, 0.8164970f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
88 stru160(-0.7071070f, 0.0000000f, 0.7071070f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
89 stru160(-0.4082480f, -0.8164970f, 0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
90 stru160(-0.8164970f, -0.4082480f, 0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
91 stru160(-0.7071070f, -0.7071070f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
92 stru160(-0.3826830f, -0.9238799f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
93 stru160(-0.9238799f, -0.3826830f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
94 stru160(-0.9238799f, 0.0000000f, 0.3826830f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
95 stru160(-1.0000000f, 0.0000000f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
96 stru160(-0.4082480f, 0.4082480f, 0.8164970f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
97 stru160(-0.8164970f, 0.4082480f, 0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
98 stru160(-0.4082480f, 0.8164970f, 0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
99 stru160(-0.7071070f, 0.7071070f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
100 stru160(-0.9238799f, 0.3826830f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
101 stru160(-0.3826830f, 0.9238799f, 0.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
102 stru160( 0.0000000f, 0.0000000f, -1.0000000f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
103 stru160( 0.0000000f, 0.3826830f, -0.9238799f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
104 stru160( 0.3826830f, 0.0000000f, -0.9238799f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
105 stru160( 0.4082480f, 0.4082480f, -0.8164970f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
106 stru160( 0.0000000f, 0.7071070f, -0.7071070f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
107 stru160( 0.7071070f, 0.0000000f, -0.7071070f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
108 stru160( 0.4082480f, 0.8164970f, -0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
109 stru160( 0.8164970f, 0.4082480f, -0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
110 stru160( 0.0000000f, 0.9238799f, -0.3826830f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
111 stru160( 0.9238799f, 0.0000000f, -0.3826830f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
112 stru160( 0.0000000f, -0.3826830f, -0.9238799f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
113 stru160( 0.4082480f, -0.4082480f, -0.8164970f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
114 stru160( 0.0000000f, -0.7071070f, -0.7071070f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
115 stru160( 0.8164970f, -0.4082480f, -0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
116 stru160( 0.4082480f, -0.8164970f, -0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
117 stru160( 0.0000000f, -0.9238799f, -0.3826830f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
118 stru160(-0.3826830f, 0.0000000f, -0.9238799f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
119 stru160(-0.4082480f, -0.4082480f, -0.8164970f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
120 stru160(-0.7071070f, 0.0000000f, -0.7071070f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
121 stru160(-0.4082480f, -0.8164970f, -0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
122 stru160(-0.8164970f, -0.4082480f, -0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
123 stru160(-0.9238799f, 0.0000000f, -0.3826830f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
124 stru160(-0.4082480f, 0.4082480f, -0.8164970f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
125 stru160(-0.8164970f, 0.4082480f, -0.4082480f),
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
126 stru160(-0.4082480f, 0.8164970f, -0.4082480f)
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
127 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
128 std::array<stru160, 128> array_4EBBD0;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
129 std::array<__int32, 128*3> array_4EBBD0_x =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
130 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
131 0x00000000, 0x00000001, 0x00000002, 0x00000001,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
132 0x00000003, 0x00000002, 0x00000001, 0x00000004,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
133 0x00000003, 0x00000003, 0x00000005, 0x00000002,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
134 0x00000004, 0x00000006, 0x00000003, 0x00000006,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
135 0x00000007, 0x00000003, 0x00000006, 0x00000008,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
136 0x00000007, 0x00000007, 0x00000005, 0x00000003,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
137 0x00000004, 0x00000009, 0x00000006, 0x00000009,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
138 0x0000000A, 0x00000006, 0x00000009, 0x0000000B,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
139 0x0000000A, 0x0000000A, 0x00000008, 0x00000006,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
140 0x00000008, 0x0000000C, 0x00000007, 0x0000000C,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
141 0x0000000D, 0x00000007, 0x0000000C, 0x0000000E,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
142 0x0000000D, 0x0000000D, 0x00000005, 0x00000007,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
143 0x00000000, 0x00000002, 0x0000000F, 0x00000002,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
144 0x00000010, 0x0000000F, 0x00000002, 0x00000005,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
145 0x00000010, 0x00000010, 0x00000011, 0x0000000F,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
146 0x00000005, 0x00000012, 0x00000010, 0x00000012,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
147 0x00000013, 0x00000010, 0x00000012, 0x00000014,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
148 0x00000013, 0x00000013, 0x00000011, 0x00000010,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
149 0x00000005, 0x0000000D, 0x00000012, 0x0000000D,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
150 0x00000015, 0x00000012, 0x0000000D, 0x0000000E,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
151 0x00000015, 0x00000015, 0x00000014, 0x00000012,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
152 0x00000014, 0x00000016, 0x00000013, 0x00000016,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
153 0x00000017, 0x00000013, 0x00000016, 0x00000018,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
154 0x00000017, 0x00000017, 0x00000011, 0x00000013,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
155 0x00000000, 0x0000000F, 0x00000019, 0x0000000F,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
156 0x0000001A, 0x00000019, 0x0000000F, 0x00000011,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
157 0x0000001A, 0x0000001A, 0x0000001B, 0x00000019,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
158 0x00000011, 0x0000001C, 0x0000001A, 0x0000001C,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
159 0x0000001D, 0x0000001A, 0x0000001C, 0x0000001E,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
160 0x0000001D, 0x0000001D, 0x0000001B, 0x0000001A,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
161 0x00000011, 0x00000017, 0x0000001C, 0x00000017,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
162 0x0000001F, 0x0000001C, 0x00000017, 0x00000018,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
163 0x0000001F, 0x0000001F, 0x0000001E, 0x0000001C,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
164 0x0000001E, 0x00000020, 0x0000001D, 0x00000020,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
165 0x00000021, 0x0000001D, 0x00000020, 0x00000022,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
166 0x00000021, 0x00000021, 0x0000001B, 0x0000001D,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
167 0x00000000, 0x00000019, 0x00000001, 0x00000019,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
168 0x00000023, 0x00000001, 0x00000019, 0x0000001B,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
169 0x00000023, 0x00000023, 0x00000004, 0x00000001,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
170 0x0000001B, 0x00000024, 0x00000023, 0x00000024,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
171 0x00000025, 0x00000023, 0x00000024, 0x00000026,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
172 0x00000025, 0x00000025, 0x00000004, 0x00000023,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
173 0x0000001B, 0x00000021, 0x00000024, 0x00000021,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
174 0x00000027, 0x00000024, 0x00000021, 0x00000022,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
175 0x00000027, 0x00000027, 0x00000026, 0x00000024,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
176 0x00000026, 0x00000028, 0x00000025, 0x00000028,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
177 0x00000009, 0x00000025, 0x00000028, 0x0000000B,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
178 0x00000009, 0x00000009, 0x00000004, 0x00000025,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
179 0x00000029, 0x0000002A, 0x0000002B, 0x0000002A,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
180 0x0000002C, 0x0000002B, 0x0000002A, 0x0000002D,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
181 0x0000002C, 0x0000002C, 0x0000002E, 0x0000002B,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
182 0x0000002D, 0x0000002F, 0x0000002C, 0x0000002F,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
183 0x00000030, 0x0000002C, 0x0000002F, 0x00000008,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
184 0x00000030, 0x00000030, 0x0000002E, 0x0000002C,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
185 0x0000002D, 0x00000031, 0x0000002F, 0x00000031,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
186 0x0000000A, 0x0000002F, 0x00000031, 0x0000000B,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
187 0x0000000A, 0x0000000A, 0x00000008, 0x0000002F,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
188 0x00000008, 0x0000000C, 0x00000030, 0x0000000C,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
189 0x00000032, 0x00000030, 0x0000000C, 0x0000000E,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
190 0x00000032, 0x00000032, 0x0000002E, 0x00000030,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
191 0x00000029, 0x0000002B, 0x00000033, 0x0000002B,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
192 0x00000034, 0x00000033, 0x0000002B, 0x0000002E,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
193 0x00000034, 0x00000034, 0x00000035, 0x00000033,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
194 0x0000002E, 0x00000036, 0x00000034, 0x00000036,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
195 0x00000037, 0x00000034, 0x00000036, 0x00000014,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
196 0x00000037, 0x00000037, 0x00000035, 0x00000034,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
197 0x0000002E, 0x00000032, 0x00000036, 0x00000032,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
198 0x00000015, 0x00000036, 0x00000032, 0x0000000E,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
199 0x00000015, 0x00000015, 0x00000014, 0x00000036,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
200 0x00000014, 0x00000016, 0x00000037, 0x00000016,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
201 0x00000038, 0x00000037, 0x00000016, 0x00000018,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
202 0x00000038, 0x00000038, 0x00000035, 0x00000037,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
203 0x00000029, 0x00000033, 0x00000039, 0x00000033,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
204 0x0000003A, 0x00000039, 0x00000033, 0x00000035,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
205 0x0000003A, 0x0000003A, 0x0000003B, 0x00000039,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
206 0x00000035, 0x0000003C, 0x0000003A, 0x0000003C,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
207 0x0000003D, 0x0000003A, 0x0000003C, 0x0000001E,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
208 0x0000003D, 0x0000003D, 0x0000003B, 0x0000003A,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
209 0x00000035, 0x00000038, 0x0000003C, 0x00000038,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
210 0x0000001F, 0x0000003C, 0x00000038, 0x00000018,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
211 0x0000001F, 0x0000001F, 0x0000001E, 0x0000003C,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
212 0x0000001E, 0x00000020, 0x0000003D, 0x00000020,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
213 0x0000003E, 0x0000003D, 0x00000020, 0x00000022,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
214 0x0000003E, 0x0000003E, 0x0000003B, 0x0000003D,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
215 0x00000029, 0x00000039, 0x0000002A, 0x00000039,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
216 0x0000003F, 0x0000002A, 0x00000039, 0x0000003B,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
217 0x0000003F, 0x0000003F, 0x0000002D, 0x0000002A,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
218 0x0000003B, 0x00000040, 0x0000003F, 0x00000040,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
219 0x00000041, 0x0000003F, 0x00000040, 0x00000026,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
220 0x00000041, 0x00000041, 0x0000002D, 0x0000003F,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
221 0x0000003B, 0x0000003E, 0x00000040, 0x0000003E,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
222 0x00000027, 0x00000040, 0x0000003E, 0x00000022,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
223 0x00000027, 0x00000027, 0x00000026, 0x00000040,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
224 0x00000026, 0x00000028, 0x00000041, 0x00000028,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
225 0x00000031, 0x00000041, 0x00000028, 0x0000000B,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
226 0x00000031, 0x00000031, 0x0000002D, 0x00000041
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
227 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
228
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
229 #include "MapsLongTimer.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
230 MapsLongTimer MapsLongTimersList[100];
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
231
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
232 #include "Engine/Objects/ObjectList.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
233 struct ObjectList *pObjectList;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
234
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
235 #include "Engine/Tables/IconFrameTable.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
236 struct IconFrameTable *pIconsFrameTable;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
237
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
238
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
239
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
240 #include "Engine/Tables/PlayerFrameTable.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
241 struct PlayerFrameTable *pPlayerFrameTable; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
242
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
243
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
244 std::array<stat_coord, 26> stat_string_coord = //4E2940
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
245 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
246 {0x1A, 0x39, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
247 {0x1A, 0x4A, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
248 {0x1A, 0x5B, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
249 {0x1A, 0x6C, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
250 {0x1A, 0x7D, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
251 {0x1A, 0x8E, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
252 {0x1A, 0x9F, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
253 {0x1A, 0xC6, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
254 {0x1A, 0xD7, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
255 {0x1A, 0xE8, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
256 {0x1A, 0x10C, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
257 {0x1A, 0x11E, 0xDC, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
258 {0x111, 0x36, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
259 {0x111, 0x47, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
260 {0x111, 0x58, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
261 {0x111, 0x7E, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
262 {0x111, 0x8F, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
263 {0x111, 0xA0, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
264 {0x111, 0xB1, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
265 {0x111, 0xCA, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
266 {0x111, 0xDD, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
267 {0x111, 0xF0, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
268 {0x111, 0x103, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
269 {0x111, 0x116, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
270 {0x111, 0x129, 0xBA, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
271 {0x13E, 0x12, 0x89, 0x12},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
272 }
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
273 };
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
274
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
275
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
276
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
277
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
278
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
279 #include "stru314.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
280 #include "stru367.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
281
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
282
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
283
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
284 //-------------------------------------------------------------------------
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
285 // Data declarations
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
286
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
287 int game_starting_year = 0;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
288 unsigned int game_viewport_width;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
289 unsigned int game_viewport_height;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
290 int game_viewport_x;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
291 int game_viewport_y;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
292 int game_viewport_z;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
293 int game_viewport_w;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
294
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
295
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
296
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
297 std::array<unsigned int, 2> saveload_dlg_xs = {82, 0};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
298 std::array<unsigned int, 2> saveload_dlg_ys = {60, 0};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
299 std::array<unsigned int, 2> saveload_dlg_zs = {460, 640};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
300 std::array<unsigned int, 2> saveload_dlg_ws = {344, 480};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
301 int pWindowList_at_506F50_minus1_indexing[1];
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
302 int dword_4C9890[10]; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
303 int dword_4C9920[16]; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
304 char byte_4D864C; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
305 float flt_4D86CC = 1.0f; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
306 int dword_4D86D8 = 0x40000000; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
307
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
308
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
309
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
310
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
311
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
312
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
313
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
314 float flt_4D84E8 = 0.0f;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
315
2541
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2539
diff changeset
316 enum CURRENT_SCREEN current_screen_type = SCREEN_VIDEO; // 004E28F8
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2539
diff changeset
317 unsigned int uGammaPos = 0;
2499
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
318 std::array<int, 8> BtnTurnCoord =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
319 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
320 0xA4, 0x5D, 0x16, 0xB, 0x5, 0xD, 0x7, 0x3B,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
321 }}; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
322 std::array<__int16, 4> RightClickPortraitXmin={{0x14, 0x83, 0xF2, 0x165}};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
323 std::array<__int16, 4> RightClickPortraitXmax={{0x53, 0xC6, 0x138, 0x1A7}};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
324
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
325 std::array<unsigned int, 4> pHealthBarPos = {{22, 137, 251, 366}};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
326 std::array<unsigned int, 4> pManaBarPos = {{102, 217, 331, 447}};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
327
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
328 std::array<char, 88> monster_popup_y_offsets =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
329 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
330 -20, 20, 0, -40, 0, 0, 0, 0, 0, 0, -50,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
331 20, 0, -10, -10, -20, 10, -10, 0, 0, 0, -20,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
332 10, -10, 0, 0, 0, -20, -10, 0, 0, 0, -40,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
333 -20, 0, 0, 0, -50, -30, -30, -30, -30, -30, -30,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
334 0, 0, 0, 0, 0, 0, -20, -20, -20, 20, 20,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
335 20, 10, 10, 10, 10, 10, 10, -90, -60, -40, -20,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
336 -20, -80, -10, 0, 0, -40, 0, 0, 0, -20, 10,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
337 0, 0, 0, 0, 0, 0, -60, 0, 0, 0, 0
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
338 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
339 unsigned char hourglass_icon_idx = 12; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
340
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
341
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
342 const char *format_4E2D80 = "\f%05d%s\f00000\n";
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
343 //const char *format_4E2DC8 = "\f%05d";
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
344 const char *format_4E2DE8 = "\f%05d%s\f00000 - ";
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
345 const char *Stat_string_format_2_column_text = "%s\f%05u\r180%s\n";
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
346 const char *Stat_string_format_2_column_less_100 = "%s\f%05u\t110%d\f00000 / %d\n";
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
347 const char *Stat_string_format_2_column_over_100 = "%s\f%05u\r180%d\f00000 / %d\n";
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
348 int dword_4E455C; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
349 std::array<int, 6> dword_4E4560;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
350 std::array<int, 6> dword_4E4578;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
351 std::array<int, 6> dword_4E4590;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
352 std::array<int, 6> dword_4E45A8;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
353 std::array<float, 10> flt_4E4A80 =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
354 {
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
355 0.050000001, 0.1, 0.30000001, 0.5, 0.60000002,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
356 1.0, 6.0, 25.0, 50.0, 100.0
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
357 };
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
358
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
359
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
360 std::array< std::array<int, 2>, 14> pPartySpellbuffsUI_XYs =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
361 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
362 {477, 247}, {497, 247}, {522, 247}, {542, 247}, {564, 247}, {581, 247}, {614, 247},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
363 {477, 279}, {497, 279}, {522, 279}, {542, 279}, {564, 279}, {589, 279}, {612, 279}
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
364 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
365 std::array<unsigned char, 14> byte_4E5DD8 =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
366 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
367 PARTY_BUFF_FEATHER_FALL, PARTY_BUFF_RESIST_FIRE, PARTY_BUFF_RESIST_AIR, PARTY_BUFF_RESIST_WATER, PARTY_BUFF_RESIST_MIND, PARTY_BUFF_RESIST_EARTH, PARTY_BUFF_RESIST_BODY,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
368 PARTY_BUFF_HEROISM, PARTY_BUFF_HASTE, PARTY_BUFF_SHIELD, PARTY_BUFF_STONE_SKIN, PARTY_BUFF_PROTECTION_FROM_MAGIC, PARTY_BUFF_IMMOLATION, PARTY_BUFF_DAY_OF_GODS
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
369 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
370 std::array<unsigned __int8, 14> pPartySpellbuffsUI_smthns =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
371 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
372 14, 1, 10, 4, 7, 2, 9,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
373 3, 6, 15, 8, 3, 12, 0
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
374 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
375
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
376 std::array< std::array<int, 6>, 6> pNPCPortraits_x = // 004E5E50
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
377 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
378 {521, 0, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
379 {521, 521, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
380 {521, 521, 521, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
381 {521, 486, 564, 521, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
382 {521, 486, 564, 486, 564, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
383 {486, 564, 486, 564, 486, 564}
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
384 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
385 std::array< std::array<int, 6>, 6> pNPCPortraits_y = // 004E5EE0
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
386 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
387 {38, 0, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
388 {38, 165, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
389 {38, 133, 228, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
390 {38, 133, 133, 228, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
391 {38, 133, 133, 228, 228, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
392 {38, 38, 133, 133, 228, 228}
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
393 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
394 std::array<const char *, 11> pHouse_ExitPictures=
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
395 {
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
396 "",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
397 "ticon01",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
398 "ticon02",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
399 "ticon03",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
400 "ticon04",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
401 "ticon05",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
402 "istairup",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
403 "itrap",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
404 "outside",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
405 "idoor",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
406 "isecdoor"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
407 };
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
408
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
409 std::array<__int16, 11> word_4E8152 = {0, 0, 0, 90, 8, 2, 70, 20, 10, 50, 30};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
410
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
411 char _4E94D0_light_type = 5; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
412 char _4E94D2_light_type = 6; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
413 char _4E94D3_light_type = 10; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
414 int dword_4E98BC_bApplicationActive; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
415 //char *off_4EB080; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
416 std::array<char*, 465> pTransitionStrings = {"", nullptr}; // 004EB080
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
417 std::array<const char*, 25> pPlayerPortraitsNames =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
418 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
419 "pc01-", "pc02", "pc03", "pc04", "pc05-",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
420 "pc06", "pc07", "pc08", "pc09-", "pc10",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
421 "pc11-", "pc12", "pc13", "pc14", "pc15",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
422 "pc16", "pc17-", "pc18", "pc19", "pc20",
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
423 "pc21-", "pc22-", "pc23", "pc24-", "pc25-"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
424 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
425
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
426
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
427
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
428 std::array< std::array<unsigned char, 25>, 48> byte_4ECF08 = // 4ECF08
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
429 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
430 {2, 1, 2, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 1, 1},//1
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
431 {2, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2},//2
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
432 {2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},//3
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
433 {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},//4
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
434 {2, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},//5
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
435 {2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},//6
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
436 {2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},//7
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
437 {2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 1, 1},//8
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
438 {2, 1, 2, 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2},//9
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
439 {2, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},//10
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
440 {2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2},//11
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
441 {1, 1, 2, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 2},//12
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
442 {2, 1, 2, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},//13
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
443 {1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 2},//14
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
444 {2, 1, 1, 2, 1, 1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2},//15
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
445 {1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 1, 1},//16
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
446 {1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},//17
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
447 {1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1},//18
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
448 {1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},//19
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
449 {1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},//20
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
450 {1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},//21
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
451 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},//22
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
452 {2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1},//23
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
453 {2, 2, 2, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2},//24
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
454 {1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 1, 1, 1, 1, 2, 2, 2, 1, 2, 1, 1},//25
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
455 {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},//26
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
456 {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2},//27
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
457 {1, 2, 2, 1, 2, 2, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},//28
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
458 {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 1, 2, 2, 1, 2, 1, 1},//29
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
459 {1, 2, 2, 1, 2, 1, 2, 2, 1, 2, 2, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1},//30
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
460 {1, 1, 2, 1, 2, 1, 2, 2, 2, 2, 2, 1, 2, 1, 2, 1, 2, 2, 2, 2, 2, 1, 2, 1, 1},//31
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
461 {1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 2, 2, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2},//32
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
462 {1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1},//33
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
463 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1},//34
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
464 {1, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2},//35
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
465 {1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2},//36
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
466 {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2},//37
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
467 {2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 1, 2, 1, 1},//38
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
468 {1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1},//39
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
469 {1, 2, 2, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},//40
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
470 {2, 1, 2, 1, 2, 1, 2, 2, 2, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1},//41
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
471 {1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1},//42
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
472 {1, 2, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},//43
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
473 {1, 2, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 2},//44
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
474 {2, 1, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2},//45
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
475 {1, 1, 1, 2, 2, 2, 1, 1, 2, 1, 2, 1, 2, 2, 2, 2, 2, 1, 1, 2, 1, 2, 1, 2, 2},//46
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
476 {1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1},//47
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
477 {1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1},//48
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
478 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
479 std::array<std::array<unsigned char, 8>, 110> SoundSetAction = // 4ED3D8
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
480 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
481 { 0, 0, 0, 0, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
482 {38, 0, 0, 37, 38, 45, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
483 {37, 0, 0, 47, 53, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
484 { 2, 0, 0, 25, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
485 { 1, 0, 0, 47, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
486 { 3, 0, 0, 41, 42, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
487 { 0, 0, 0, 33, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
488 { 5, 0, 0, 21, 22, 23, 24, 45},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
489 { 6, 0, 0, 47, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
490 { 7, 0, 0, 43, 48, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
491 { 8, 0, 0, 38, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
492 { 9, 0, 0, 39, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
493 {13, 0, 0, 37, 38, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
494 {23, 0, 0, 25, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
495 { 0, 0, 0, 37, 38, 45, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
496 {25, 0, 0, 25, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
497 {26, 0, 0, 38, 47, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
498 {27, 0, 0, 41, 42, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
499 {28, 0, 0, 25, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
500 { 0, 0, 0, 51, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
501 {30, 0, 0, 25, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
502 {29, 0, 0, 27, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
503 {32, 33, 0, 37, 38, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
504 {34, 0, 0, 53, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
505 {15, 0, 0, 34, 35, 36, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
506 { 0, 0, 0, 3, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
507 {22, 0, 0, 5, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
508 {20, 0, 0, 8, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
509 {20, 0, 0, 9, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
510 {19, 0, 0, 7, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
511 {21, 0, 0, 2, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
512 {18, 0, 0, 6, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
513 { 0, 0, 0, 11, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
514 {17, 0, 0, 0, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
515 { 0, 0, 0, 12, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
516 {17, 0, 0, 0, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
517 { 0, 0, 0, 37, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
518 { 0, 0, 0, 49, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
519 {24, 0, 0, 25, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
520 {31, 0, 0, 25, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
521 { 0, 0, 0, 41, 42, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
522 { 0, 0, 0, 39, 48, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
523 { 0, 0, 0, 46, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
524 { 0, 0, 0, 39, 48, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
525 { 0, 0, 0, 41, 42, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
526 { 0, 0, 0, 39, 48, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
527 {41, 0, 0, 21, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
528 {40, 0, 0, 21, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
529 {16, 0, 0, 46, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
530 { 0, 0, 0, 40, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
531 { 0, 0, 0, 39, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
532 { 0, 0, 0, 37, 38, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
533 { 0, 0, 0, 48, 49, 50, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
534 { 0, 0, 0, 44, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
535 { 0, 0, 0, 48, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
536 { 0, 0, 0, 37, 38, 45, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
537 { 0, 0, 0, 41, 42, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
538 { 0, 0, 0, 47, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
539 { 0, 0, 0, 39, 48, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
540 { 0, 0, 0, 39, 48, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
541 { 0, 0, 0, 37, 38, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
542 { 0, 0, 0, 37, 38, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
543 { 0, 0, 0, 37, 38, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
544 { 0, 0, 0, 31, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
545 { 0, 0, 0, 32, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
546 {47, 0, 0, 46, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
547 {22, 0, 0, 5, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
548 { 0, 0, 0, 25, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
549 { 0, 0, 0, 37, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
550 { 0, 0, 0, 52, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
551 { 0, 0, 0, 45, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
552 { 0, 0, 0, 27, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
553 { 0, 0, 0, 37, 38, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
554 { 0, 0, 0, 49, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
555 { 0, 0, 0, 48, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
556 { 0, 0, 0, 37, 38, 45, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
557 { 0, 0, 0, 48, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
558 { 0, 0, 0, 37, 38, 45, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
559 { 0, 0, 0, 47, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
560 { 0, 0, 0, 48, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
561 {44, 0, 0, 39, 48, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
562 { 0, 0, 0, 48, 49, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
563 { 0, 0, 0, 38, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
564 { 0, 0, 0, 31, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
565 {32, 33, 0, 37, 38, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
566 { 0, 0, 0, 37, 38, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
567 { 0, 0, 0, 37, 38, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
568 { 0, 0, 0, 47, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
569 { 0, 0, 0, 38, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
570 { 0, 0, 0, 48, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
571 { 0, 0, 0, 0, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
572 { 0, 0, 0, 38, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
573 { 0, 0, 0, 47, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
574 { 0, 0, 0, 38, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
575 { 0, 0, 0, 0, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
576 { 0, 0, 0, 0, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
577 { 0, 0, 0, 38, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
578 { 0, 0, 0, 38, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
579 { 0, 0, 0, 5, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
580 { 0, 0, 0, 37, 38, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
581 { 0, 0, 0, 44, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
582 { 0, 0, 0, 48, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
583 { 4, 0, 0, 0, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
584 { 0, 0, 0, 58, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
585 {10, 0, 0, 45, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
586 {11, 0, 0, 47, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
587 {12, 0, 0, 43, 48, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
588 {39, 0, 0, 48, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
589 {14, 0, 0, 48, 0, 0, 0, 0},
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
590 {17, 0, 0, 0, 0, 0, 0, 0}
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
591 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
592 std::array<__int16, 4> pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing = {34, 149, 264, 379};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
593 std::array< std::array<char, 37>, 36> byte_4ED970_skill_learn_ability_by_class_table =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
594 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
595 2, 3, 2, 3, 3, 2, 3, 4, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 3, 0, 2, 1, 0, 1, 2, 2, 0, 3, 0, 0, 1,//Knight
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
596 2, 3, 2, 3, 3, 2, 3, 4, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 3, 0, 2, 1, 0, 1, 2, 2, 0, 3, 0, 0, 1,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
597 2, 4, 2, 3, 4, 2, 3, 4, 4, 3, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 4, 0, 2, 1, 0, 1, 2, 2, 0, 4, 0, 0, 1,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
598 2, 4, 2, 3, 4, 2, 3, 4, 4, 3, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 4, 0, 2, 1, 0, 1, 2, 2, 0, 4, 0, 0, 1,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
599
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
600 0, 3, 3, 0, 0, 2, 2, 4, 1, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 1, 2, 0, 3, 0, 0, 3, 3, 2, 0, 3, 3, 2, 2,//Thief
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
601 0, 3, 3, 0, 0, 2, 2, 4, 1, 3, 2, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 3, 3, 1, 2, 0, 3, 0, 0, 3, 3, 2, 0, 3, 3, 2, 2,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
602 0, 3, 4, 0, 0, 2, 2, 4, 1, 4, 2, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 3, 3, 1, 2, 0, 3, 0, 0, 4, 3, 2, 0, 3, 4, 2, 2,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
603 0, 3, 4, 0, 0, 2, 2, 4, 1, 4, 2, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 3, 3, 1, 2, 0, 3, 0, 0, 4, 3, 2, 0, 3, 4, 2, 2,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
604
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
605 3, 2, 2, 0, 2, 1, 0, 4, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 2, 1, 0, 1, 3, 3, 2, 3, 1, 0, 3,//Monk
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
606 3, 2, 2, 0, 2, 1, 0, 4, 0, 3, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 3, 0, 2, 1, 0, 2, 3, 3, 2, 3, 1, 0, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
607 4, 2, 2, 0, 2, 1, 0, 4, 0, 3, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 4, 0, 2, 1, 0, 2, 4, 4, 2, 3, 1, 0, 4,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
608 4, 2, 2, 0, 2, 1, 0, 4, 0, 3, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 4, 0, 2, 1, 0, 3, 4, 4, 2, 3, 2, 0, 4,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
609
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
610 1, 3, 2, 2, 2, 2, 3, 4, 3, 2, 2, 3, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 2, 3, 3, 2, 1, 3, 0, 0, 1, 1, 0, 2, 0, 0, 1,//Paladin
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
611 1, 3, 2, 2, 2, 2, 3, 4, 3, 2, 2, 3, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 2, 3, 3, 2, 1, 3, 0, 0, 1, 1, 0, 2, 0, 0, 1,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
612 1, 3, 2, 2, 2, 2, 4, 4, 4, 2, 2, 3, 0, 0, 0, 0, 3, 3, 3, 1, 0, 0, 2, 4, 3, 2, 1, 4, 0, 0, 1, 1, 0, 2, 0, 0, 1,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
613 1, 3, 2, 2, 2, 2, 4, 4, 4, 2, 2, 3, 0, 0, 0, 0, 3, 3, 3, 0, 1, 0, 2, 4, 3, 2, 1, 4, 0, 0, 1, 1, 0, 2, 0, 0, 1,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
614
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
615 1, 2, 2, 2, 3, 3, 0, 4, 0, 3, 3, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 3, 0, 0, 1, 2, 1, 0, 2, 0, 0, 3,//Archer
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
616 1, 2, 2, 2, 3, 3, 0, 4, 0, 3, 3, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 3, 0, 0, 1, 2, 1, 0, 2, 0, 0, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
617 1, 2, 2, 2, 3, 4, 0, 4, 0, 3, 4, 0, 3, 3, 3, 3, 0, 0, 0, 1, 0, 0, 2, 2, 2, 2, 4, 0, 0, 2, 2, 1, 0, 2, 0, 0, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
618 1, 2, 2, 2, 3, 4, 0, 4, 0, 3, 4, 0, 3, 3, 3, 3, 0, 0, 0, 0, 1, 0, 2, 2, 2, 2, 4, 0, 0, 2, 2, 1, 0, 2, 0, 0, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
619
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
620 1, 2, 2, 3, 2, 3, 0, 4, 2, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 1, 3, 2, 0, 2, 2, 1, 3, 2, 2, 1, 2,//Ranger
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
621 1, 2, 2, 3, 2, 3, 0, 4, 2, 3, 3, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 2, 1, 3, 2, 0, 2, 2, 1, 3, 2, 2, 1, 2,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
622 1, 2, 2, 4, 2, 3, 0, 4, 2, 3, 3, 0, 2, 2, 2, 2, 2, 2, 2, 0, 0, 1, 1, 1, 2, 1, 3, 2, 0, 2, 2, 1, 4, 2, 2, 1, 2,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
623 1, 2, 2, 4, 2, 3, 0, 4, 2, 3, 3, 0, 2, 2, 2, 2, 2, 2, 2, 0, 0, 1, 1, 1, 2, 1, 3, 2, 0, 2, 2, 1, 4, 2, 2, 1, 2,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
624
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
625 1, 0, 0, 0, 0, 2, 3, 4, 3, 2, 2, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 3, 3, 1, 3, 2, 3, 0, 0, 0, 0, 2, 0, 0, 2, 3,//Cleric
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
626 1, 0, 0, 0, 0, 2, 3, 4, 3, 2, 2, 0, 0, 0, 0, 0, 3, 3, 3, 0, 0, 0, 3, 3, 1, 3, 2, 3, 0, 0, 0, 0, 2, 0, 0, 2, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
627 1, 0, 0, 0, 0, 2, 3, 4, 3, 2, 2, 0, 0, 0, 0, 0, 4, 4, 4, 4, 0, 0, 4, 3, 1, 3, 2, 3, 0, 0, 0, 0, 2, 0, 0, 2, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
628 1, 0, 0, 0, 0, 2, 3, 4, 3, 2, 2, 0, 0, 0, 0, 0, 4, 4, 4, 0, 4, 0, 4, 3, 1, 3, 2, 3, 0, 0, 0, 0, 2, 0, 0, 2, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
629
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
630 1, 0, 3, 0, 0, 1, 2, 4, 2, 2, 0, 0, 2, 2, 2, 2, 2, 2, 2, 0, 0, 2, 2, 0, 0, 3, 2, 0, 0, 0, 0, 0, 2, 1, 0, 3, 3,//Druid
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
631 1, 0, 3, 0, 0, 1, 2, 4, 2, 2, 0, 0, 3, 3, 3, 3, 3, 3, 3, 0, 0, 2, 2, 0, 0, 3, 2, 0, 0, 0, 0, 0, 2, 1, 0, 3, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
632 1, 0, 3, 0, 0, 1, 2, 4, 2, 2, 0, 0, 3, 3, 3, 3, 3, 3, 3, 0, 0, 2, 2, 0, 0, 4, 2, 0, 0, 0, 0, 0, 2, 1, 0, 4, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
633 1, 0, 3, 0, 0, 1, 2, 4, 2, 2, 0, 0, 3, 3, 3, 3, 3, 3, 3, 0, 0, 2, 2, 0, 0, 4, 2, 0, 0, 0, 0, 0, 2, 1, 0, 4, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
634
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
635 3, 0, 2, 0, 0, 1, 0, 4, 0, 2, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 3, 1, 2, 0, 3, 2, 1, 0, 0, 0, 0, 3, 0, 0, 3, 3,//Sorcerer
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
636 3, 0, 2, 0, 0, 1, 0, 4, 0, 2, 0, 0, 3, 3, 3, 3, 0, 0, 0, 0, 0, 3, 1, 2, 0, 3, 2, 1, 0, 0, 0, 0, 3, 0, 0, 3, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
637 3, 0, 2, 0, 0, 1, 0, 4, 0, 2, 0, 0, 4, 4, 4, 4, 0, 0, 0, 4, 0, 4, 1, 2, 0, 3, 2, 1, 0, 0, 0, 0, 4, 0, 0, 3, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
638 3, 0, 2, 0, 0, 1, 0, 4, 0, 2, 0, 0, 4, 4, 4, 4, 0, 0, 0, 0, 4, 4, 1, 2, 0, 3, 2, 1, 0, 0, 0, 0, 4, 0, 0, 3, 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
639 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
640 std::array<unsigned int, 2> pHiredNPCsIconsOffsetsX = {489, 559};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
641 std::array<unsigned int, 2> pHiredNPCsIconsOffsetsY = {152, 152};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
642 std::array<int, 2> Party_Spec_Motion_status_ids = {7, 18}; //dword_4EE07C
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
643 std::array<__int16, 101> word_4EE088_sound_ids =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
644 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
645 0, 10000, 10010, 10020, 10030, 10040, 10050, 10060, 10070, 10080,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
646 10090, 10100, 11000, 11010, 11020, 11030, 11040, 11050, 11060, 11070,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
647 11080, 11090, 11100, 12000, 12010, 12020, 12030, 12040, 12050, 12060,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
648 12070, 12080, 12090, 12100, 13000, 13010, 13020, 13030, 13040, 13050,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
649 13060, 13070, 13080, 13090, 13100, 14000, 14010, 14020, 14030, 14040,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
650 14050, 14060, 14070, 14080, 14090, 14100, 15000, 15010, 15020, 15030,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
651 15040, 15050, 15060, 15070, 15080, 15090, 15100, 16000, 16010, 16020,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
652 16030, 16040, 16050, 16060, 16070, 16080, 16090, 16100, 17000, 17010,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
653 17020, 17030, 17040, 17050, 17060, 17070, 17080, 17090, 17100, 18000,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
654 18010, 18020, 18030, 18040, 18050, 18060, 18070, 18080, 18090, 18100,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
655 1
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
656 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
657 std::array<short, 28> word_4EE150 =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
658 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
659 1, 2, 3, 4, 5, 7, 32, 33, 36, 37, 38, 40, 41, 42, 43, 45, 46,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
660 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 60
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
661 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
662
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
663 int ScreenshotFileNumber; // dword_4EFA80
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
664
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
665 std::array<int, 32> guild_mambership_flags={{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
666 54, 54, 54, 54, 52, 52, 52, 52, 55, 55, 55, 55, 53, 53,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
667 53, 53, 58, 58, 58, 58, 57, 57, 57, 57, 56, 56,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
668 56, 56, 59, 59, 60, 60}};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
669 std::array<__int16, 49> word_4F0754;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
670 std::array<__int16, 54> _4F0882_evt_VAR_PlayerItemInHands_vals =
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
671 {{
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
672 0x0D4, 0x270, 0x0D5, 0x21C, 0x0D6, 0x2BE, 0x0D7, 0x2BD, 0x0D8, 0x289,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
673 0x0D9, 0x258, 0x0DA, 0x2AB, 0x0DB, 0x281, 0x0DC, 0x280, 0x0DD,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
674 0x284, 0x0DE, 0x285, 0x0DF, 0x283, 0x0E0, 0x282, 0x0E1, 0x27F,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
675 0x0E2, 0x1E7, 0x0E3, 0x287, 0x0E4, 0x272, 0x0E5, 0x267, 0x0E6,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
676 0x275, 0x0E7, 0x25A, 0x0E8, 0x2A4, 0x0E9, 0x2A5, 0x0EA, 0x2A3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
677 0x0EB, 0x25C, 0x0EC, 0x25D, 0x0ED, 0x259, 0x0F1, 0x21E
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
678 }};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
679 std::array<unsigned short, 6> pMaxLevelPerTrainingHallType = {5, 15, 25, 25, 200, 200};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
680
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
681 std::array<int, 11> price_for_membership={100, 100, 50, 50, 50, 50, 50, 50, 50, 1000, 1000}; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
682
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
683
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
684 std::array<__int16, 32> word_4F0F30 ={{ 4, 7, 10, 11,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
685 4, 7, 10, 11,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
686 4, 7, 10, 11,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
687 4, 7, 10, 11,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
688 4, 7, 10, 11,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
689 4, 7, 10, 11,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
690 4, 7, 10, 11,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
691 7, 11,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
692 7, 11}};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
693 std::array<int, 500> ai_array_4F5E68;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
694 std::array<int, 500> ai_array_4F6638_actor_ids;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
695 std::array<int, 500> ai_near_actors_targets_pid;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
696 int ai_arrays_size; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
697 std::array<int, 500> ai_near_actors_distances;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
698 std::array<unsigned int, 500> ai_near_actors_ids;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
699 std::array<int, 182> dword_4F8580 = {}; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
700
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
701 char byte_4FAA24; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
702 //HWND dword_4FAA28; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
703
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
704 std::array<unsigned int, 480> pSRZBufferLineOffsets;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
705 int areWeLoadingTexture; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
706 std::array<char, 777> books_num_items_per_page; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
707 int lloyds_beacon_spell_id; // dword_506338
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
708 int lloyds_beacon_sound_id; // dword_50633C
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
709 signed int sRecoveryTime; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
710 unsigned int uRequiredMana; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
711 int _506348_current_lloyd_playerid; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
712 __int64 lloyds_beacon_spell_level; // qword_506350
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
713 int dword_506364; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
714 int books_page_number; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
715 int books_primary_item_per_page; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
716 int Autonotes_Instructors_page_flag; // dword_50652C
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
717 int Autonotes_Misc_page_flag; //dword_506530
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
718 int Book_PageBtn6_flag; //dword_506534
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
719 int Book_PageBtn5_flag; //dword_506538
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
720 int Book_PageBtn4_flag; // dword_50653C
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
721 int Book_PageBtn3_flag; //dword_506540
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
722 int BtnDown_flag; //BtnDown_flag
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
723 int BtnUp_flag; //BtnUp_flag
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
724 int quick_spell_at_page; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
725 char byte_506550; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
726 std::array<const char *, 5> aMoonPhaseNames;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
727 int _506568_autonote_type; // weak
2574
dd36326a9994 More texture refactoring
a.parshin
parents: 2573
diff changeset
728 bool bRecallingBeacon; // weak
2499
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
729 int uLastPointedObjectID; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
730 //unsigned __int8 bMonsterInfoUI_bDollInitialized;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
731 std::array<const char *, 44> aSpellNames;
2541
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2539
diff changeset
732 enum CURRENT_SCREEN prev_screen_type; // weak
2499
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
733 int dword_506980_uW; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
734 int dword_506984_uZ; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
735 int dword_506988_uY; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
736 int dword_50698C_uX; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
737 int uGameMenuUI_CurentlySelectedKeyIdx; // 506E68
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
738 std::array<unsigned int, 28> pPrevVirtualCidesMapping;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
739 int KeyboardPageNum; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
740 int uRestUI_FoodRequiredToRest;
2542
a.parshin
parents: 2541
diff changeset
741 int _506F14_resting_stage; // weak
2499
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
742 int _506F18_num_minutes_to_sleep; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
743 int dword_506F1C; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
744 std::array<int, 20> pVisibleWindowsIdxs; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
745 int uNumVisibleWindows;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
746 char bFlashHistoryBook; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
747 char bFlashAutonotesBook; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
748 char bFlashQuestBook; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
749 struct GUIButton *pBtn_ZoomOut; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
750 struct GUIButton *pBtn_ZoomIn; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
751 unsigned int uGameUIFontShadow;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
752 unsigned int uGameUIFontMain;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
753 int dword_507B00_spell_info_to_draw_in_popup; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
754 std::array<const char *, 12> aMonthNames;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
755 std::array<const char *, 7> aDayNames;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
756 std::array<const char *, 9> aSpellSchoolNames;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
757 std::array<const char *, 7> aAttributeNames;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
758 unsigned int uActiveCharacter;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
759 int dword_507BF0_is_there_popup_onscreen; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
760 int awards_scroll_bar_created; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
761 int dword_507CC0_activ_ch; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
762 __int64 GameUI_RightPanel_BookFlashTimer; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
763 int _507CD4_RestUI_hourglass_anim_controller; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
764 bool OpenedTelekinesis;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
765 std::array<int, 50> dword_50B570; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
766 std::array<int, 50> dword_50B638; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
767 stru367 PortalFace;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
768 std::array<int, 100> dword_50BC10; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
769 std::array<int, 100> dword_50BDA0; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
770 std::array<int, 100> _50BF30_actors_in_viewport_ids; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
771 char town_portal_caster_id; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
772 int some_active_character; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
773 std::array<unsigned int, 5> pIconIDs_Turn;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
774 unsigned int uIconID_TurnStop;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
775 unsigned int uIconID_TurnHour;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
776 int uIconID_CharacterFrame; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
777 unsigned int uIconID_TurnStart;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
778 int dword_50C994 = 0; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
779 int dword_50C998_turnbased_icon_1A = 0; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
780 int uSpriteID_Spell11; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
781 bool _50C9A0_IsEnchantingInProgress; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
782 int _50C9A8_item_enchantment_timer = 0; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
783 int _50C9D0_AfterEnchClickEventId; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
784 int _50C9D4_AfterEnchClickEventSecondParam; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
785 int _50C9D8_AfterEnchClickEventTimeout; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
786 int dword_50C9DC; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
787 struct NPCData *ptr_50C9E0;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
788 //int dword_50C9E8; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
789 //int dword_50C9EC[120]; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
790 int dword_50CDC8;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
791 Vec3_int_ layingitem_vel_50FDFC;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
792 char pStartingMapName[32]; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
793 std::array<unsigned __int8, 5> IsPlayerWearingWatersuit;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
794 std::array<char, 54> party_has_equipment;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
795 std::array<char, 17> byte_5111F6_OwnedArtifacts;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
796
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
797 unsigned int uNumBlueFacesInBLVMinimap;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
798 std::array<unsigned __int16, 50> pBlueFacesInBLVMinimapIDs;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
799 std::array<int, 14> pTextureIDs_PartyBuffIcons;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
800 unsigned int uIconIdx_FlySpell;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
801 unsigned int uIconIdx_WaterWalk;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
802 int dword_576E28; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
803 int _576E2C_current_minimap_zoom; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
804 __int64 _5773B8_event_timer; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
805
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
806
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
807 int dword_591084; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
808 struct Actor *pDialogue_SpeakingActor;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
809 unsigned int uDialogueType;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
810 int sDialogue_SpeakingActorNPC_ID;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
811 struct LevelDecoration *_591094_decoration;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
812 std::array<char, 200> sHouseName; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
813 int uCurrentHouse_Animation; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
814 char *dword_591164_teleport_map_name; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
815 int dword_591168_teleport_speedz; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
816 int dword_59116C_teleport_directionx; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
817 int dword_591170_teleport_directiony; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
818 int dword_591174_teleportz; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
819 int dword_591178_teleporty; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
820 int dword_59117C_teleportx; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
821 std::array<std::array<char, 100>, 6> byte_591180; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
822 std::array<struct NPCData *, 7> HouseNPCData;//0 zero element holds standart house npc
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
823 GUIButton* HouseNPCPortraitsButtonsList[6];//dword_5913F4
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
824 std::array<char, 2000> byte_5B0938;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
825 int EvtTargetObj; // 0x5B5920
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
826 int _unused_5B5924_is_travel_ui_drawn = false; // 005B5924
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
827 int _5B65A8_npcdata_uflags_or_other; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
828 int _5B65AC_npcdata_fame_or_other; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
829 int _5B65B0_npcdata_rep_or_other; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
830 int _5B65B4_npcdata_loword_house_or_other; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
831 int _5B65B8_npcdata_hiword_house_or_other; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
832 int dword_5B65BC; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
833 int dword_5B65C0; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
834 int dword_5B65C4_cancelEventProcessing; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
835 int MapsLongTimers_count; // dword_5B65C8 ñ÷¸ò÷èê òàéìåðîâ äëÿ êîëîäöåâ, ôàåðâîëîâ-ëîâóøåê
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
836 int npcIdToDismissAfterDialogue; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
837 signed int dword_5B65D0_dialogue_actor_npc_id; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
838 int dword_5C3418; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
839 int dword_5C341C; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
840 //std::array<char, 777> byte_5C3427; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
841 std::array<char, 200> GameUI_Footer_TimedString;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
842 std::array<char, 200> pFooterString;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
843 unsigned int GameUI_Footer_TimeLeft;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
844 int bForceDrawFooter; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
845 int _5C35C0_force_party_death = false; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
846 int bDialogueUI_InitializeActor_NPC_ID; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
847 char *p2DEventsTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
848
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
849 int dword_5C35D4; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
850 std::array<const char *, 2> aAMPMNames;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
851 char byte_5C45AF[777]; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
852
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
853 std::array<char, 4096> pFinalMessage; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
854 std::array<char, 2000> pTmpBuf;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
855 std::array<char, 2000> pTmpBuf2;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
856 std::array<char, 100> Journal_limitation_factor; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
857 int ui_current_text_color; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
858 __int64 qword_5C6DF0; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
859 int dword_5C6DF8; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
860 std::array<char, 104> item__getname_buffer; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
861 std::array<char *, 36> pClassDescriptions;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
862 std::array<char *, 7> pAttributeDescriptions;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
863 std::array<char *, 38> pGrandSkillDesc;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
864 std::array<char *, 38> pMasterSkillDesc;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
865 std::array<char *, 38> pExpertSkillDesc;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
866 std::array<char *, 38> pNormalSkillDesc;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
867 std::array<char *, 38> pSkillDesc;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
868 char *pHealthPointsAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
869 char *pSpellPointsAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
870 char *pArmourClassAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
871 char *pPlayerConditionAttributeDescription; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
872 char *pFastSpellAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
873 char *pPlayerAgeAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
874 char *pPlayerLevelAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
875 char *pPlayerExperienceAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
876 char *pAttackBonusAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
877 char *pAttackDamageAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
878 char *pMissleBonusAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
879 char *pMissleDamageAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
880 char *pFireResistanceAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
881 char *pAirResistanceAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
882 char *pWaterResistanceAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
883 char *pEarthResistanceAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
884 char *pMindResistanceAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
885 char *pBodyResistanceAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
886 char *pSkillPointsAttributeDescription;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
887 char *pClassTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
888 char *pStatsTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
889 char *pSkillDescTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
890
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
891 struct FactionTable *pFactionTable;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
892 //std::array<char, 777> byte_5C8D1A; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
893
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
894 std::array<char, 777> byte_5E4C15; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
895 std::array<const char *, 14> pSomeItemsNames;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
896
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
897 char *pMonstersTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
898 char *pMonsterPlacementTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
899 char *pSpellsTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
900 char *pMapStatsTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
901 char *pHostileTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
902 char *pPotionsTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
903 char *pPotionNotesTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
904
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
905 std::array<int, 777> _6807B8_level_decorations_ids; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
906 int _6807E0_num_decorations_with_sounds_6807B8; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
907 std::array<int, 3000> event_triggers; // 6807E8
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
908 size_t num_event_triggers; // 6836C8
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
909 std::array<int, 64> dword_69B010;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
910 float flt_69B138_dist; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
911 char byte_69BD41_unused; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
912 int pSaveListPosition; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
913 unsigned int uLoadGameUI_SelectedSlot;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
914 HWND hInsertCDWindow; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
915 char cMM7GameCDDriveLetter; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
916 MENU_STATE sCurrentMenuID;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
917 unsigned int uGameState;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
918 int uDefaultTravelTime_ByFoot; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
919 int day_attrib; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
920 int day_fogrange_1; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
921 int day_fogrange_2; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
922 struct TileTable *pTileTable; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
923 std::array<char, 777> pDefaultSkyTexture; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
924 std::array<char, 16> byte_6BE124_cfg_textures_DefaultGroundTexture; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
925 int _6BE134_odm_main_tile_group; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
926 int dword_6BE138; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
927 int dword_6BE13C_uCurrentlyLoadedLocationID; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
928 float fWalkSpeedMultiplier = 1.0f; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
929 float fBackwardWalkSpeedMultiplier = 1.0f; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
930 float fTurnSpeedMultiplier = 1.0f; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
931 float flt_6BE150_look_up_down_dangle = 1.0f; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
932 //HWND hWnd; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
933 bool FORCE_16_BITS = false;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
934 class OSWindow *window = nullptr;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
935 char pCurrentMapName[32]; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
936 unsigned int uLevelMapStatsID;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
937 int dword_6BE364_game_settings_1 = 0;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
938 int dword_6BE368_debug_settings_2 = 0;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
939 unsigned __int8 bCanLoadFromCD = false;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
940 int bShowDamage; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
941 unsigned int bAlwaysRun;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
942 unsigned int bFlipOnExit;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
943 unsigned int uTurnSpeed;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
944 float flt_6BE3A0 = 0.55000001f; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
945 float flt_6BE3A4_debug_recmod1;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
946 float flt_6BE3A8_debug_recmod2;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
947 float flt_6BE3AC_debug_recmod1_x_1_6;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
948 std::array<char, 20> byte_6BE3B0; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
949 char bUnderwater = false; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
950 char bNoNPCHiring = false; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
951 unsigned int bNoVideo = false;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
952 bool bNoIntro = false;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
953 bool bNoLogo = false;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
954 bool bNoCD = false;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
955 bool bNoSound = false;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
956 std::array<int, 100> dword_720020_zvalues;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
957 std::array<int, 299> dword_7201B0_zvalues;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
958 int uTextureID_720980; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
959 std::array<__int16, 104> word_7209A0_intercepts_ys_plus_ys;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
960 std::array<__int16, 104> word_720A70_intercepts_xs_plus_xs;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
961 std::array<__int16, 104> word_720B40_intercepts_zs;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
962 std::array<__int16, 102> word_720C10_intercepts_xs;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
963 std::array<__int16, 777> word_720CE0_ys; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
964 std::array<__int16, 777> word_720DB0_xs; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
965 std::array<int, 20> dword_720E80;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
966 std::array<int, 20> dword_720ED0;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
967 std::array<int, 20> ceiling_height_level;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
968 std::array<__int16, 104> odm_floor_face_vert_coord_Y; // word_720F70
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
969 std::array<__int16, 104> odm_floor_face_vert_coord_X; // word_721040
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
970 std::array<int, 20> current_Face_id; // dword_721110
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
971 std::array<int, 20> current_BModel_id; // dword_721160
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
972 std::array<int, 20> odm_floor_level; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
973 int blv_prev_party_x; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
974 int blv_prev_party_z; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
975 int blv_prev_party_y; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
976 std::array<NPCTopic, 789> pNPCTopics;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
977 std::array<const char *, 513> pQuestTable;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
978 char *dword_723718_autonote_related; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
979 std::array<const char *, 82> pScrolls;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
980 int dword_7241C8; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
981 std::array<const char *, 59> aNPCProfessionNames;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
982 char *pAwardsTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
983 char *pScrollsTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
984 char *pMerchantsTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
985 std::array<const char *, 7> pMerchantsBuyPhrases;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
986 std::array<const char *, 7> pMerchantsSellPhrases;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
987 std::array<const char *, 7> pMerchantsRepairPhrases;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
988 std::array<const char *, 7> pMerchantsIdentifyPhrases;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
989 char *pTransitionsTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
990 char *pAutonoteTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
991 char *pQuestsTXT_Raw;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
992 unsigned int uNumTerrainNormals;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
993 struct Vec3_float_ *pTerrainNormals;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
994 std::array<unsigned short, 128 * 128 * 2> pTerrainNormalIndices;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
995 std::array<unsigned int, 128 * 128 * 2> pTerrainSomeOtherData;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
996 int dword_A74C88; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
997 unsigned int uPlayerCreationUI_SkySliderPos;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
998 int uPlayerCreationUI_ArrowAnim;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
999 unsigned int uPlayerCreationUI_SelectedCharacter;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1000 int dword_A74CDC; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1001 __int64 _A750D8_player_speech_timer; // qword_A750D8
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1002 enum PlayerSpeech PlayerSpeechID;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1003 int uSpeakingCharacter; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1004 std::array<const char *, 36> pClassNames;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1005 std::array<const char *, 19> aCharacterConditionNames;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1006 std::array<const char *, 38> pSkillNames;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1007 char byte_AE5B91; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1008 std::array<int, 32> dword_F1B430; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1009 //int dword_F8B144; // nexindex [-1] to the following
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1010 std::array<int, 4> player_levels = {{1, 1, 1, 1}};
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1011 std::array<__int16, 6> weapons_Ypos; // word_F8B158
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1012 __int16 bountyHunting_monster_id_for_hunting; // word_F8B1A0
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1013 const char *bountyHunting_text; // word_F8B1A4
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1014 int contract_approved; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1015 int dword_F8B1AC_award_bit_number; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1016 int dword_F8B1B0_MasteryBeingTaught; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1017 int gold_transaction_amount; // F8B1B4
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1018 std::array<char *, 4> pShopOptions;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1019 int dword_F8B1D8; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1020 int dword_F8B1E0; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1021 int dword_F8B1E4; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1022 const char *current_npc_text; // idb
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1023 char dialogue_show_profession_details = false; // F8B1EC
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1024 std::array<char, 777> byte_F8B1EF; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1025 std::array<char, 4> byte_F8B1F0;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1026
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1027 int bGameoverLoop = 0; // weak
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1028 std::array<__int16, 104> intersect_face_vertex_coords_list_a; // word_F8BC48
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1029 std::array<__int16, 104> intersect_face_vertex_coords_list_b; // word_F8BD18