view OutdoorCamera.h @ 123:05b2d9653abc

15.11.12
author Ritor1
date Thu, 15 Nov 2012 16:36:30 +0600
parents bcc051713d20
children
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;
  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;