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