annotate IndoorCamera.h @ 7:1200e31f08e5

10.10.12
author Серик@ПончиК
date Wed, 10 Oct 2012 21:05:53 +0600
parents 8b8875f5b359
children 2ca04ccb612a
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2 #include "VectorTypes.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4 /* 157 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 struct IndoorCamera
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 //----- (0042391F) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 IndoorCamera()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 sRotationX = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 sRotationY = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 __debugbreak();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 //LODWORD(flt_1C_fov) = 0x44FA0000u;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 //LODWORD(flt_20_inv_1C) = 0x4203126Fu;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 field_4C = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 void Initialize(int degFov, unsigned int uViewportWidth, unsigned int uViewportHeight);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 void Initialize2();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 float ViewTransform(struct RenderVertexSoft *a1);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 Vec3_int_ pos;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 unsigned int uMapGridCellX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 unsigned int uMapGridCellZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 int sRotationX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 int sRotationY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 float flt_1C_fov;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 float flt_20_inv_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 float fRotationYSine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 float fRotationYCosine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 float fRotationXSine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 float fRotationXCosine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 int _int_sine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 int _int_cosine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 int _int_sine_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 int _int_cosine_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 int field_4C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49 extern IndoorCamera *pIndoorCamera; // idb