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;
|
693
|
16 signed int uViewportTL_X;
|
|
17 signed int uViewportTL_Y;
|
|
18 signed int uViewportBR_X;
|
|
19 signed int uViewportBR_Y;
|
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;
|
832
|
42 field_4C = 0;
|
186
|
43 }
|
|
44
|
693
|
45 void CenterOnParty2();
|
688
|
46 void InitGrayPalette();
|
|
47 void _443219();
|
|
48 void _443225();
|
|
49 void _443231();
|
|
50 void _44323D();
|
693
|
51 void CenterOnParty();
|
|
52 void AdjustPosition();
|
692
|
53 void _443365();
|
0
|
54
|
|
55
|
|
56
|
|
57 int uSomeX;
|
|
58 int uSomeY;
|
|
59 int uSomeZ;
|
|
60 int uSomeW;
|
692
|
61 unsigned int uScreen_topL_X;
|
|
62 unsigned int uScreen_topL_Y;
|
|
63 unsigned int uScreen_BttmR_X;
|
|
64 unsigned int uScreen_BttmR_Y;
|
0
|
65 int field_20;
|
|
66 unsigned int uMinimapZoom;
|
|
67 int field_28;
|
|
68 int field_2C;
|
693
|
69 int sViewCenterX;
|
|
70 int sViewCenterY;
|
711
|
71 __int16 indoor_center_x;
|
|
72 __int16 indoor_center_y;
|
0
|
73 int field_3C;
|
|
74 unsigned int uTextureID_LocationMap;
|
|
75 int bRedrawGameUI;
|
|
76 int field_48;
|
|
77 int field_4C;
|
186
|
78 int draw_sw_outlines;
|
|
79 int draw_d3d_outlines;
|
0
|
80 int field_58;
|
|
81 int field_5C;
|
|
82 int field_60;
|
|
83 int field_64;
|
|
84 int field_68;
|
|
85 unsigned __int16 pPalette[256];
|
|
86 };
|
|
87 #pragma pack(pop)
|
|
88
|
|
89
|
|
90
|
|
91 extern struct ViewingParams *viewparams; |