0
|
1 #pragma once
|
|
2
|
|
3 /* 149 */
|
|
4 #pragma pack(push, 1)
|
|
5 struct Viewport
|
|
6 {
|
2151
|
7 inline Viewport()
|
|
8 {
|
|
9 field_of_view = 65536 / 2;
|
|
10 SetScreen(0, 0, 639, 479);
|
|
11 }
|
|
12
|
692
|
13 void SetScreen(signed int uX, signed int uY, signed int uZ, signed int uW);
|
2151
|
14 void SetFOV(int a2);
|
692
|
15 void SetViewport(signed int uX, signed int uY, signed int uZ, signed int uW);
|
0
|
16
|
|
17
|
692
|
18 signed int uScreen_TL_X;
|
|
19 signed int uScreen_TL_Y;
|
|
20 signed int uScreen_BR_X;
|
|
21 signed int uScreen_BR_Y;
|
693
|
22 signed int uViewportTL_X;
|
|
23 signed int uViewportTL_Y;
|
|
24 signed int uViewportBR_X;
|
|
25 signed int uViewportBR_Y;
|
0
|
26 int uScreenWidth;
|
|
27 int uScreenHeight;
|
|
28 int uScreenCenterX;
|
|
29 int uScreenCenterY;
|
2151
|
30 int field_of_view;
|
0
|
31 };
|
|
32 #pragma pack(pop)
|
|
33
|
2343
|
34 void OnGameViewportClick();
|
0
|
35
|
|
36
|
|
37 extern struct Viewport *pViewport;
|
|
38
|
|
39
|
|
40
|
|
41 /* 201 */
|
|
42 #pragma pack(push, 1)
|
|
43 struct ViewingParams
|
|
44 {
|
186
|
45 inline ViewingParams()
|
|
46 {
|
|
47 draw_sw_outlines = false;
|
|
48 draw_d3d_outlines = false;
|
832
|
49 field_4C = 0;
|
186
|
50 }
|
|
51
|
693
|
52 void CenterOnParty2();
|
688
|
53 void InitGrayPalette();
|
|
54 void _443219();
|
|
55 void _443225();
|
|
56 void _443231();
|
|
57 void _44323D();
|
693
|
58 void CenterOnParty();
|
|
59 void AdjustPosition();
|
692
|
60 void _443365();
|
0
|
61
|
|
62
|
|
63
|
|
64 int uSomeX;
|
|
65 int uSomeY;
|
|
66 int uSomeZ;
|
|
67 int uSomeW;
|
692
|
68 unsigned int uScreen_topL_X;
|
|
69 unsigned int uScreen_topL_Y;
|
|
70 unsigned int uScreen_BttmR_X;
|
|
71 unsigned int uScreen_BttmR_Y;
|
0
|
72 int field_20;
|
|
73 unsigned int uMinimapZoom;
|
|
74 int field_28;
|
1720
|
75 unsigned int uMapBookMapZoom;
|
693
|
76 int sViewCenterX;
|
|
77 int sViewCenterY;
|
711
|
78 __int16 indoor_center_x;
|
|
79 __int16 indoor_center_y;
|
0
|
80 int field_3C;
|
|
81 unsigned int uTextureID_LocationMap;
|
|
82 int bRedrawGameUI;
|
|
83 int field_48;
|
|
84 int field_4C;
|
186
|
85 int draw_sw_outlines;
|
|
86 int draw_d3d_outlines;
|
0
|
87 int field_58;
|
|
88 int field_5C;
|
|
89 int field_60;
|
|
90 int field_64;
|
|
91 int field_68;
|
|
92 unsigned __int16 pPalette[256];
|
|
93 };
|
|
94 #pragma pack(pop)
|
|
95
|
|
96
|
|
97
|
|
98 extern struct ViewingParams *viewparams; |