view OutdoorCamera.h @ 1524:58d15177edd0

m
author Ritor1
date Thu, 05 Sep 2013 13:12:53 +0600
parents cc9a3a24d61d
children 75fafd8ced59
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 uNumPolygons;
  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;