annotate Indoor_stuff.h @ 45:bcc051713d20

BLV render & seffects
author Nomad
date Mon, 22 Oct 2012 20:45:14 +0200
parents 8b8875f5b359
children 8a8dd0164b12
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);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
77 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
78
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
79 void _4AFB86(int a2, unsigned int uFaceID);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
80 void _4B0EA8(signed int a2, unsigned int uFaceID);
45
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
81 void RenderWalls();
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
82
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
83 unsigned int uNumFaceIDs;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
84 __int16 pFaceIDs[150];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
85 char field_130[3700];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
86 unsigned int std__vector_000FA8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
87 stru170_stru0 field_FA8[150];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88 int field_53730;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89 unsigned __int16 pSectorIDs_toDrawDecorationsFrom[6];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
90 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
91 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
92
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
93
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
94 extern struct stru170 *pStru170; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
95
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
96
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
97
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 /* 160 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
102 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
103 struct stru167
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
104 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
105 char field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
106 char field_1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
107 char field_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
108 char field_3;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
109 char field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
110 char field_5;
45
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
111 __int16 field_6_rnd_value;
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
112 __int16 field_8_rnd_value;
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
113 __int16 field_A_rnd_value;
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
114 __int16 field_C_time_left;
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
115 __int16 field_E_time_to_live;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
116 char field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
117 char field_11;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
118 char field_12;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
119 char field_13;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
120 __int16 bgr16;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
121 char field_16;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
122 char field_17;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
123 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
124 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
125
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
126
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
127
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
128 /* 363 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
129 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
130 struct stru167_wrap
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
131 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
132 void _440F07();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
133 int Push(__int16 a2, __int16 a3, __int16 a4, int a5, __int16 bgr);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
134 void _440E91(__int16 x, int y, int z, int a5, __int16 bgr);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
135
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
136 stru167 pElements[100];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
137 int uNumElements;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
138 int field_964;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
139 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
140 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
141 extern stru167_wrap array_5118E8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
142
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
143
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
144
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 /* 358 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
154 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
155 struct stru320
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
156 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
157 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
158 Plane_int_ plane_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
159 Vec3_int_ vec_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
160 Vec3_int_ vec_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
161 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
162 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
163 int field_34;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
164 int field_38;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
165 int pDeltaUV[2];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
166 int field_44;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
167 int field_48;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
168 char field_4C[8];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
169 Vec3_int_ rotated_normal;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
170 Vec3_int_ vec_60;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
171 int field_6C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
172 Vec3_int_ vec_70;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
173 int field_7C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
174 Vec3_int_ vec_80;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
175 Vec3_int_ vec_8C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
176 int field_98;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
177 Vec3_int_ vec_9C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
178 int field_A8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
179 int field_AC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
180 int _blv_lights_radii[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
181 int _blv_lights_inv_radii[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
182 int _blv_lights_xs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
183 int _blv_lights_ys[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
184 int _blv_lights_light_dot_faces[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
185 int field_240;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
186 int field_244;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
187 int field_248;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
188 int field_24C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
189 int field_250;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
190 int field_254;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
191 int field_258;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
192 int field_25C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
193 int field_260;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
194 int field_264;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
195 int field_268;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
196 int field_26C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
197 int field_270;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
198 int field_274;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
199 int field_278;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
200 int field_27C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
201 int field_280;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
202 int field_284;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
203 int field_288;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
204 int field_28C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
205 int _blv_lights_zs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
206 float _blv_lights_rs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
207 float _blv_lights_gs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
208 float _blv_lights_bs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
209 char _blv_lights_smthngs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
210 int field_3E4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
211 int field_3E8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
212 int field_3EC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
213 int field_3F0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
214 int field_3F4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
215 int field_3F8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
216 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
217 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
218
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
219 extern stru320 stru_F8AD28; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
220
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
221
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
222
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 /* 345 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
229 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
230 struct stru315
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
231 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
232 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
233 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
234 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
235 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
236 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
237 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
238 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
239 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
240 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
241 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
242 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
243 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
244 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
245 unsigned __int16 *field_34_palette;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
246 unsigned __int16 *pTextureLOD;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
247 unsigned int *pDepthBuffer;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
248 unsigned __int16 *pColorBuffer;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
249 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
250 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
251
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
252
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
253
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
254
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
255
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
256 /* 346 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
257 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
258 struct stru316
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
259 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
260 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
261 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
262 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
263 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
264 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
265 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
266 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
267 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
268 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
269 unsigned __int16 *field_24_palette;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
270 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
271 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
272
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
273
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
274
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 /* 134 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
279 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
280 struct stru141
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
281 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
282 int _47050A(int a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
283
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
284 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
285 int prolly_normal_d;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
286 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
287 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
288 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
289 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
290 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
291 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
292 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
293 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
294 Vec3_int_ normal;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
295 Vec3_int_ field_34;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
296 Vec3_int_ normal2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
297 int field_4C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
298 int field_50;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
299 int field_54;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
300 Vec3_int_ field_58;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
301 int field_64;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
302 int field_68;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
303 int field_6C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
304 int field_70;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
305 unsigned int uSectorID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
306 unsigned int uFaceID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
307 int field_7C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
308 int field_80;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
309 int field_84;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
310 int field_88;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
311 int sMaxX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
312 int sMinX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
313 int sMaxY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
314 int sMinY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
315 int sMaxZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
316 int sMinZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
317 int field_A4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
318 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
319 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
320 extern stru141 stru_721530;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
321
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
322
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
323
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 /* 378 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
328 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
329 struct stru337_stru0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
330 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
331 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
332 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
333 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
334 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
335 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
336 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
337 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
338
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
339
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
340
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
341 /* 377 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
342 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
343 struct stru337
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
344 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
345 stru337_stru0 field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
346 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
347 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
348 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
349 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
350 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
351 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
352 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
353 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
354 stru337_stru0 field_34;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
355 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
356 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
357 extern stru337 stru_F81018;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
358
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
359
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
360
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
361
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
362 /* 147 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
363 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
364 struct stru154
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
365 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
366 //----- (0049B001) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
367 inline stru154()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
368 {}
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
369
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
370 //----- (0049B027) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
371 inline ~stru154()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
372 {}
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
373
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
374 int _49B04D(struct ODMFace *a2, struct BSPVertexBuffer *a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
375 int _49B0C9(struct Vec3_float_ *pNormal, float a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
376 int _49B13D(struct ODMFace *pFace, struct BSPVertexBuffer *pVertices, struct Vec3_float_ *a3, float *a4);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
377
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
378
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
379 void (__thiscall ***vdestructor_ptr)(stru154 *, bool);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
380 Vec3_float_ vNormal;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
381 float field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
382 char field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
383 char field_15;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
384 char field_16;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
385 char field_17;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
386 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
387 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
388
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
389
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
390
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
391
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
392
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
393 /* 392 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
394 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
395 struct stru352
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
396 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
397 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
398 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
399 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
400 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
401 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
402 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
403 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
404 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
405 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
406 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
407 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
408 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
409 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
410 int field_34;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
411 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
412 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
413 extern stru352 stru_F83B80[480];