annotate Viewport.h @ 212:9f349addbe00

Слияние
author Ritor1
date Sat, 16 Feb 2013 22:14:04 +0600
parents d65528fc3bda
children c0bfb386b15f
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 {
Ritor1
parents:
diff changeset
7 void SetScreen(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW);
Ritor1
parents:
diff changeset
8 void _4C02F8(int a2);
Ritor1
parents:
diff changeset
9 void SetViewport(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW);
Ritor1
parents:
diff changeset
10
Ritor1
parents:
diff changeset
11
Ritor1
parents:
diff changeset
12 unsigned int uScreenX;
Ritor1
parents:
diff changeset
13 unsigned int uScreenY;
Ritor1
parents:
diff changeset
14 unsigned int uScreenZ;
Ritor1
parents:
diff changeset
15 unsigned int uScreenW;
Ritor1
parents:
diff changeset
16 unsigned int uViewportX;
Ritor1
parents:
diff changeset
17 unsigned int uViewportY;
Ritor1
parents:
diff changeset
18 unsigned int uViewportZ;
Ritor1
parents:
diff changeset
19 unsigned int uViewportW;
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
Ritor1
parents:
diff changeset
35
Ritor1
parents:
diff changeset
36
Ritor1
parents:
diff changeset
37
Ritor1
parents:
diff changeset
38
Ritor1
parents:
diff changeset
39
Ritor1
parents:
diff changeset
40
Ritor1
parents:
diff changeset
41
Ritor1
parents:
diff changeset
42 /* 201 */
Ritor1
parents:
diff changeset
43 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
44 struct ViewingParams
Ritor1
parents:
diff changeset
45 {
186
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
46 inline ViewingParams()
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
47 {
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
48 draw_sw_outlines = false;
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
49 draw_d3d_outlines = false;
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
50 }
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
51
0
Ritor1
parents:
diff changeset
52 int _443291();
Ritor1
parents:
diff changeset
53 unsigned int _443343();
Ritor1
parents:
diff changeset
54 int _443219();
Ritor1
parents:
diff changeset
55 int _443225();
Ritor1
parents:
diff changeset
56 int _443231();
Ritor1
parents:
diff changeset
57 int _44323D();
Ritor1
parents:
diff changeset
58 int _443249();
Ritor1
parents:
diff changeset
59 int _4432E7();
Ritor1
parents:
diff changeset
60 int _443365();
Ritor1
parents:
diff changeset
61
Ritor1
parents:
diff changeset
62
Ritor1
parents:
diff changeset
63
Ritor1
parents:
diff changeset
64 int uSomeX;
Ritor1
parents:
diff changeset
65 int uSomeY;
Ritor1
parents:
diff changeset
66 int uSomeZ;
Ritor1
parents:
diff changeset
67 int uSomeW;
Ritor1
parents:
diff changeset
68 unsigned int uScreenX;
Ritor1
parents:
diff changeset
69 unsigned int uScreenY;
Ritor1
parents:
diff changeset
70 unsigned int uScreenZ;
Ritor1
parents:
diff changeset
71 unsigned int uScreenW;
Ritor1
parents:
diff changeset
72 int field_20;
Ritor1
parents:
diff changeset
73 unsigned int uMinimapZoom;
Ritor1
parents:
diff changeset
74 int field_28;
Ritor1
parents:
diff changeset
75 int field_2C;
Ritor1
parents:
diff changeset
76 int sPartyPosX;
Ritor1
parents:
diff changeset
77 int sPartyPosZ;
Ritor1
parents:
diff changeset
78 __int16 field_38;
Ritor1
parents:
diff changeset
79 __int16 field_3A;
Ritor1
parents:
diff changeset
80 int field_3C;
Ritor1
parents:
diff changeset
81 unsigned int uTextureID_LocationMap;
Ritor1
parents:
diff changeset
82 int bRedrawGameUI;
Ritor1
parents:
diff changeset
83 int field_48;
Ritor1
parents:
diff changeset
84 int field_4C;
186
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
85 int draw_sw_outlines;
d65528fc3bda D3D constants, shore tiles, camera flags
Nomad
parents: 0
diff changeset
86 int draw_d3d_outlines;
0
Ritor1
parents:
diff changeset
87 int field_58;
Ritor1
parents:
diff changeset
88 int field_5C;
Ritor1
parents:
diff changeset
89 int field_60;
Ritor1
parents:
diff changeset
90 int field_64;
Ritor1
parents:
diff changeset
91 int field_68;
Ritor1
parents:
diff changeset
92 unsigned __int16 pPalette[256];
Ritor1
parents:
diff changeset
93 };
Ritor1
parents:
diff changeset
94 #pragma pack(pop)
Ritor1
parents:
diff changeset
95
Ritor1
parents:
diff changeset
96
Ritor1
parents:
diff changeset
97
Ritor1
parents:
diff changeset
98 extern struct ViewingParams *viewparams;