Mercurial > mm7
view IndoorCamera.h @ 1607:d4282f59f312
Слияние
author | Ritor1 |
---|---|
date | Wed, 11 Sep 2013 00:16:58 +0600 |
parents | 346f7069676a |
children | 2c71fa8913d2 |
line wrap: on
line source
#pragma once #include "VectorTypes.h" #define INDOOR_CAMERA_DRAW_SW_OUTLINES 1 #define INDOOR_CAMERA_DRAW_D3D_OUTLINES 2 #define INDOOR_CAMERA_DRAW_TERRAIN_OUTLINES 4 /* 157 */ #pragma pack(push, 1) struct IndoorCamera { //----- (0042391F) -------------------------------------------------------- IndoorCamera() { sRotationX = 0; sRotationY = 0; flt_1C_fov = 2000.0f; flt_20_inv_1C = 32.768002f; flags = 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 flags; // & INDOOR_CAMERA_DRAW_D3D_OUTLINES: render terrain outlines in d3d }; #pragma pack(pop) extern IndoorCamera *pIndoorCamera; // idb