annotate Indoor_stuff.h @ 52:0f4ed4f0f472

BLV minimap: 1/3
author Nomad
date Wed, 24 Oct 2012 17:02:44 +0200
parents fde5c5acb66e
children 5159d2e6f559
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2 #include "Render.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 /* 165 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 struct stru170_stru2
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 __int16 *_43F9E1(__int16 x, int y, __int16 z, int w);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 int _viewport_space_y;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 __int16 array_18[480];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 __int16 array_3D8[480];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 extern stru170_stru2 stru_F8A590;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 /* 164 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 struct stru170_stru0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 //----- (0043F2BF) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 inline stru170_stru0()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 //_eh_vector_constructor_iterator_(std__vector_0007AC, 24, 4,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 // (void (__thiscall *)(void *))IndoorCameraD3D_Vec4::IndoorCameraD3D_Vec4,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 // (void (__thiscall *)(void *))IndoorCameraD3D_Vec4::dtor);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 for (int i = 0; i < 4; ++i)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 pVertices[i].flt_2C = 0.0f;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 //----- (0043F2A9) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 ~stru170_stru0()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 //_eh_vector_destructor_iterator_(this->std__vector_0007AC, 24, 4, IndoorCameraD3D_Vec4::dtor);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48 unsigned __int16 uSectorID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49 unsigned __int16 uViewportX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
50 unsigned __int16 uViewportY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 unsigned __int16 uViewportZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 unsigned __int16 uViewportW;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
53 __int16 field_A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54 stru170_stru2 field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55 unsigned __int16 uFaceID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 __int16 field_7A6;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57 unsigned int std__vector_0007A8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58 IndoorCameraD3D_Vec4 std__vector_0007AC[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 RenderVertexSoft pVertices[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
66
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67 /* 163 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69 struct stru170
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
71 //----- (0043F282) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
72 inline stru170()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74 // _eh_vector_constructor_iterator_(field_FA8, 2252, 150,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
75 // (void (__thiscall *)(void *))stru170_stru0::stru170_stru0,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
76 // (void (__thiscall *)(void *))stru170_stru0::dtor);
47
8a8dd0164b12 BLV render
Nomad
parents: 45
diff changeset
77 uNumFaceIDs = 0;
8a8dd0164b12 BLV render
Nomad
parents: 45
diff changeset
78 std__vector_000FA8 = 0;
50
fde5c5acb66e BLV render
Nomad
parents: 47
diff changeset
79 uNumVisibleNotEmptySectors = 0;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
80 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
81
50
fde5c5acb66e BLV render
Nomad
parents: 47
diff changeset
82 void PrepareFaceRenderList_sw(int a2, unsigned int uFaceID);
fde5c5acb66e BLV render
Nomad
parents: 47
diff changeset
83 void PrepareFaceRenderList_d3d(signed int a2, unsigned int uFaceID);
fde5c5acb66e BLV render
Nomad
parents: 47
diff changeset
84 void MakeVisibleSectorList();
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
85
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
86 unsigned int uNumFaceIDs;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
87 __int16 pFaceIDs[150];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88 char field_130[3700];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89 unsigned int std__vector_000FA8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
90 stru170_stru0 field_FA8[150];
50
fde5c5acb66e BLV render
Nomad
parents: 47
diff changeset
91 unsigned int uNumVisibleNotEmptySectors;
fde5c5acb66e BLV render
Nomad
parents: 47
diff changeset
92 unsigned __int16 pVisibleSectorIDs_toDrawDecorsActorsEtcFrom[6];
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
93 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
94 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
95
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
96
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
97 extern struct stru170 *pStru170; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
98
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
99
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
100
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
101
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
102
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
103
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
104 /* 160 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
105 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
106 struct stru167
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
107 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
108 char field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
109 char field_1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
110 char field_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
111 char field_3;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
112 char field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
113 char field_5;
45
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
114 __int16 field_6_rnd_value;
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
115 __int16 field_8_rnd_value;
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
116 __int16 field_A_rnd_value;
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
117 __int16 field_C_time_left;
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
118 __int16 field_E_time_to_live;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
119 char field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
120 char field_11;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
121 char field_12;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
122 char field_13;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
123 __int16 bgr16;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
124 char field_16;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
125 char field_17;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
126 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
127 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
128
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
129
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
130
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
131 /* 363 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
132 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
133 struct stru167_wrap
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
134 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
135 void _440F07();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
136 int Push(__int16 a2, __int16 a3, __int16 a4, int a5, __int16 bgr);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
137 void _440E91(__int16 x, int y, int z, int a5, __int16 bgr);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
138
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
139 stru167 pElements[100];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
140 int uNumElements;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
141 int field_964;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
142 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
143 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
144 extern stru167_wrap array_5118E8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
145
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
146
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
147
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
148
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
149
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
150
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
151
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
152
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
153
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
154
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
155
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
156 /* 358 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
157 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
158 struct stru320
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
159 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
160 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
161 Plane_int_ plane_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
162 Vec3_int_ vec_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
163 Vec3_int_ vec_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
164 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
165 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
166 int field_34;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
167 int field_38;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
168 int pDeltaUV[2];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
169 int field_44;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
170 int field_48;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
171 char field_4C[8];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
172 Vec3_int_ rotated_normal;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
173 Vec3_int_ vec_60;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
174 int field_6C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
175 Vec3_int_ vec_70;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
176 int field_7C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
177 Vec3_int_ vec_80;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
178 Vec3_int_ vec_8C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
179 int field_98;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
180 Vec3_int_ vec_9C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
181 int field_A8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
182 int field_AC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
183 int _blv_lights_radii[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
184 int _blv_lights_inv_radii[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
185 int _blv_lights_xs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
186 int _blv_lights_ys[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
187 int _blv_lights_light_dot_faces[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
188 int field_240;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
189 int field_244;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
190 int field_248;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
191 int field_24C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
192 int field_250;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
193 int field_254;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
194 int field_258;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
195 int field_25C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
196 int field_260;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
197 int field_264;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
198 int field_268;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
199 int field_26C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
200 int field_270;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
201 int field_274;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
202 int field_278;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
203 int field_27C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
204 int field_280;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
205 int field_284;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
206 int field_288;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
207 int field_28C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
208 int _blv_lights_zs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
209 float _blv_lights_rs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
210 float _blv_lights_gs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
211 float _blv_lights_bs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
212 char _blv_lights_smthngs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
213 int field_3E4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
214 int field_3E8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
215 int field_3EC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
216 int field_3F0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
217 int field_3F4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
218 int field_3F8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
219 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
220 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
221
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
222 extern stru320 stru_F8AD28; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
223
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
224
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
225
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
226
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
227
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
228
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
229
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
230
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
231 /* 345 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
232 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
233 struct stru315
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
234 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
235 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
236 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
237 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
238 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
239 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
240 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
241 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
242 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
243 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
244 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
245 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
246 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
247 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
248 unsigned __int16 *field_34_palette;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
249 unsigned __int16 *pTextureLOD;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
250 unsigned int *pDepthBuffer;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
251 unsigned __int16 *pColorBuffer;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
252 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
253 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
254
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
255
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
256
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
257
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
258
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
259 /* 346 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
260 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
261 struct stru316
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
262 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
263 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
264 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
265 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
266 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
267 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
268 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
269 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
270 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
271 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
272 unsigned __int16 *field_24_palette;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
273 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
274 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
275
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
276
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
277
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
278
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
279
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
280
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
281 /* 134 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
282 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
283 struct stru141
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
284 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
285 int _47050A(int a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
286
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
287 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
288 int prolly_normal_d;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
289 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
290 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
291 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
292 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
293 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
294 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
295 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
296 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
297 Vec3_int_ normal;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
298 Vec3_int_ field_34;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
299 Vec3_int_ normal2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
300 int field_4C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
301 int field_50;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
302 int field_54;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
303 Vec3_int_ field_58;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
304 int field_64;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
305 int field_68;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
306 int field_6C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
307 int field_70;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
308 unsigned int uSectorID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
309 unsigned int uFaceID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
310 int field_7C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
311 int field_80;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
312 int field_84;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
313 int field_88;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
314 int sMaxX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
315 int sMinX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
316 int sMaxY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
317 int sMinY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
318 int sMaxZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
319 int sMinZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
320 int field_A4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
321 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
322 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
323 extern stru141 stru_721530;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
324
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
325
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
326
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
327
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
328
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
329
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
330 /* 378 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
331 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
332 struct stru337_stru0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
333 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
334 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
335 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
336 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
337 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
338 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
339 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
340 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
341
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
342
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
343
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
344 /* 377 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
345 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
346 struct stru337
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
347 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
348 stru337_stru0 field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
349 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
350 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
351 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
352 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
353 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
354 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
355 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
356 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
357 stru337_stru0 field_34;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
358 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
359 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
360 extern stru337 stru_F81018;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
361
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
362
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
363
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
364
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
365 /* 147 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
366 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
367 struct stru154
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
368 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
369 //----- (0049B001) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
370 inline stru154()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
371 {}
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
372
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
373 //----- (0049B027) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
374 inline ~stru154()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
375 {}
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
376
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
377 int _49B04D(struct ODMFace *a2, struct BSPVertexBuffer *a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
378 int _49B0C9(struct Vec3_float_ *pNormal, float a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
379 int _49B13D(struct ODMFace *pFace, struct BSPVertexBuffer *pVertices, struct Vec3_float_ *a3, float *a4);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
380
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
381
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
382 void (__thiscall ***vdestructor_ptr)(stru154 *, bool);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
383 Vec3_float_ vNormal;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
384 float field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
385 char field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
386 char field_15;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
387 char field_16;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
388 char field_17;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
389 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
390 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
391
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
392
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
393
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
394
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
395
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
396 /* 392 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
397 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
398 struct stru352
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
399 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
400 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
401 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
402 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
403 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
404 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
405 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
406 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
407 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
408 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
409 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
410 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
411 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
412 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
413 int field_34;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
414 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
415 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
416 extern stru352 stru_F83B80[480];