annotate Overlays.h @ 395:6c3f8694005f

m
author Ritor1
date Fri, 22 Feb 2013 21:47:42 +0600
parents 8b8fd4d83fdc
children f451efdb7c8b
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 /* 282 */
Ritor1
parents:
diff changeset
5 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
6 struct OtherOverlay
Ritor1
parents:
diff changeset
7 {
Ritor1
parents:
diff changeset
8 OtherOverlay();
Ritor1
parents:
diff changeset
9 void Reset();
Ritor1
parents:
diff changeset
10
Ritor1
parents:
diff changeset
11 __int16 field_0;
Ritor1
parents:
diff changeset
12 __int16 field_2;
Ritor1
parents:
diff changeset
13 __int16 field_4;
Ritor1
parents:
diff changeset
14 __int16 field_6;
Ritor1
parents:
diff changeset
15 __int16 field_8;
Ritor1
parents:
diff changeset
16 __int16 field_A;
Ritor1
parents:
diff changeset
17 __int16 field_C;
Ritor1
parents:
diff changeset
18 __int16 field_E;
Ritor1
parents:
diff changeset
19 int field_10;
Ritor1
parents:
diff changeset
20 };
Ritor1
parents:
diff changeset
21 #pragma pack(pop)
Ritor1
parents:
diff changeset
22
Ritor1
parents:
diff changeset
23 /* 63 */
Ritor1
parents:
diff changeset
24 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
25 struct OtherOverlayList
Ritor1
parents:
diff changeset
26 {
Ritor1
parents:
diff changeset
27 inline OtherOverlayList(): //----- (0045848D)
142
8b8fd4d83fdc Various things here and there
Nomad
parents: 0
diff changeset
28 field_3E8(0), bRedraw(false)
0
Ritor1
parents:
diff changeset
29 {}
Ritor1
parents:
diff changeset
30
Ritor1
parents:
diff changeset
31 int _4418B1(int a2, int a3, int a4, int a5);
Ritor1
parents:
diff changeset
32 int _4418B6(int uOverlayID, __int16 a3, int a4, int a5, __int16 a6);
Ritor1
parents:
diff changeset
33 unsigned int _441964(int a2);
Ritor1
parents:
diff changeset
34
Ritor1
parents:
diff changeset
35 OtherOverlay pOverlays[50];
Ritor1
parents:
diff changeset
36 int field_3E8;
142
8b8fd4d83fdc Various things here and there
Nomad
parents: 0
diff changeset
37 int bRedraw;
0
Ritor1
parents:
diff changeset
38 };
Ritor1
parents:
diff changeset
39 #pragma pack(pop)
Ritor1
parents:
diff changeset
40
Ritor1
parents:
diff changeset
41
Ritor1
parents:
diff changeset
42
Ritor1
parents:
diff changeset
43
Ritor1
parents:
diff changeset
44 /* 52 */
Ritor1
parents:
diff changeset
45 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
46 struct OverlayDesc
Ritor1
parents:
diff changeset
47 {
Ritor1
parents:
diff changeset
48 unsigned __int16 uOverlayID;
Ritor1
parents:
diff changeset
49 unsigned __int16 uOverlayType;
Ritor1
parents:
diff changeset
50 unsigned __int16 uSpriteFramesetID;
Ritor1
parents:
diff changeset
51 __int16 field_6;
Ritor1
parents:
diff changeset
52 };
Ritor1
parents:
diff changeset
53 #pragma pack(pop)
Ritor1
parents:
diff changeset
54
Ritor1
parents:
diff changeset
55
Ritor1
parents:
diff changeset
56
Ritor1
parents:
diff changeset
57 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
58 struct OverlayList
Ritor1
parents:
diff changeset
59 {
Ritor1
parents:
diff changeset
60 inline OverlayList(): //----- (00458474)
Ritor1
parents:
diff changeset
61 uNumOverlays(0), pOverlays(nullptr)
Ritor1
parents:
diff changeset
62 {}
Ritor1
parents:
diff changeset
63
Ritor1
parents:
diff changeset
64 void ToFile();
Ritor1
parents:
diff changeset
65 void FromFile(void *pSerialized);
Ritor1
parents:
diff changeset
66 bool FromFileTxt(const char *Args);
Ritor1
parents:
diff changeset
67 void InitializeSprites();
Ritor1
parents:
diff changeset
68
Ritor1
parents:
diff changeset
69
Ritor1
parents:
diff changeset
70 unsigned int uNumOverlays;
Ritor1
parents:
diff changeset
71 struct OverlayDesc *pOverlays;
Ritor1
parents:
diff changeset
72 };
Ritor1
parents:
diff changeset
73 #pragma pack(pop)
Ritor1
parents:
diff changeset
74
Ritor1
parents:
diff changeset
75
Ritor1
parents:
diff changeset
76
Ritor1
parents:
diff changeset
77
Ritor1
parents:
diff changeset
78 extern struct OtherOverlayList *pOtherOverlayList; // idb
Ritor1
parents:
diff changeset
79 extern struct OverlayList *pOverlayList;