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 flt_1C_fov = 2000.0f;
|
|
14 flt_20_inv_1C = 32.768002f;
|
|
15
|
|
16 field_4C = 0;
|
|
17 }
|
|
18 void Initialize(int degFov, unsigned int uViewportWidth, unsigned int uViewportHeight);
|
|
19 void Initialize2();
|
|
20 float ViewTransform(struct RenderVertexSoft *a1);
|
|
21
|
|
22
|
|
23 Vec3_int_ pos;
|
|
24 unsigned int uMapGridCellX;
|
|
25 unsigned int uMapGridCellZ;
|
|
26 int sRotationX;
|
|
27 int sRotationY;
|
|
28 float flt_1C_fov;
|
|
29 float flt_20_inv_1C;
|
|
30 int field_24;
|
|
31 int field_28;
|
|
32 float fRotationYSine;
|
|
33 float fRotationYCosine;
|
|
34 float fRotationXSine;
|
|
35 float fRotationXCosine;
|
|
36 int _int_sine;
|
|
37 int _int_cosine;
|
|
38 int _int_sine_2;
|
|
39 int _int_cosine_2;
|
|
40 int field_4C;
|
|
41 };
|
|
42 #pragma pack(pop)
|
|
43
|
|
44
|
|
45
|
|
46 extern IndoorCamera *pIndoorCamera; // idb |