Mercurial > mm7
annotate OutdoorCamera.h @ 1519:4c787c28ddce
Clean CastSpellInfo. (2)
author | yoctozepto |
---|---|
date | Wed, 04 Sep 2013 16:00:15 +0200 |
parents | cc9a3a24d61d |
children | 75fafd8ced59 |
rev | line source |
---|---|
0 | 1 #pragma once |
2 | |
3 | |
4 /* 88 */ | |
5 #pragma pack(push, 1) | |
6 struct OutdoorCamera | |
7 { | |
8 //----- (00462684) -------------------------------------------------------- | |
9 OutdoorCamera() | |
10 { | |
11 uPickDepth = 0; | |
12 this->shading_dist_shade = 2048; | |
13 shading_dist_shademist = 4096; | |
14 shading_dist_mist = 8192; | |
15 int_fov_rad = 0; | |
16 this->bNoSky = 0; | |
17 this->bDoNotRenderDecorations = 0; | |
18 this->field_5C = 0; | |
19 this->field_60 = 0; | |
20 this->outdoor_no_wavy_water = 0; | |
21 this->outdoor_no_mist = 0; | |
22 } | |
23 | |
24 void _485F64(); | |
25 void RotationToInts(); | |
26 void AllocSoftwareDrawBuffers(); | |
27 void ReleaseSoftwareDrawBuffers(); | |
28 | |
29 static void Project(unsigned int uNumVertices); | |
1391
cc9a3a24d61d
Moved stru11, stru12 and some SW Rendering stuff to the archives.
Nomad
parents:
0
diff
changeset
|
30 //static bool _487355(); |
0 | 31 |
32 | |
33 | |
34 | |
35 int uPickDepth; | |
36 int shading_dist_shade; | |
37 int shading_dist_shademist; | |
38 int shading_dist_mist; | |
39 unsigned int uCameraFovInDegrees; | |
40 int int_fov_rad; | |
41 int int_fov_rad_inv; | |
42 int camera_rotation_y_int_sine; | |
43 int camera_rotation_y_int_cosine; | |
44 int camera_rotation_x_int_sine; | |
45 int camera_rotation_x_int_cosine; | |
1391
cc9a3a24d61d
Moved stru11, stru12 and some SW Rendering stuff to the archives.
Nomad
parents:
0
diff
changeset
|
46 int uNumPolygons; |
0 | 47 unsigned int uNumEdges; |
48 unsigned int uNumSurfs; | |
49 unsigned int uNumSpans; | |
50 unsigned int uNumBillboards; | |
51 float field_40; | |
52 int field_44; | |
53 int outdoor_grid_band_3; | |
54 int field_4C; | |
55 int field_50; | |
56 unsigned int bNoSky; | |
57 unsigned int bDoNotRenderDecorations; | |
58 int field_5C; | |
59 int field_60; | |
60 int outdoor_no_wavy_water; | |
61 int outdoor_no_mist; | |
62 int building_gamme; | |
63 int terrain_gamma; | |
64 }; | |
65 #pragma pack(pop) | |
66 | |
67 | |
68 | |
69 | |
70 extern struct OutdoorCamera *pOutdoorCamera; |