Mercurial > might-and-magic-trilogy
diff OutdoorCamera.h @ 0:8b8875f5b359
Initial commit
author | Nomad |
---|---|
date | Fri, 05 Oct 2012 16:07:14 +0200 |
parents | |
children | 540178ef9b18 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OutdoorCamera.h Fri Oct 05 16:07:14 2012 +0200 @@ -0,0 +1,65 @@ +#pragma once + + +/* 88 */ +#pragma pack(push, 1) +struct OutdoorCamera +{ + //----- (00462684) -------------------------------------------------------- + OutdoorCamera() + { + this->bNoSky = 0; + this->bDoNotRenderDecorations = 0; + this->field_5C = 0; + this->field_60 = 0; + this->outdoor_no_wavy_water = 0; + this->outdoor_no_mist = 0; + } + + void _485F64(); + void RotationToInts(); + void AllocSoftwareDrawBuffers(); + void ReleaseSoftwareDrawBuffers(); + + static void Project(unsigned int uNumVertices); + static bool _487355(); + + + + + int uPickDepth; + int shading_dist_shade; + int shading_dist_shademist; + int shading_dist_mist; + unsigned int uCameraFovInDegrees; + int int_fov_rad; + int int_fov_rad_inv; + int camera_rotation_y_int_sine; + int camera_rotation_y_int_cosine; + int camera_rotation_x_int_sine; + int camera_rotation_x_int_cosine; + int numStru148s; + unsigned int uNumEdges; + unsigned int uNumSurfs; + unsigned int uNumSpans; + int field_3C; + float field_40; + int field_44; + int outdoor_grid_band_3; + int field_4C; + int field_50; + unsigned int bNoSky; + unsigned int bDoNotRenderDecorations; + int field_5C; + int field_60; + int outdoor_no_wavy_water; + int outdoor_no_mist; + int building_gamme; + int terrain_gamma; +}; +#pragma pack(pop) + + + + +extern struct OutdoorCamera *pOutdoorCamera; \ No newline at end of file