annotate Viewport.h @ 1928:4fa815c2112d

DamageMonsterFromParty removed LABEL_67
author Grumpy7
date Tue, 22 Oct 2013 23:18:41 -0700
parents 5f2583a4fa7d
children 92511cd8fcdb
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
Ritor1
parents:
diff changeset
3 /* 149 */
Ritor1
parents:
diff changeset
4 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
5 struct Viewport
Ritor1
parents:
diff changeset
6 {
692
066e2b29b30f viewport.cpp added
Gloval
parents: 688
diff changeset
7 void SetScreen(signed int uX, signed int uY, signed int uZ, signed int uW);
0
Ritor1
parents:
diff changeset
8 void _4C02F8(int a2);
692
066e2b29b30f viewport.cpp added
Gloval
parents: 688
diff changeset
9 void SetViewport(signed int uX, signed int uY, signed int uZ, signed int uW);
0
Ritor1
parents:
diff changeset
10
Ritor1
parents:
diff changeset
11
692
066e2b29b30f viewport.cpp added
Gloval
parents: 688
diff changeset
12 signed int uScreen_TL_X;
066e2b29b30f viewport.cpp added
Gloval
parents: 688
diff changeset
13 signed int uScreen_TL_Y;
066e2b29b30f viewport.cpp added
Gloval
parents: 688
diff changeset
14 signed int uScreen_BR_X;
066e2b29b30f viewport.cpp added
Gloval
parents: 688
diff changeset
15 signed int uScreen_BR_Y;
693
e0a1fccc89b1 map render fixes
Gloval
parents: 692
diff changeset
16 signed int uViewportTL_X;
e0a1fccc89b1 map render fixes
Gloval
parents: 692
diff changeset
17 signed int uViewportTL_Y;
e0a1fccc89b1 map render fixes
Gloval
parents: 692
diff changeset
18 signed int uViewportBR_X;
e0a1fccc89b1 map render fixes
Gloval
parents: 692
diff changeset
19 signed int uViewportBR_Y;
0
Ritor1
parents:
diff changeset
20 int uScreenWidth;
Ritor1
parents:
diff changeset
21 int uScreenHeight;
Ritor1
parents:
diff changeset
22 int uScreenCenterX;
Ritor1
parents:
diff changeset
23 int uScreenCenterY;
Ritor1
parents:
diff changeset
24 int field_30;
Ritor1
parents:
diff changeset
25 };
Ritor1
parents:
diff changeset
26 #pragma pack(pop)
Ritor1
parents:
diff changeset
27
Ritor1
parents:
diff changeset
28
Ritor1
parents:
diff changeset
29
Ritor1
parents:
diff changeset
30 extern struct Viewport *pViewport;
Ritor1
parents:
diff changeset
31
Ritor1
parents:
diff changeset
32
Ritor1
parents:
diff changeset
33
Ritor1
parents:
diff changeset
34 /* 201 */
Ritor1
parents:
diff changeset
35 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
36 struct ViewingParams
Ritor1
parents:
diff changeset
37 {
186
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
38 inline ViewingParams()
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
39 {
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
40 draw_sw_outlines = false;
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
41 draw_d3d_outlines = false;
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 711
diff changeset
42 field_4C = 0;
186
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
43 }
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
44
693
e0a1fccc89b1 map render fixes
Gloval
parents: 692
diff changeset
45 void CenterOnParty2();
688
c0bfb386b15f some ui cleanup
Gloval
parents: 186
diff changeset
46 void InitGrayPalette();
c0bfb386b15f some ui cleanup
Gloval
parents: 186
diff changeset
47 void _443219();
c0bfb386b15f some ui cleanup
Gloval
parents: 186
diff changeset
48 void _443225();
c0bfb386b15f some ui cleanup
Gloval
parents: 186
diff changeset
49 void _443231();
c0bfb386b15f some ui cleanup
Gloval
parents: 186
diff changeset
50 void _44323D();
693
e0a1fccc89b1 map render fixes
Gloval
parents: 692
diff changeset
51 void CenterOnParty();
e0a1fccc89b1 map render fixes
Gloval
parents: 692
diff changeset
52 void AdjustPosition();
692
066e2b29b30f viewport.cpp added
Gloval
parents: 688
diff changeset
53 void _443365();
0
Ritor1
parents:
diff changeset
54
Ritor1
parents:
diff changeset
55
Ritor1
parents:
diff changeset
56
Ritor1
parents:
diff changeset
57 int uSomeX;
Ritor1
parents:
diff changeset
58 int uSomeY;
Ritor1
parents:
diff changeset
59 int uSomeZ;
Ritor1
parents:
diff changeset
60 int uSomeW;
692
066e2b29b30f viewport.cpp added
Gloval
parents: 688
diff changeset
61 unsigned int uScreen_topL_X;
066e2b29b30f viewport.cpp added
Gloval
parents: 688
diff changeset
62 unsigned int uScreen_topL_Y;
066e2b29b30f viewport.cpp added
Gloval
parents: 688
diff changeset
63 unsigned int uScreen_BttmR_X;
066e2b29b30f viewport.cpp added
Gloval
parents: 688
diff changeset
64 unsigned int uScreen_BttmR_Y;
0
Ritor1
parents:
diff changeset
65 int field_20;
Ritor1
parents:
diff changeset
66 unsigned int uMinimapZoom;
Ritor1
parents:
diff changeset
67 int field_28;
1720
Ritor1
parents: 832
diff changeset
68 unsigned int uMapBookMapZoom;
693
e0a1fccc89b1 map render fixes
Gloval
parents: 692
diff changeset
69 int sViewCenterX;
e0a1fccc89b1 map render fixes
Gloval
parents: 692
diff changeset
70 int sViewCenterY;
711
a5e587c8e30e some cleaning
Gloval
parents: 693
diff changeset
71 __int16 indoor_center_x;
a5e587c8e30e some cleaning
Gloval
parents: 693
diff changeset
72 __int16 indoor_center_y;
0
Ritor1
parents:
diff changeset
73 int field_3C;
Ritor1
parents:
diff changeset
74 unsigned int uTextureID_LocationMap;
Ritor1
parents:
diff changeset
75 int bRedrawGameUI;
Ritor1
parents:
diff changeset
76 int field_48;
Ritor1
parents:
diff changeset
77 int field_4C;
186
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
78 int draw_sw_outlines;
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
79 int draw_d3d_outlines;
0
Ritor1
parents:
diff changeset
80 int field_58;
Ritor1
parents:
diff changeset
81 int field_5C;
Ritor1
parents:
diff changeset
82 int field_60;
Ritor1
parents:
diff changeset
83 int field_64;
Ritor1
parents:
diff changeset
84 int field_68;
Ritor1
parents:
diff changeset
85 unsigned __int16 pPalette[256];
Ritor1
parents:
diff changeset
86 };
Ritor1
parents:
diff changeset
87 #pragma pack(pop)
Ritor1
parents:
diff changeset
88
Ritor1
parents:
diff changeset
89
Ritor1
parents:
diff changeset
90
Ritor1
parents:
diff changeset
91 extern struct ViewingParams *viewparams;