view Viewport.h @ 692:066e2b29b30f

viewport.cpp added
author Gloval
date Sat, 16 Mar 2013 21:57:32 +0400
parents c0bfb386b15f
children e0a1fccc89b1
line wrap: on
line source

#pragma once

/*  149 */
#pragma pack(push, 1)
struct Viewport
{
  void SetScreen(signed int uX, signed int uY, signed int uZ, signed int uW);
  void _4C02F8(int a2);
  void SetViewport(signed int uX, signed int uY, signed int uZ, signed int uW);


  signed int uScreen_TL_X;
  signed int uScreen_TL_Y;
  signed int uScreen_BR_X;
  signed int uScreen_BR_Y;
  signed int uViewportX;
  signed int uViewportY;
  signed int uViewportZ;
  signed int uViewportW;
  int uScreenWidth;
  int uScreenHeight;
  int uScreenCenterX;
  int uScreenCenterY;
  int field_30;
};
#pragma pack(pop)



extern struct Viewport *pViewport;



/*  201 */
#pragma pack(push, 1)
struct ViewingParams
{
  inline ViewingParams()
  {
    draw_sw_outlines = false;
    draw_d3d_outlines = false;
  }

  void _443291();
  void  InitGrayPalette();
  void _443219();
  void  _443225();
  void  _443231();
  void _44323D();
  void _443249();
  void  _4432E7();
  void _443365();



  int uSomeX;
  int uSomeY;
  int uSomeZ;
  int uSomeW;
  unsigned int uScreen_topL_X;
  unsigned int uScreen_topL_Y;
  unsigned int uScreen_BttmR_X;
  unsigned int uScreen_BttmR_Y;
  int field_20;
  unsigned int uMinimapZoom;
  int field_28;
  int field_2C;
  int sPartyPosX;
  int sPartyPosZ;
  __int16 field_38;
  __int16 field_3A;
  int field_3C;
  unsigned int uTextureID_LocationMap;
  int bRedrawGameUI;
  int field_48;
  int field_4C;
  int draw_sw_outlines;
  int draw_d3d_outlines;
  int field_58;
  int field_5C;
  int field_60;
  int field_64;
  int field_68;
  unsigned __int16 pPalette[256];
};
#pragma pack(pop)



extern struct ViewingParams *viewparams;