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