Mercurial > mm7
diff Viewport.h @ 0:9c0607679772
init
author | Ritor1 |
---|---|
date | Sat, 12 Jan 2013 09:45:18 +0600 |
parents | |
children | d65528fc3bda |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Viewport.h Sat Jan 12 09:45:18 2013 +0600 @@ -0,0 +1,92 @@ +#pragma once + +/* 149 */ +#pragma pack(push, 1) +struct Viewport +{ + void SetScreen(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW); + void _4C02F8(int a2); + void SetViewport(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW); + + + unsigned int uScreenX; + unsigned int uScreenY; + unsigned int uScreenZ; + unsigned int uScreenW; + unsigned int uViewportX; + unsigned int uViewportY; + unsigned int uViewportZ; + unsigned 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 +{ + int _443291(); + unsigned int _443343(); + int _443219(); + int _443225(); + int _443231(); + int _44323D(); + int _443249(); + int _4432E7(); + int _443365(); + + + + int uSomeX; + int uSomeY; + int uSomeZ; + int uSomeW; + unsigned int uScreenX; + unsigned int uScreenY; + unsigned int uScreenZ; + unsigned int uScreenW; + 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 field_50_draw_debug_outlines; + int field_54; + 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; \ No newline at end of file