World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
IndoorCameraD3D.h
См. документацию.
1 #pragma once
2 #include "Engine/OurMath.h"
3 #include "Engine/VectorTypes.h"
4 
6 
7 /* 124 */
8 #pragma pack(push, 1)
10  //----- (004C0376) --------------------------------------------------------
12  //----- (004C037F) --------------------------------------------------------
13  virtual ~IndoorCameraD3D_Vec3() {}
14  //----- (004C039C) --------------------------------------------------------
15  // void ~IndoorCameraD3D_Vec3() {}
16 
17  // void ( ***vdestructor_ptr)(IndoorCameraD3D_Vec3 *, bool);
18 
19  union {
20  struct {
21  float x;
22  float y;
23  float z;
24  };
25  float v[3];
26  };
27 };
28 #pragma pack(pop)
29 
30 /* 125 */
31 #pragma pack(push, 1)
33  //----- (00498038) --------------------------------------------------------
35 
36  //----- (00498069) --------------------------------------------------------
37  virtual ~IndoorCameraD3D_Vec4() {}
38 
39  float dot;
40  int _wtf; // sizeof vec4 is 18 and first member is vdtor, but vdtor is
41  // already included in vec3 so very weird
42 };
43 #pragma pack(pop)
44 
45 /* 199 */
46 #pragma pack(push, 1)
48  int field_0;
49  int field_4;
50  int field_8;
51  int field_C;
52  int field_10;
53  int field_14;
54  int field_18;
55  int field_1C;
56  int field_20;
57  int field_24;
58  int field_28;
59  int field_2C;
60  float flt_30;
61  int field_34;
62 };
63 #pragma pack(pop)
64 
65 /* 197 */
66 #pragma pack(push, 1)
68  //----- (004363A2) --------------------------------------------------------
69  IndoorCameraD3D_stru1() { this->flt_2C = 0.0; }
70 
71  int field_0;
72  int field_4;
73  int field_8;
74  int field_C;
75  int field_10;
76  int field_14;
77  int field_18;
78  int field_1C;
79  int field_20;
80  int field_24;
81  int field_28;
82  float flt_2C;
83 };
84 #pragma pack(pop)
85 
86 /* 198 */
87 #pragma pack(push, 1)
91  int field_C04;
92  int field_C08;
93  int field_C0C;
94 };
95 #pragma pack(pop)
96 
97 #define BLV_RENDER_DRAW_SW_OUTLINES (1 << 0) // 1
98 #define BLV_RENDER_DRAW_D3D_OUTLINES (1 << 1) // 2
99 #define ODM_RENDER_DRAW_D3D_OUTLINES (1 << 2) // 4
100 #define ODM_RENDER_DRAW_TERRAIN_OUTLINES (1 << 3) // 8
101 
102 /* 123 */
103 #pragma pack(push, 1)
105  IndoorCameraD3D();
106 
107  //----- (004363C6) --------------------------------------------------------
108  virtual ~IndoorCameraD3D() {}
109 
110  void ViewTransform(int x, int y, int z, int *transformed_x,
111  int *transformed_y, int *transformed_z);
112  void ViewTransform(struct RenderVertexSoft *a1a, unsigned int uNumVertices);
113 
114  bool ViewClip(int x, int y, int z, int *transformed_x, int *transformed_y,
115  int *transformed_z, bool dont_show = false);
116 
117  void Project(int x, int y, int z, int *screenspace_x, int *screenspace_y);
118  void Project(struct RenderVertexSoft *pVertices, unsigned int uNumVertices,
119  bool fit_into_viewport = false);
120 
121  double GetPolygonMaxZ(struct RenderVertexSoft *pVertex,
122  unsigned int uStripType);
124  unsigned int uStripType);
125 
126  void LightmapNeerClip(struct RenderVertexSoft *pInVertices,
127  int uNumInVertices,
128  struct RenderVertexSoft *pOutVertices,
129  unsigned int *pOutNumVertices);
130  void LightmapFarClip(struct RenderVertexSoft *pInVertices,
131  int uNumInVertices,
132  struct RenderVertexSoft *pOutVertices,
133  unsigned int *pOutNumVertices);
134  void _437143(unsigned int uNumInVertices,
135  struct RenderVertexSoft *pOutVertices,
136  struct RenderVertexSoft *pInVertices,
137  signed int *pOutNumVertices);
138  bool _4371C3(struct RenderVertexSoft *pVertices,
139  unsigned int *pOutNumVertices, int _unused);
140  bool CalcPortalShape(struct RenderVertexSoft *a1,
141  unsigned int *pOutNumVertices,
142  struct RenderVertexSoft *pVertices,
143  IndoorCameraD3D_Vec4 *a4, signed int uNumVertices,
144  char a6, int _unused);
145  char _437376(struct stru154 *thisa, struct RenderVertexSoft *a2,
146  unsigned int *pOutNumVertices);
149  void Vec3Transform(const IndoorCameraD3D_Vec3 *pVector,
150  IndoorCameraD3D_Vec3 *pOut);
152  void MatrixMultiply(struct Matrix3x3_float_ *a1,
153  struct Matrix3x3_float_ *a2,
154  struct Matrix3x3_float_ *a3);
155  void PrepareAndDrawDebugOutline(struct BLVFace *pFace,
156  unsigned int uDiffuse);
157  void debug_outline_sw(struct RenderVertexSoft *a2,
158  unsigned int uNumVertices, unsigned int uDiffuse,
159  float a5);
160  void debug_outline_d3d(const struct RenderVertexD3D3 *pLineVertices,
161  unsigned int uNumLines, int uDiffuse, float z_stuff);
162  void do_draw_debug_line_sw(struct RenderVertexSoft *pLineBegin,
163  signed int sStartDiffuse,
164  struct RenderVertexSoft *pLineEnd,
165  signed int sEndDiffuse,
166  unsigned int uOutNumVertices, float z_stuff);
167  bool is_face_faced_to_camera(struct BLVFace *pFace,
168  struct RenderVertexSoft *a2);
169  bool GetFacetOrientation(char polyType, struct Vec3_float_ *a2,
170  struct Vec3_float_ *a3, struct Vec3_float_ *a4);
171  bool IsCulled(struct BLVFace *pFace);
173  unsigned int uNumVertices,
174  struct RenderVertexSoft *pOutVertices,
175  struct LightsData *a5);
176  bool ApplyViewTransform_TrueIfStillVisible_BLV(int x, int y, int z,
177  fixed *pOutX, fixed *pOutZ,
178  fixed *pOutY,
179  bool clip_plane_test);
180  float GetPickDepth();
181 
182  void DebugDrawPortal(struct BLVFace *pFace);
183 
184  // void ( ***vdestructor_ptr)(IndoorCameraD3D *, bool);
185  IndoorCameraD3D_Vec3 field_4[3]; // matrix for camera rotation transform
186  // IndoorCameraD3D_Vec3 field_14;
187  // IndoorCameraD3D_Vec3 field_24;
189  float fov;
192  float fov_x;
193  float fov_y;
194  float inv_fov;
198  char field_E8[32];
199  float field_108;
203  char field_118[32];
204  float field_138;
205  char field_13C[44];
206  float field_168;
207  char field_16C[44];
208  float field_198;
209  char field_19C[44];
210  float field_1C8;
211  char field_1CC[44];
212  float field_1F8;
213  char field_1FC[44];
214  float field_228;
215  char field_22C[44];
216  float field_258;
217  char field_25C[44];
218  float field_288;
219  char field_28C[44];
220  float field_2B8;
221  float field_2BC;
222  float field_2C0;
223  float field_2C4;
224  char field_2C8[32];
225  float field_2E8;
226  float field_2EC;
227  float field_2F0;
228  float field_2F4;
229  char field_2F8[32];
230  float field_318;
231  float field_31C;
232  float field_320;
233  float field_324;
234  char field_328[32];
235  float field_348;
236  float field_34C;
237  float field_350;
238  float field_354;
239  char field_358[32];
240  float field_378;
242  unsigned int list_0037C_size;
245 
246  void CalculateRotations(int camera_rot_x, int camera_rot_y);
247  int sRotationY; // moved from 157 struct IndoorCamera::18
248  int sRotationX; // moved from 157 struct IndoorCamera::14
249  float fRotationYSine; // moved from 157 struct IndoorCamera::2C
250  float fRotationYCosine; // moved from 157 struct IndoorCamera::30
251  float fRotationXSine; // moved from 157 struct IndoorCamera::34
252  float fRotationXCosine; // moved from 157 struct IndoorCamera::38
253  Vec3<int> vPartyPos; // moved from 157 struct IndoorCamera::00
254  // merged from 162 struct BLVRenderParams::08
255  int debug_flags; // moved from 157 struct IndoorCamera::4C
256  // merged from 162 struct BLVRenderParams::04
257  int int_sine_y; // moved from 157 struct ODMRenderParams::1C
258  // merged from 162 struct BLVRenderParams::24
259  int int_cosine_y; // moved from 157 struct ODMRenderParams::20
260  // merged from 162 struct BLVRenderParams::20
261  int int_sine_x; // moved from 157 struct ODMRenderParams::24
262  // merged from 162 struct BLVRenderParams::2C
263  int int_cosine_x; // moved from 157 struct ODMRenderParams::28
264  // merged from 162 struct BLVRenderParams::28
265 
266  float GetNearClip() const;
267  float GetFarClip() const;
268 };
269 #pragma pack(pop)
270 
IndoorCameraD3D::CalcPortalShape
bool CalcPortalShape(struct RenderVertexSoft *a1, unsigned int *pOutNumVertices, struct RenderVertexSoft *pVertices, IndoorCameraD3D_Vec4 *a4, signed int uNumVertices, char a6, int _unused)
Definition: IndoorCameraD3D.cpp:697
IndoorCameraD3D::field_288
float field_288
Definition: IndoorCameraD3D.h:218
Vec3_float_
Definition: VectorTypes.h:74
IndoorCameraD3D::_437607
void _437607(IndoorCameraD3D_Vec3 *a1, IndoorCameraD3D_Vec4 *a2)
Definition: IndoorCameraD3D.cpp:566
IndoorCameraD3D_stru3::field_14
int field_14
Definition: IndoorCameraD3D.h:53
stru154
Definition: Indoor.h:229
IndoorCameraD3D::Vec3Transform
void Vec3Transform(const IndoorCameraD3D_Vec3 *pVector, IndoorCameraD3D_Vec3 *pOut)
Definition: IndoorCameraD3D.cpp:555
IndoorCameraD3D::DebugDrawPortal
void DebugDrawPortal(struct BLVFace *pFace)
Definition: IndoorCameraD3D.cpp:414
IndoorCameraD3D::list_0037C_size
unsigned int list_0037C_size
Definition: IndoorCameraD3D.h:242
IndoorCameraD3D::sRotationY
int sRotationY
Definition: IndoorCameraD3D.h:247
IndoorCameraD3D::field_258
float field_258
Definition: IndoorCameraD3D.h:216
v
const GLdouble * v
Definition: SDL_opengl.h:2064
IndoorCameraD3D::screenCenterX
float screenCenterX
Definition: IndoorCameraD3D.h:190
IndoorCameraD3D::do_draw_debug_line_sw
void do_draw_debug_line_sw(struct RenderVertexSoft *pLineBegin, signed int sStartDiffuse, struct RenderVertexSoft *pLineEnd, signed int sEndDiffuse, unsigned int uOutNumVertices, float z_stuff)
Definition: IndoorCameraD3D.cpp:311
IndoorCameraD3D_Vec3::x
float x
Definition: IndoorCameraD3D.h:21
VectorTypes.h
IndoorCameraD3D::field_2F0
float field_2F0
Definition: IndoorCameraD3D.h:227
IndoorCameraD3D::is_face_faced_to_camera
bool is_face_faced_to_camera(struct BLVFace *pFace, struct RenderVertexSoft *a2)
Definition: IndoorCameraD3D.cpp:292
IndoorCameraD3D_stru3::field_2C
int field_2C
Definition: IndoorCameraD3D.h:59
IndoorCameraD3D::field_320
float field_320
Definition: IndoorCameraD3D.h:232
IndoorCameraD3D_stru2::mm7__vector_000004
IndoorCameraD3D_stru1 mm7__vector_000004[64]
Definition: IndoorCameraD3D.h:90
z
GLdouble GLdouble z
Definition: SDL_opengl_glext.h:407
IndoorCameraD3D::field_328
char field_328[32]
Definition: IndoorCameraD3D.h:234
IndoorCameraD3D::field_108
float field_108
Definition: IndoorCameraD3D.h:199
IndoorCameraD3D_stru3::field_C
int field_C
Definition: IndoorCameraD3D.h:51
IndoorCameraD3D::field_1CC
char field_1CC[44]
Definition: IndoorCameraD3D.h:211
IndoorCameraD3D::GetPickDepth
float GetPickDepth()
Definition: IndoorCameraD3D.cpp:61
pIndoorCameraD3D
IndoorCameraD3D * pIndoorCameraD3D
Definition: IndoorCameraD3D.cpp:21
IndoorCameraD3D_stru1::field_4
int field_4
Definition: IndoorCameraD3D.h:72
IndoorCameraD3D_stru3::flt_30
float flt_30
Definition: IndoorCameraD3D.h:60
IndoorCameraD3D::sRotationX
int sRotationX
Definition: IndoorCameraD3D.h:248
RenderVertexD3D3
Definition: IRender.h:129
IndoorCameraD3D::IndoorCameraD3D
IndoorCameraD3D()
Definition: IndoorCameraD3D.cpp:24
IndoorCameraD3D_Vec4::IndoorCameraD3D_Vec4
IndoorCameraD3D_Vec4()
Definition: IndoorCameraD3D.h:34
IndoorCameraD3D::_unused_blv_party_z_2
float _unused_blv_party_z_2
Definition: IndoorCameraD3D.h:202
IndoorCameraD3D_Vec4
Definition: IndoorCameraD3D.h:32
IndoorCameraD3D::field_2BC
float field_2BC
Definition: IndoorCameraD3D.h:221
IndoorCameraD3D::ViewTransfrom_OffsetUV
void ViewTransfrom_OffsetUV(struct RenderVertexSoft *pVertices, unsigned int uNumVertices, struct RenderVertexSoft *pOutVertices, struct LightsData *a5)
Definition: IndoorCameraD3D.cpp:69
IndoorCameraD3D_stru1::field_28
int field_28
Definition: IndoorCameraD3D.h:81
IndoorCameraD3D::field_318
float field_318
Definition: IndoorCameraD3D.h:230
IndoorCameraD3D_stru2::field_C08
int field_C08
Definition: IndoorCameraD3D.h:92
IndoorCameraD3D::_unused_blv_party_x
float _unused_blv_party_x
Definition: IndoorCameraD3D.h:195
IndoorCameraD3D
Definition: IndoorCameraD3D.h:104
IndoorCameraD3D::_unused_blv_party_y_2
float _unused_blv_party_y_2
Definition: IndoorCameraD3D.h:201
IndoorCameraD3D_stru3::field_18
int field_18
Definition: IndoorCameraD3D.h:54
IndoorCameraD3D::int_cosine_x
int int_cosine_x
Definition: IndoorCameraD3D.h:263
IndoorCameraD3D_stru3::field_8
int field_8
Definition: IndoorCameraD3D.h:50
IndoorCameraD3D::screenCenterY
float screenCenterY
Definition: IndoorCameraD3D.h:191
IndoorCameraD3D::field_22C
char field_22C[44]
Definition: IndoorCameraD3D.h:215
pVertices
struct RenderVertexD3D3 pVertices[50]
Definition: Render.cpp:50
Matrix3x3_float_
Definition: VectorTypes.h:143
y
EGLSurface EGLint EGLint y
Definition: SDL_egl.h:1596
IndoorCameraD3D::CalculateRotations
void CalculateRotations(int camera_rot_x, int camera_rot_y)
Definition: IndoorCameraD3D.cpp:1184
IndoorCameraD3D::field_25C
char field_25C[44]
Definition: IndoorCameraD3D.h:217
IndoorCameraD3D::vPartyPos
Vec3< int > vPartyPos
Definition: IndoorCameraD3D.h:253
IndoorCameraD3D_stru1::field_0
int field_0
Definition: IndoorCameraD3D.h:71
IndoorCameraD3D::field_118
char field_118[32]
Definition: IndoorCameraD3D.h:203
IndoorCameraD3D::field_4
IndoorCameraD3D_Vec3 field_4[3]
Definition: IndoorCameraD3D.h:185
IndoorCameraD3D::MatrixMultiply
void MatrixMultiply(struct Matrix3x3_float_ *a1, struct Matrix3x3_float_ *a2, struct Matrix3x3_float_ *a3)
Definition: IndoorCameraD3D.cpp:474
IndoorCameraD3D::field_1FC
char field_1FC[44]
Definition: IndoorCameraD3D.h:213
IndoorCameraD3D::fRotationYSine
float fRotationYSine
Definition: IndoorCameraD3D.h:249
IndoorCameraD3D::_4371C3
bool _4371C3(struct RenderVertexSoft *pVertices, unsigned int *pOutNumVertices, int _unused)
Definition: IndoorCameraD3D.cpp:768
IndoorCameraD3D::field_378
float field_378
Definition: IndoorCameraD3D.h:240
IndoorCameraD3D::field_31C
float field_31C
Definition: IndoorCameraD3D.h:231
IndoorCameraD3D::field_13C
char field_13C[44]
Definition: IndoorCameraD3D.h:205
IndoorCameraD3D_Vec3::IndoorCameraD3D_Vec3
IndoorCameraD3D_Vec3()
Definition: IndoorCameraD3D.h:11
IndoorCameraD3D_stru1::field_C
int field_C
Definition: IndoorCameraD3D.h:74
IRender.h
IndoorCameraD3D::LightmapNeerClip
void LightmapNeerClip(struct RenderVertexSoft *pInVertices, int uNumInVertices, struct RenderVertexSoft *pOutVertices, unsigned int *pOutNumVertices)
Definition: IndoorCameraD3D.cpp:958
IndoorCameraD3D_stru1::field_14
int field_14
Definition: IndoorCameraD3D.h:76
IndoorCameraD3D::field_E8
char field_E8[32]
Definition: IndoorCameraD3D.h:198
x
EGLSurface EGLint x
Definition: SDL_egl.h:1596
IndoorCameraD3D::field_2C8
char field_2C8[32]
Definition: IndoorCameraD3D.h:224
IndoorCameraD3D::field_2B8
float field_2B8
Definition: IndoorCameraD3D.h:220
IndoorCameraD3D::int_cosine_y
int int_cosine_y
Definition: IndoorCameraD3D.h:259
IndoorCameraD3D_Vec3::y
float y
Definition: IndoorCameraD3D.h:22
IndoorCameraD3D::_unused_blv_party_z
float _unused_blv_party_z
Definition: IndoorCameraD3D.h:197
IndoorCameraD3D::field_1C8
float field_1C8
Definition: IndoorCameraD3D.h:210
IndoorCameraD3D::debug_outline_sw
void debug_outline_sw(struct RenderVertexSoft *a2, unsigned int uNumVertices, unsigned int uDiffuse, float a5)
Definition: IndoorCameraD3D.cpp:402
IndoorCameraD3D::field_138
float field_138
Definition: IndoorCameraD3D.h:204
IndoorCameraD3D_Vec3
Definition: IndoorCameraD3D.h:9
Vec3< int >
IndoorCameraD3D_stru3::field_1C
int field_1C
Definition: IndoorCameraD3D.h:55
IndoorCameraD3D::field_28C
char field_28C[44]
Definition: IndoorCameraD3D.h:219
BLVFace
Definition: Indoor.h:424
IndoorCameraD3D::field_34C
float field_34C
Definition: IndoorCameraD3D.h:236
IndoorCameraD3D::inv_fov
float inv_fov
Definition: IndoorCameraD3D.h:194
IndoorCameraD3D::ViewClip
bool ViewClip(int x, int y, int z, int *transformed_x, int *transformed_y, int *transformed_z, bool dont_show=false)
Definition: IndoorCameraD3D.cpp:172
IndoorCameraD3D::~IndoorCameraD3D
virtual ~IndoorCameraD3D()
Definition: IndoorCameraD3D.h:108
IndoorCameraD3D::field_2C4
float field_2C4
Definition: IndoorCameraD3D.h:223
IndoorCameraD3D::Project
void Project(int x, int y, int z, int *screenspace_x, int *screenspace_y)
Definition: IndoorCameraD3D.cpp:1137
IndoorCameraD3D::CreateWorldMatrixAndSomeStuff
void CreateWorldMatrixAndSomeStuff()
Definition: IndoorCameraD3D.cpp:489
IndoorCameraD3D_stru2
Definition: IndoorCameraD3D.h:88
IndoorCameraD3D_Vec4::dot
float dot
Definition: IndoorCameraD3D.h:39
IndoorCameraD3D::int_sine_x
int int_sine_x
Definition: IndoorCameraD3D.h:261
IndoorCameraD3D::field_228
float field_228
Definition: IndoorCameraD3D.h:214
IndoorCameraD3D::_437143
void _437143(unsigned int uNumInVertices, struct RenderVertexSoft *pOutVertices, struct RenderVertexSoft *pInVertices, signed int *pOutNumVertices)
Definition: IndoorCameraD3D.cpp:823
IndoorCameraD3D_stru1::field_18
int field_18
Definition: IndoorCameraD3D.h:77
IndoorCameraD3D_stru3
Definition: IndoorCameraD3D.h:47
IndoorCameraD3D_stru1::field_24
int field_24
Definition: IndoorCameraD3D.h:80
IndoorCameraD3D::field_348
float field_348
Definition: IndoorCameraD3D.h:235
IndoorCameraD3D_stru2::field_C0C
int field_C0C
Definition: IndoorCameraD3D.h:93
IndoorCameraD3D::fRotationXCosine
float fRotationXCosine
Definition: IndoorCameraD3D.h:252
IndoorCameraD3D::field_1F8
float field_1F8
Definition: IndoorCameraD3D.h:212
IndoorCameraD3D::fov_y
float fov_y
Definition: IndoorCameraD3D.h:193
IndoorCameraD3D::GetPolygonMinZ
double GetPolygonMinZ(struct RenderVertexSoft *pVertices, unsigned int uStripType)
Definition: IndoorCameraD3D.cpp:1156
IndoorCameraD3D_stru3::field_0
int field_0
Definition: IndoorCameraD3D.h:48
IndoorCameraD3D_stru1::flt_2C
float flt_2C
Definition: IndoorCameraD3D.h:82
IndoorCameraD3D::field_324
float field_324
Definition: IndoorCameraD3D.h:233
IndoorCameraD3D_stru1::field_10
int field_10
Definition: IndoorCameraD3D.h:75
IndoorCameraD3D::ApplyViewTransform_TrueIfStillVisible_BLV
bool ApplyViewTransform_TrueIfStillVisible_BLV(int x, int y, int z, fixed *pOutX, fixed *pOutZ, fixed *pOutY, bool clip_plane_test)
Definition: IndoorCameraD3D.cpp:88
IndoorCameraD3D::GetFacetOrientation
bool GetFacetOrientation(char polyType, struct Vec3_float_ *a2, struct Vec3_float_ *a3, struct Vec3_float_ *a4)
Definition: IndoorCameraD3D.cpp:237
IndoorCameraD3D_Vec4::_wtf
int _wtf
Definition: IndoorCameraD3D.h:40
LightsData
Definition: Indoor.h:16
IndoorCameraD3D::field_350
float field_350
Definition: IndoorCameraD3D.h:237
IndoorCameraD3D_Vec3::z
float z
Definition: IndoorCameraD3D.h:23
IndoorCameraD3D_Vec4::~IndoorCameraD3D_Vec4
virtual ~IndoorCameraD3D_Vec4()
Definition: IndoorCameraD3D.h:37
IndoorCameraD3D::field_168
float field_168
Definition: IndoorCameraD3D.h:206
IndoorCameraD3D_Vec3::~IndoorCameraD3D_Vec3
virtual ~IndoorCameraD3D_Vec3()
Definition: IndoorCameraD3D.h:13
IndoorCameraD3D_stru1
Definition: IndoorCameraD3D.h:67
IndoorCameraD3D::_unused_blv_party_y
float _unused_blv_party_y
Definition: IndoorCameraD3D.h:196
IndoorCameraD3D::IsCulled
bool IsCulled(struct BLVFace *pFace)
Definition: IndoorCameraD3D.cpp:128
IndoorCameraD3D_stru3::field_4
int field_4
Definition: IndoorCameraD3D.h:49
IndoorCameraD3D::std__vector_000034_prolly_frustrum
IndoorCameraD3D_Vec4 std__vector_000034_prolly_frustrum[6]
Definition: IndoorCameraD3D.h:188
IndoorCameraD3D::fRotationYCosine
float fRotationYCosine
Definition: IndoorCameraD3D.h:250
IndoorCameraD3D::_437376
char _437376(struct stru154 *thisa, struct RenderVertexSoft *a2, unsigned int *pOutNumVertices)
Definition: IndoorCameraD3D.cpp:629
IndoorCameraD3D::fov
float fov
Definition: IndoorCameraD3D.h:189
IndoorCameraD3D::field_19C
char field_19C[44]
Definition: IndoorCameraD3D.h:209
IndoorCameraD3D::debug_flags
int debug_flags
Definition: IndoorCameraD3D.h:255
IndoorCameraD3D::field_2F4
float field_2F4
Definition: IndoorCameraD3D.h:228
IndoorCameraD3D_stru2::field_C04
int field_C04
Definition: IndoorCameraD3D.h:91
IndoorCameraD3D_stru2::mm7__vector_000004_size
unsigned int mm7__vector_000004_size
Definition: IndoorCameraD3D.h:89
IndoorCameraD3D::field_16C
char field_16C[44]
Definition: IndoorCameraD3D.h:207
IndoorCameraD3D_stru3::field_24
int field_24
Definition: IndoorCameraD3D.h:57
IndoorCameraD3D::list_0037C
IndoorCameraD3D_stru3 list_0037C[16384]
Definition: IndoorCameraD3D.h:241
IndoorCameraD3D::list_E0380
IndoorCameraD3D_stru2 list_E0380[256]
Definition: IndoorCameraD3D.h:243
IndoorCameraD3D_stru1::field_20
int field_20
Definition: IndoorCameraD3D.h:79
OurMath.h
IndoorCameraD3D_stru1::field_8
int field_8
Definition: IndoorCameraD3D.h:73
IndoorCameraD3D::fov_x
float fov_x
Definition: IndoorCameraD3D.h:192
IndoorCameraD3D::field_358
char field_358[32]
Definition: IndoorCameraD3D.h:239
IndoorCameraD3D::list_E0380_size
int list_E0380_size
Definition: IndoorCameraD3D.h:244
IndoorCameraD3D::field_354
float field_354
Definition: IndoorCameraD3D.h:238
IndoorCameraD3D::GetFarClip
float GetFarClip() const
Definition: IndoorCameraD3D.cpp:159
IndoorCameraD3D_stru3::field_34
int field_34
Definition: IndoorCameraD3D.h:61
IndoorCameraD3D_stru3::field_28
int field_28
Definition: IndoorCameraD3D.h:58
IndoorCameraD3D::ViewTransform
void ViewTransform(int x, int y, int z, int *transformed_x, int *transformed_y, int *transformed_z)
Definition: IndoorCameraD3D.cpp:184
fixed
Definition: OurMath.h:21
RenderVertexSoft
Definition: IRender.h:113
IndoorCameraD3D_stru1::IndoorCameraD3D_stru1
IndoorCameraD3D_stru1()
Definition: IndoorCameraD3D.h:69
IndoorCameraD3D::GetNearClip
float GetNearClip() const
Definition: IndoorCameraD3D.cpp:146
IndoorCameraD3D_stru1::field_1C
int field_1C
Definition: IndoorCameraD3D.h:78
IndoorCameraD3D::field_2E8
float field_2E8
Definition: IndoorCameraD3D.h:225
IndoorCameraD3D::field_198
float field_198
Definition: IndoorCameraD3D.h:208
IndoorCameraD3D::field_2C0
float field_2C0
Definition: IndoorCameraD3D.h:222
IndoorCameraD3D::_4374E8_ProllyBuildFrustrum
void _4374E8_ProllyBuildFrustrum()
Definition: IndoorCameraD3D.cpp:581
IndoorCameraD3D::debug_outline_d3d
void debug_outline_d3d(const struct RenderVertexD3D3 *pLineVertices, unsigned int uNumLines, int uDiffuse, float z_stuff)
Definition: IndoorCameraD3D.cpp:390
IndoorCameraD3D::LightmapFarClip
void LightmapFarClip(struct RenderVertexSoft *pInVertices, int uNumInVertices, struct RenderVertexSoft *pOutVertices, unsigned int *pOutNumVertices)
Definition: IndoorCameraD3D.cpp:848
IndoorCameraD3D::PrepareAndDrawDebugOutline
void PrepareAndDrawDebugOutline(struct BLVFace *pFace, unsigned int uDiffuse)
Definition: IndoorCameraD3D.cpp:445
IndoorCameraD3D::field_2F8
char field_2F8[32]
Definition: IndoorCameraD3D.h:229
IndoorCameraD3D::int_sine_y
int int_sine_y
Definition: IndoorCameraD3D.h:257
IndoorCameraD3D::field_2EC
float field_2EC
Definition: IndoorCameraD3D.h:226
IndoorCameraD3D::_unused_blv_party_x_2
float _unused_blv_party_x_2
Definition: IndoorCameraD3D.h:200
IndoorCameraD3D_stru3::field_20
int field_20
Definition: IndoorCameraD3D.h:56
IndoorCameraD3D_stru3::field_10
int field_10
Definition: IndoorCameraD3D.h:52
IndoorCameraD3D::GetPolygonMaxZ
double GetPolygonMaxZ(struct RenderVertexSoft *pVertex, unsigned int uStripType)
Definition: IndoorCameraD3D.cpp:1168
IndoorCameraD3D::fRotationXSine
float fRotationXSine
Definition: IndoorCameraD3D.h:251