annotate OutdoorCamera.h @ 150:20c034b5a6e2

Слияние
author Ritor1
date Mon, 26 Nov 2012 09:35:24 +0600
parents bcc051713d20
children
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 {
3
540178ef9b18 Main menu functionality
Nomad
parents: 0
diff changeset
11 uPickDepth = 0;
540178ef9b18 Main menu functionality
Nomad
parents: 0
diff changeset
12 this->shading_dist_shade = 2048;
540178ef9b18 Main menu functionality
Nomad
parents: 0
diff changeset
13 shading_dist_shademist = 4096;
540178ef9b18 Main menu functionality
Nomad
parents: 0
diff changeset
14 shading_dist_mist = 8192;
540178ef9b18 Main menu functionality
Nomad
parents: 0
diff changeset
15 int_fov_rad = 0;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 this->bNoSky = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 this->bDoNotRenderDecorations = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 this->field_5C = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 this->field_60 = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 this->outdoor_no_wavy_water = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 this->outdoor_no_mist = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 void _485F64();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 void RotationToInts();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 void AllocSoftwareDrawBuffers();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 void ReleaseSoftwareDrawBuffers();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 static void Project(unsigned int uNumVertices);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 static bool _487355();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 int uPickDepth;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 int shading_dist_shade;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 int shading_dist_shademist;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 int shading_dist_mist;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 unsigned int uCameraFovInDegrees;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 int int_fov_rad;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 int int_fov_rad_inv;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 int camera_rotation_y_int_sine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 int camera_rotation_y_int_cosine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 int camera_rotation_x_int_sine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 int camera_rotation_x_int_cosine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 int numStru148s;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47 unsigned int uNumEdges;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48 unsigned int uNumSurfs;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49 unsigned int uNumSpans;
45
bcc051713d20 BLV render & seffects
Nomad
parents: 3
diff changeset
50 unsigned int uNumBillboards;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 float field_40;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 int field_44;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
53 int outdoor_grid_band_3;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54 int field_4C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55 int field_50;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 unsigned int bNoSky;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57 unsigned int bDoNotRenderDecorations;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58 int field_5C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 int field_60;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 int outdoor_no_wavy_water;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 int outdoor_no_mist;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62 int building_gamme;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63 int terrain_gamma;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
66
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70 extern struct OutdoorCamera *pOutdoorCamera;