0
|
1 #pragma once
|
|
2 #include "VectorTypes.h"
|
|
3
|
|
4 /* 157 */
|
|
5 #pragma pack(push, 1)
|
|
6 struct IndoorCamera
|
|
7 {
|
|
8 //----- (0042391F) --------------------------------------------------------
|
|
9 IndoorCamera()
|
|
10 {
|
|
11 sRotationX = 0;
|
|
12 sRotationY = 0;
|
|
13 __debugbreak();
|
|
14 {
|
|
15 //LODWORD(flt_1C_fov) = 0x44FA0000u;
|
|
16 //LODWORD(flt_20_inv_1C) = 0x4203126Fu;
|
|
17 }
|
|
18
|
|
19 field_4C = 0;
|
|
20 }
|
|
21 void Initialize(int degFov, unsigned int uViewportWidth, unsigned int uViewportHeight);
|
|
22 void Initialize2();
|
|
23 float ViewTransform(struct RenderVertexSoft *a1);
|
|
24
|
|
25
|
|
26 Vec3_int_ pos;
|
|
27 unsigned int uMapGridCellX;
|
|
28 unsigned int uMapGridCellZ;
|
|
29 int sRotationX;
|
|
30 int sRotationY;
|
|
31 float flt_1C_fov;
|
|
32 float flt_20_inv_1C;
|
|
33 int field_24;
|
|
34 int field_28;
|
|
35 float fRotationYSine;
|
|
36 float fRotationYCosine;
|
|
37 float fRotationXSine;
|
|
38 float fRotationXCosine;
|
|
39 int _int_sine;
|
|
40 int _int_cosine;
|
|
41 int _int_sine_2;
|
|
42 int _int_cosine_2;
|
|
43 int field_4C;
|
|
44 };
|
|
45 #pragma pack(pop)
|
|
46
|
|
47
|
|
48
|
|
49 extern IndoorCamera *pIndoorCamera; // idb |