comparison Engine/Graphics/Overlays.h @ 2496:5abd8fc8f1c6

for ITEM_ARTIFACT_LADYS_ESCORT
author Ritor1
date Thu, 18 Sep 2014 17:38:54 +0600
parents
children
comparison
equal deleted inserted replaced
2495:7b076fe64f23 2496:5abd8fc8f1c6
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)
28 field_3E8(0), bRedraw(false)
29 {}
30
31 void Reset();
32 int _4418B1(int a2, int a3, int a4, int a5);
33 int _4418B6(int uOverlayID, __int16 a3, int a4, int a5, __int16 a6);
34 void DrawTurnBasedIcon(int a2);
35
36 OtherOverlay pOverlays[50];
37 int field_3E8;
38 int bRedraw;
39 };
40 #pragma pack(pop)
41
42
43
44
45 /* 52 */
46 #pragma pack(push, 1)
47 struct OverlayDesc
48 {
49 unsigned __int16 uOverlayID;
50 unsigned __int16 uOverlayType;
51 unsigned __int16 uSpriteFramesetID;
52 __int16 field_6;
53 };
54 #pragma pack(pop)
55
56
57
58 #pragma pack(push, 1)
59 struct OverlayList
60 {
61 inline OverlayList(): //----- (00458474)
62 uNumOverlays(0), pOverlays(nullptr)
63 {}
64
65 void ToFile();
66 void FromFile(void *data_mm6, void *data_mm7, void *data_mm8);
67 bool FromFileTxt(const char *Args);
68 void InitializeSprites();
69
70
71 unsigned int uNumOverlays;
72 struct OverlayDesc *pOverlays;
73 };
74 #pragma pack(pop)
75
76
77
78
79 extern struct OtherOverlayList *pOtherOverlayList; // idb
80 extern struct OverlayList *pOverlayList;