view IndoorCamera.h @ 0:8b8875f5b359

Initial commit
author Nomad
date Fri, 05 Oct 2012 16:07:14 +0200
parents
children 2ca04ccb612a
line wrap: on
line source

#pragma once
#include "VectorTypes.h"

/*  157 */
#pragma pack(push, 1)
struct IndoorCamera
{
  //----- (0042391F) --------------------------------------------------------
  IndoorCamera()
  {
    sRotationX = 0;
    sRotationY = 0;
    __debugbreak();
    {
    //LODWORD(flt_1C_fov) = 0x44FA0000u;
    //LODWORD(flt_20_inv_1C) = 0x4203126Fu;
    }

    field_4C = 0;
  }
  void Initialize(int degFov, unsigned int uViewportWidth, unsigned int uViewportHeight);
  void Initialize2();
  float ViewTransform(struct RenderVertexSoft *a1);


  Vec3_int_ pos;
  unsigned int uMapGridCellX;
  unsigned int uMapGridCellZ;
  int sRotationX;
  int sRotationY;
  float flt_1C_fov;
  float flt_20_inv_1C;
  int field_24;
  int field_28;
  float fRotationYSine;
  float fRotationYCosine;
  float fRotationXSine;
  float fRotationXCosine;
  int _int_sine;
  int _int_cosine;
  int _int_sine_2;
  int _int_cosine_2;
  int field_4C;
};
#pragma pack(pop)



extern IndoorCamera *pIndoorCamera; // idb