annotate OutdoorCamera.h @ 998:e4383e6dfbef

ProcessInput
author Ritor1
date Tue, 14 May 2013 17:37:24 +0600
parents 9c0607679772
children cc9a3a24d61d
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 /* 88 */
Ritor1
parents:
diff changeset
5 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
6 struct OutdoorCamera
Ritor1
parents:
diff changeset
7 {
Ritor1
parents:
diff changeset
8 //----- (00462684) --------------------------------------------------------
Ritor1
parents:
diff changeset
9 OutdoorCamera()
Ritor1
parents:
diff changeset
10 {
Ritor1
parents:
diff changeset
11 uPickDepth = 0;
Ritor1
parents:
diff changeset
12 this->shading_dist_shade = 2048;
Ritor1
parents:
diff changeset
13 shading_dist_shademist = 4096;
Ritor1
parents:
diff changeset
14 shading_dist_mist = 8192;
Ritor1
parents:
diff changeset
15 int_fov_rad = 0;
Ritor1
parents:
diff changeset
16 this->bNoSky = 0;
Ritor1
parents:
diff changeset
17 this->bDoNotRenderDecorations = 0;
Ritor1
parents:
diff changeset
18 this->field_5C = 0;
Ritor1
parents:
diff changeset
19 this->field_60 = 0;
Ritor1
parents:
diff changeset
20 this->outdoor_no_wavy_water = 0;
Ritor1
parents:
diff changeset
21 this->outdoor_no_mist = 0;
Ritor1
parents:
diff changeset
22 }
Ritor1
parents:
diff changeset
23
Ritor1
parents:
diff changeset
24 void _485F64();
Ritor1
parents:
diff changeset
25 void RotationToInts();
Ritor1
parents:
diff changeset
26 void AllocSoftwareDrawBuffers();
Ritor1
parents:
diff changeset
27 void ReleaseSoftwareDrawBuffers();
Ritor1
parents:
diff changeset
28
Ritor1
parents:
diff changeset
29 static void Project(unsigned int uNumVertices);
Ritor1
parents:
diff changeset
30 static bool _487355();
Ritor1
parents:
diff changeset
31
Ritor1
parents:
diff changeset
32
Ritor1
parents:
diff changeset
33
Ritor1
parents:
diff changeset
34
Ritor1
parents:
diff changeset
35 int uPickDepth;
Ritor1
parents:
diff changeset
36 int shading_dist_shade;
Ritor1
parents:
diff changeset
37 int shading_dist_shademist;
Ritor1
parents:
diff changeset
38 int shading_dist_mist;
Ritor1
parents:
diff changeset
39 unsigned int uCameraFovInDegrees;
Ritor1
parents:
diff changeset
40 int int_fov_rad;
Ritor1
parents:
diff changeset
41 int int_fov_rad_inv;
Ritor1
parents:
diff changeset
42 int camera_rotation_y_int_sine;
Ritor1
parents:
diff changeset
43 int camera_rotation_y_int_cosine;
Ritor1
parents:
diff changeset
44 int camera_rotation_x_int_sine;
Ritor1
parents:
diff changeset
45 int camera_rotation_x_int_cosine;
Ritor1
parents:
diff changeset
46 int numStru148s;
Ritor1
parents:
diff changeset
47 unsigned int uNumEdges;
Ritor1
parents:
diff changeset
48 unsigned int uNumSurfs;
Ritor1
parents:
diff changeset
49 unsigned int uNumSpans;
Ritor1
parents:
diff changeset
50 unsigned int uNumBillboards;
Ritor1
parents:
diff changeset
51 float field_40;
Ritor1
parents:
diff changeset
52 int field_44;
Ritor1
parents:
diff changeset
53 int outdoor_grid_band_3;
Ritor1
parents:
diff changeset
54 int field_4C;
Ritor1
parents:
diff changeset
55 int field_50;
Ritor1
parents:
diff changeset
56 unsigned int bNoSky;
Ritor1
parents:
diff changeset
57 unsigned int bDoNotRenderDecorations;
Ritor1
parents:
diff changeset
58 int field_5C;
Ritor1
parents:
diff changeset
59 int field_60;
Ritor1
parents:
diff changeset
60 int outdoor_no_wavy_water;
Ritor1
parents:
diff changeset
61 int outdoor_no_mist;
Ritor1
parents:
diff changeset
62 int building_gamme;
Ritor1
parents:
diff changeset
63 int terrain_gamma;
Ritor1
parents:
diff changeset
64 };
Ritor1
parents:
diff changeset
65 #pragma pack(pop)
Ritor1
parents:
diff changeset
66
Ritor1
parents:
diff changeset
67
Ritor1
parents:
diff changeset
68
Ritor1
parents:
diff changeset
69
Ritor1
parents:
diff changeset
70 extern struct OutdoorCamera *pOutdoorCamera;