annotate Viewport.h @ 207:8e3fea954768

10.01.13(MainMenu)
author Ritor1
date Thu, 10 Jan 2013 18:03:33 +0600
parents 8b8875f5b359
children
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3 /* 149 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 struct Viewport
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 void SetScreen(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 void _4C02F8(int a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 void SetViewport(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 unsigned int uScreenX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 unsigned int uScreenY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 unsigned int uScreenZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 unsigned int uScreenW;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 unsigned int uViewportX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 unsigned int uViewportY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 unsigned int uViewportZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 unsigned int uViewportW;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 int uScreenWidth;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 int uScreenHeight;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 int uScreenCenterX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 int uScreenCenterY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 extern struct Viewport *pViewport;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 /* 201 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 struct ViewingParams
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 int _443291();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47 unsigned int _443343();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48 int _443219();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49 int _443225();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
50 int _443231();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 int _44323D();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 int _443249();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
53 int _4432E7();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54 int _443365();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58 int uSomeX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 int uSomeY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 int uSomeZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 int uSomeW;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62 unsigned int uScreenX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63 unsigned int uScreenY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64 unsigned int uScreenZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65 unsigned int uScreenW;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
66 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67 unsigned int uMinimapZoom;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70 int sPartyPosX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
71 int sPartyPosZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
72 __int16 field_38;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73 __int16 field_3A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74 int field_3C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
75 unsigned int uTextureID_LocationMap;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
76 int bRedrawGameUI;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
77 int field_48;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
78 int field_4C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
79 int field_50_draw_debug_outlines;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
80 int field_54;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
81 int field_58;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
82 int field_5C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
83 int field_60;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
84 int field_64;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
85 int field_68;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
86 unsigned __int16 pPalette[256];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
87 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
90
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
91
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
92 extern struct ViewingParams *viewparams;