annotate Overlays.h @ 56:1f161a887c69

Слияние
author Ritor1
date Thu, 25 Oct 2012 09:02:49 +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
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4 /* 282 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 struct OtherOverlay
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 OtherOverlay();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 void Reset();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 __int16 field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 __int16 field_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 __int16 field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 __int16 field_6;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 __int16 field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 __int16 field_A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 __int16 field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 __int16 field_E;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 /* 63 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 struct OtherOverlayList
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 inline OtherOverlayList(): //----- (0045848D)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 field_3E8(0), field_3EC(0)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 {}
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 int _4418B1(int a2, int a3, int a4, int a5);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 int _4418B6(int uOverlayID, __int16 a3, int a4, int a5, __int16 a6);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 unsigned int _441964(int a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 OtherOverlay pOverlays[50];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 int field_3E8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 int field_3EC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 /* 52 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 struct OverlayDesc
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48 unsigned __int16 uOverlayID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49 unsigned __int16 uOverlayType;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
50 unsigned __int16 uSpriteFramesetID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 __int16 field_6;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
53 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58 struct OverlayList
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 inline OverlayList(): //----- (00458474)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 uNumOverlays(0), pOverlays(nullptr)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62 {}
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64 void ToFile();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65 void FromFile(void *pSerialized);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
66 bool FromFileTxt(const char *Args);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67 void InitializeSprites();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70 unsigned int uNumOverlays;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
71 struct OverlayDesc *pOverlays;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
72 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
75
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
76
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
77
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
78 extern struct OtherOverlayList *pOtherOverlayList; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
79 extern struct OverlayList *pOverlayList;