0
|
1 #pragma once
|
|
2
|
|
3 /* 149 */
|
|
4 #pragma pack(push, 1)
|
|
5 struct Viewport
|
|
6 {
|
692
|
7 void SetScreen(signed int uX, signed int uY, signed int uZ, signed int uW);
|
0
|
8 void _4C02F8(int a2);
|
692
|
9 void SetViewport(signed int uX, signed int uY, signed int uZ, signed int uW);
|
0
|
10
|
|
11
|
692
|
12 signed int uScreen_TL_X;
|
|
13 signed int uScreen_TL_Y;
|
|
14 signed int uScreen_BR_X;
|
|
15 signed int uScreen_BR_Y;
|
|
16 signed int uViewportX;
|
|
17 signed int uViewportY;
|
|
18 signed int uViewportZ;
|
|
19 signed int uViewportW;
|
0
|
20 int uScreenWidth;
|
|
21 int uScreenHeight;
|
|
22 int uScreenCenterX;
|
|
23 int uScreenCenterY;
|
|
24 int field_30;
|
|
25 };
|
|
26 #pragma pack(pop)
|
|
27
|
|
28
|
|
29
|
|
30 extern struct Viewport *pViewport;
|
|
31
|
|
32
|
|
33
|
|
34 /* 201 */
|
|
35 #pragma pack(push, 1)
|
|
36 struct ViewingParams
|
|
37 {
|
186
|
38 inline ViewingParams()
|
|
39 {
|
|
40 draw_sw_outlines = false;
|
|
41 draw_d3d_outlines = false;
|
|
42 }
|
|
43
|
688
|
44 void _443291();
|
|
45 void InitGrayPalette();
|
|
46 void _443219();
|
|
47 void _443225();
|
|
48 void _443231();
|
|
49 void _44323D();
|
|
50 void _443249();
|
|
51 void _4432E7();
|
692
|
52 void _443365();
|
0
|
53
|
|
54
|
|
55
|
|
56 int uSomeX;
|
|
57 int uSomeY;
|
|
58 int uSomeZ;
|
|
59 int uSomeW;
|
692
|
60 unsigned int uScreen_topL_X;
|
|
61 unsigned int uScreen_topL_Y;
|
|
62 unsigned int uScreen_BttmR_X;
|
|
63 unsigned int uScreen_BttmR_Y;
|
0
|
64 int field_20;
|
|
65 unsigned int uMinimapZoom;
|
|
66 int field_28;
|
|
67 int field_2C;
|
|
68 int sPartyPosX;
|
|
69 int sPartyPosZ;
|
|
70 __int16 field_38;
|
|
71 __int16 field_3A;
|
|
72 int field_3C;
|
|
73 unsigned int uTextureID_LocationMap;
|
|
74 int bRedrawGameUI;
|
|
75 int field_48;
|
|
76 int field_4C;
|
186
|
77 int draw_sw_outlines;
|
|
78 int draw_d3d_outlines;
|
0
|
79 int field_58;
|
|
80 int field_5C;
|
|
81 int field_60;
|
|
82 int field_64;
|
|
83 int field_68;
|
|
84 unsigned __int16 pPalette[256];
|
|
85 };
|
|
86 #pragma pack(pop)
|
|
87
|
|
88
|
|
89
|
|
90 extern struct ViewingParams *viewparams; |