view OutdoorCamera.h @ 32:77de07f99e03

16.10.12 9.09
author Ritor1
date Tue, 16 Oct 2012 09:09:53 +0600
parents 540178ef9b18
children bcc051713d20
line wrap: on
line source

#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;
  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;