annotate IndoorCamera.h @ 82:f9a33f75bae3

Qick Record
author Nomad
date Mon, 29 Oct 2012 00:41:51 +0200
parents 2ca04ccb612a
children
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;
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
13 flt_1C_fov = 2000.0f;
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
14 flt_20_inv_1C = 32.768002f;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 field_4C = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 void Initialize(int degFov, unsigned int uViewportWidth, unsigned int uViewportHeight);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 void Initialize2();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 float ViewTransform(struct RenderVertexSoft *a1);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 Vec3_int_ pos;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 unsigned int uMapGridCellX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 unsigned int uMapGridCellZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 int sRotationX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 int sRotationY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 float flt_1C_fov;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 float flt_20_inv_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 float fRotationYSine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 float fRotationYCosine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 float fRotationXSine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 float fRotationXCosine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 int _int_sine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 int _int_cosine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 int _int_sine_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 int _int_cosine_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 int field_4C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 extern IndoorCamera *pIndoorCamera; // idb