Mercurial > mm7
diff OutdoorCamera.h @ 0:9c0607679772
init
author | Ritor1 |
---|---|
date | Sat, 12 Jan 2013 09:45:18 +0600 |
parents | |
children | cc9a3a24d61d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OutdoorCamera.h Sat Jan 12 09:45:18 2013 +0600 @@ -0,0 +1,70 @@ +#pragma once + + +/* 88 */ +#pragma pack(push, 1) +struct OutdoorCamera +{ + //----- (00462684) -------------------------------------------------------- + OutdoorCamera() + { + uPickDepth = 0; + this->shading_dist_shade = 2048; + shading_dist_shademist = 4096; + shading_dist_mist = 8192; + int_fov_rad = 0; + 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; + unsigned int uNumBillboards; + 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