0
|
1 #pragma once
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6 /* 124 */
|
|
7 #pragma pack(push, 1)
|
|
8 struct IndoorCameraD3D_Vec3
|
|
9 {
|
|
10 //----- (004C0376) --------------------------------------------------------
|
|
11 inline IndoorCameraD3D_Vec3() {}
|
|
12 //----- (004C037F) --------------------------------------------------------
|
|
13 virtual ~IndoorCameraD3D_Vec3() {}
|
|
14 //----- (004C039C) --------------------------------------------------------
|
|
15 //void ~IndoorCameraD3D_Vec3() {}
|
|
16
|
|
17 void (__thiscall ***vdestructor_ptr)(IndoorCameraD3D_Vec3 *, bool);
|
59
|
18
|
|
19 union
|
|
20 {
|
|
21 struct
|
|
22 {
|
|
23 float x;
|
|
24 float y;
|
|
25 float z;
|
|
26 };
|
|
27 float v[3];
|
|
28 };
|
0
|
29 };
|
|
30 #pragma pack(pop)
|
|
31
|
|
32 /* 125 */
|
|
33 #pragma pack(push, 1)
|
|
34 struct IndoorCameraD3D_Vec4: public IndoorCameraD3D_Vec3
|
|
35 {
|
|
36 //----- (00498038) --------------------------------------------------------
|
|
37 inline IndoorCameraD3D_Vec4():
|
|
38 IndoorCameraD3D_Vec3()
|
|
39 {}
|
|
40
|
|
41 //----- (00498069) --------------------------------------------------------
|
|
42 virtual ~IndoorCameraD3D_Vec4()
|
|
43 {}
|
|
44
|
|
45 float dot;
|
|
46 };
|
|
47 #pragma pack(pop)
|
|
48
|
|
49
|
|
50
|
|
51 /* 199 */
|
|
52 #pragma pack(push, 1)
|
|
53 struct IndoorCameraD3D_stru3
|
|
54 {
|
|
55 int field_0;
|
|
56 int field_4;
|
|
57 int field_8;
|
|
58 int field_C;
|
|
59 int field_10;
|
|
60 int field_14;
|
|
61 int field_18;
|
|
62 int field_1C;
|
|
63 int field_20;
|
|
64 int field_24;
|
|
65 int field_28;
|
|
66 int field_2C;
|
|
67 float flt_30;
|
|
68 int field_34;
|
|
69 };
|
|
70 #pragma pack(pop)
|
|
71
|
|
72
|
|
73
|
|
74 /* 197 */
|
|
75 #pragma pack(push, 1)
|
|
76 struct IndoorCameraD3D_stru1
|
|
77 {
|
|
78 //----- (004363A2) --------------------------------------------------------
|
|
79 IndoorCameraD3D_stru1()
|
|
80 {
|
|
81 this->flt_2C = 0.0;
|
|
82 }
|
|
83
|
|
84
|
|
85 int field_0;
|
|
86 int field_4;
|
|
87 int field_8;
|
|
88 int field_C;
|
|
89 int field_10;
|
|
90 int field_14;
|
|
91 int field_18;
|
|
92 int field_1C;
|
|
93 int field_20;
|
|
94 int field_24;
|
|
95 int field_28;
|
|
96 float flt_2C;
|
|
97 };
|
|
98 #pragma pack(pop)
|
|
99
|
|
100 /* 198 */
|
|
101 #pragma pack(push, 1)
|
|
102 struct IndoorCameraD3D_stru2
|
|
103 {
|
|
104 unsigned int mm7__vector_000004_size;
|
|
105 IndoorCameraD3D_stru1 mm7__vector_000004[64];
|
|
106 int field_C04;
|
|
107 int field_C08;
|
|
108 int field_C0C;
|
|
109 };
|
|
110 #pragma pack(pop)
|
|
111
|
|
112 /* 123 */
|
|
113 #pragma pack(push, 1)
|
|
114 struct IndoorCameraD3D
|
|
115 {
|
|
116 IndoorCameraD3D();
|
|
117
|
|
118 //----- (004363C6) --------------------------------------------------------
|
|
119 virtual ~IndoorCameraD3D()
|
|
120 {
|
|
121 //this->vdestructor_ptr = &stru8_pvdtor;
|
|
122 //_eh_vector_destructor_iterator_(this->std__vector_000034_prolly_frustrum, 24, 6, IndoorCameraD3D_Vec4::dtor);
|
|
123 //IndoorCameraD3D_Vec3::dtor(&v1->field_24);
|
|
124 //IndoorCameraD3D_Vec3::dtor(&v1->field_14);
|
|
125 //IndoorCameraD3D_Vec3::dtor(&v1->field_4);
|
|
126 }
|
|
127
|
|
128 double GetPolygonMaxZ(struct RenderVertexSoft *pVertex, unsigned int uStripType);
|
|
129 double GetPolygonMinZ(struct RenderVertexSoft *pVertices, unsigned int uStripType);
|
|
130 struct IDirect3DTexture2 *LoadTextureAndGetHardwarePtr(char *Str1);
|
|
131 void Project(signed int x, signed int y, signed int z, int *a5, int *a6);
|
59
|
132 void Project(struct RenderVertexSoft *pVertices, unsigned int uNumVertices, char a4);
|
|
133 void _436CDC_mess_with_lightmap__clipflag_2(struct RenderVertexSoft *pInVertices, int uNumInVertices, struct RenderVertexSoft *pOutVertices, unsigned int *pOutNumVertices);
|
|
134 void _436F09_mess_with_lightmap__clipflag_4(struct RenderVertexSoft *pInVertices, int uNumInVertices, struct RenderVertexSoft *pOutVertices, unsigned int *pOutNumVertices);
|
0
|
135 int _437143(unsigned int uNumInVertices, struct RenderVertexSoft *pOutVertices, struct RenderVertexSoft *pInVertices, unsigned int *pOutNumVertices);
|
|
136 bool _4371C3(struct RenderVertexSoft *pVertices, unsigned int *pOutNumVertices, int _unused);
|
|
137 bool _437285_prolly_colide_vertices_against_frustrum(struct RenderVertexSoft *a1, unsigned int *pOutNumVertices, struct RenderVertexSoft *pVertices, IndoorCameraD3D_Vec4 *a4, signed int uNumVertices, char a6, int _unused);
|
|
138 char _437376(struct stru154 *thisa, struct RenderVertexSoft *a2, unsigned int *pOutNumVertices);
|
|
139 void _4374E8_ProllyBuildFrustrum();
|
|
140 void _437607(IndoorCameraD3D_Vec3 *a1, IndoorCameraD3D_Vec4 *a2);
|
59
|
141 void Vec3Transform(const IndoorCameraD3D_Vec3 *pVector, IndoorCameraD3D_Vec3 *pOut);
|
0
|
142 void CreateWorldMatrixAndSomeStuff();
|
|
143 void MatrixMultiply(struct Matrix3x3_float_ *a1, struct Matrix3x3_float_ *a2, struct Matrix3x3_float_ *a3);
|
|
144 void PrepareAndDrawDebugOutline(struct BLVFace *pFace, unsigned int uDiffuse);
|
|
145 void debug_outline_sw(struct RenderVertexSoft *a2, unsigned int uNumVertices, unsigned int uDiffuse, float a5);
|
|
146 void debug_outline_d3d(const struct RenderVertexD3D3 *pLineVertices, unsigned int uNumLines, int uDiffuse, float z_stuff);
|
|
147 void do_draw_debug_line_sw(struct RenderVertexSoft *pLineBegin, unsigned int uStartDiffuse, struct RenderVertexSoft *pLineEnd, unsigned int uEndDiffuse, unsigned int uOutNumVertices, float z_stuff);
|
|
148 void do_draw_debug_line_d3d(const struct RenderVertexD3D3 *pLineBegin, unsigned int uDiffuseBegin, const RenderVertexD3D3 *pLineEnd, unsigned int uDiffuseEnd, float z_stuff);
|
|
149 void _437D4A_draw_some_vertices(float x, float y, float z, unsigned int a5, char a6, float a7);
|
|
150 void _438141_draw_list_0037C();
|
|
151 void _438240_draw_lits();
|
|
152 void Reset_list_0037C();
|
59
|
153 bool is_face_faced_to_camera(struct BLVFace *pFace, struct RenderVertexSoft *a2);
|
|
154 bool GetFacetOrientation(char polyType, struct Vec3_float_ *a2, struct Vec3_float_ *a3, struct Vec3_float_ *a4);
|
0
|
155 void ViewTransform(struct RenderVertexSoft *a1a, unsigned int uNumVertices);
|
59
|
156 bool IsCulled(struct BLVFace *pFace);
|
|
157 void ViewTransfrom_OffsetUV(struct RenderVertexSoft *pVertices, unsigned int uNumVertices, struct RenderVertexSoft *pOutVertices, struct stru320 *a5);
|
0
|
158 char ApplyViewTransform_TrueIfStillVisible(int x, int y, int z, signed int *pOutX, int *pOutZ, int *pOutY, char bDoNotShow);
|
|
159
|
|
160 void (__thiscall ***vdestructor_ptr)(IndoorCameraD3D *, bool);
|
59
|
161 IndoorCameraD3D_Vec3 field_4[3];
|
|
162 //IndoorCameraD3D_Vec3 field_14;
|
|
163 //IndoorCameraD3D_Vec3 field_24;
|
0
|
164 IndoorCameraD3D_Vec4 std__vector_000034_prolly_frustrum[6];
|
59
|
165 float fov;
|
|
166 float screenCenterX;
|
|
167 float screenCenterY;
|
|
168 float fov_x;
|
|
169 float fov_y;
|
|
170 float inv_fov;
|
0
|
171 float field_DC;
|
|
172 float field_E0;
|
|
173 float field_E4;
|
|
174 char field_E8[32];
|
|
175 float field_108;
|
|
176 float field_10C;
|
|
177 float field_110;
|
|
178 float field_114;
|
|
179 char field_118[32];
|
|
180 float field_138;
|
|
181 char field_13C[44];
|
|
182 float field_168;
|
|
183 char field_16C[44];
|
|
184 float field_198;
|
|
185 char field_19C[44];
|
|
186 float field_1C8;
|
|
187 char field_1CC[44];
|
|
188 float field_1F8;
|
|
189 char field_1FC[44];
|
|
190 float field_228;
|
|
191 char field_22C[44];
|
|
192 float field_258;
|
|
193 char field_25C[44];
|
|
194 float field_288;
|
|
195 char field_28C[44];
|
|
196 float field_2B8;
|
|
197 float field_2BC;
|
|
198 float field_2C0;
|
|
199 float field_2C4;
|
|
200 char field_2C8[32];
|
|
201 float field_2E8;
|
|
202 float field_2EC;
|
|
203 float field_2F0;
|
|
204 float field_2F4;
|
|
205 char field_2F8[32];
|
|
206 float field_318;
|
|
207 float field_31C;
|
|
208 float field_320;
|
|
209 float field_324;
|
|
210 char field_328[32];
|
|
211 float field_348;
|
|
212 float field_34C;
|
|
213 float field_350;
|
|
214 float field_354;
|
|
215 char field_358[32];
|
|
216 float field_378;
|
|
217 IndoorCameraD3D_stru3 list_0037C[16384];
|
|
218 unsigned int list_0037C_size;
|
|
219 IndoorCameraD3D_stru2 list_E0380[256];
|
|
220 int list_E0380_size;
|
|
221 };
|
|
222 #pragma pack(pop) |