annotate Viewport.h @ 116:dcf80a0a9977

10.02.13
author Ritor1
date Sun, 10 Feb 2013 18:45:41 +0600
parents 9c0607679772
children d65528fc3bda
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 {
Ritor1
parents:
diff changeset
46 int _443291();
Ritor1
parents:
diff changeset
47 unsigned int _443343();
Ritor1
parents:
diff changeset
48 int _443219();
Ritor1
parents:
diff changeset
49 int _443225();
Ritor1
parents:
diff changeset
50 int _443231();
Ritor1
parents:
diff changeset
51 int _44323D();
Ritor1
parents:
diff changeset
52 int _443249();
Ritor1
parents:
diff changeset
53 int _4432E7();
Ritor1
parents:
diff changeset
54 int _443365();
Ritor1
parents:
diff changeset
55
Ritor1
parents:
diff changeset
56
Ritor1
parents:
diff changeset
57
Ritor1
parents:
diff changeset
58 int uSomeX;
Ritor1
parents:
diff changeset
59 int uSomeY;
Ritor1
parents:
diff changeset
60 int uSomeZ;
Ritor1
parents:
diff changeset
61 int uSomeW;
Ritor1
parents:
diff changeset
62 unsigned int uScreenX;
Ritor1
parents:
diff changeset
63 unsigned int uScreenY;
Ritor1
parents:
diff changeset
64 unsigned int uScreenZ;
Ritor1
parents:
diff changeset
65 unsigned int uScreenW;
Ritor1
parents:
diff changeset
66 int field_20;
Ritor1
parents:
diff changeset
67 unsigned int uMinimapZoom;
Ritor1
parents:
diff changeset
68 int field_28;
Ritor1
parents:
diff changeset
69 int field_2C;
Ritor1
parents:
diff changeset
70 int sPartyPosX;
Ritor1
parents:
diff changeset
71 int sPartyPosZ;
Ritor1
parents:
diff changeset
72 __int16 field_38;
Ritor1
parents:
diff changeset
73 __int16 field_3A;
Ritor1
parents:
diff changeset
74 int field_3C;
Ritor1
parents:
diff changeset
75 unsigned int uTextureID_LocationMap;
Ritor1
parents:
diff changeset
76 int bRedrawGameUI;
Ritor1
parents:
diff changeset
77 int field_48;
Ritor1
parents:
diff changeset
78 int field_4C;
Ritor1
parents:
diff changeset
79 int field_50_draw_debug_outlines;
Ritor1
parents:
diff changeset
80 int field_54;
Ritor1
parents:
diff changeset
81 int field_58;
Ritor1
parents:
diff changeset
82 int field_5C;
Ritor1
parents:
diff changeset
83 int field_60;
Ritor1
parents:
diff changeset
84 int field_64;
Ritor1
parents:
diff changeset
85 int field_68;
Ritor1
parents:
diff changeset
86 unsigned __int16 pPalette[256];
Ritor1
parents:
diff changeset
87 };
Ritor1
parents:
diff changeset
88 #pragma pack(pop)
Ritor1
parents:
diff changeset
89
Ritor1
parents:
diff changeset
90
Ritor1
parents:
diff changeset
91
Ritor1
parents:
diff changeset
92 extern struct ViewingParams *viewparams;