annotate OutdoorCamera.h @ 0:8b8875f5b359

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