annotate Overlays.h @ 1703:ffef0fe0b59d

m
author Ritor1
date Mon, 23 Sep 2013 09:33:13 +0600
parents 7ef4b64f6329
children
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
783
b27dd658ea77 Taveling by foot fixed.
Nomad
parents: 569
diff changeset
31 void Reset();
0
Ritor1
parents:
diff changeset
32 int _4418B1(int a2, int a3, int a4, int a5);
Ritor1
parents:
diff changeset
33 int _4418B6(int uOverlayID, __int16 a3, int a4, int a5, __int16 a6);
569
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 142
diff changeset
34 void DrawTurnBasedIcon(int a2);
0
Ritor1
parents:
diff changeset
35
Ritor1
parents:
diff changeset
36 OtherOverlay pOverlays[50];
Ritor1
parents:
diff changeset
37 int field_3E8;
142
8b8fd4d83fdc Various things here and there
Nomad
parents: 0
diff changeset
38 int bRedraw;
0
Ritor1
parents:
diff changeset
39 };
Ritor1
parents:
diff changeset
40 #pragma pack(pop)
Ritor1
parents:
diff changeset
41
Ritor1
parents:
diff changeset
42
Ritor1
parents:
diff changeset
43
Ritor1
parents:
diff changeset
44
Ritor1
parents:
diff changeset
45 /* 52 */
Ritor1
parents:
diff changeset
46 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
47 struct OverlayDesc
Ritor1
parents:
diff changeset
48 {
Ritor1
parents:
diff changeset
49 unsigned __int16 uOverlayID;
Ritor1
parents:
diff changeset
50 unsigned __int16 uOverlayType;
Ritor1
parents:
diff changeset
51 unsigned __int16 uSpriteFramesetID;
Ritor1
parents:
diff changeset
52 __int16 field_6;
Ritor1
parents:
diff changeset
53 };
Ritor1
parents:
diff changeset
54 #pragma pack(pop)
Ritor1
parents:
diff changeset
55
Ritor1
parents:
diff changeset
56
Ritor1
parents:
diff changeset
57
Ritor1
parents:
diff changeset
58 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
59 struct OverlayList
Ritor1
parents:
diff changeset
60 {
Ritor1
parents:
diff changeset
61 inline OverlayList(): //----- (00458474)
Ritor1
parents:
diff changeset
62 uNumOverlays(0), pOverlays(nullptr)
Ritor1
parents:
diff changeset
63 {}
Ritor1
parents:
diff changeset
64
Ritor1
parents:
diff changeset
65 void ToFile();
1477
7ef4b64f6329 * LODFile::LoadBitmaps & LODFile::LoadIconsOrEvents are merged into LODFile::Load
Nomad
parents: 783
diff changeset
66 void FromFile(void *data_mm6, void *data_mm7, void *data_mm8);
0
Ritor1
parents:
diff changeset
67 bool FromFileTxt(const char *Args);
Ritor1
parents:
diff changeset
68 void InitializeSprites();
Ritor1
parents:
diff changeset
69
Ritor1
parents:
diff changeset
70
Ritor1
parents:
diff changeset
71 unsigned int uNumOverlays;
Ritor1
parents:
diff changeset
72 struct OverlayDesc *pOverlays;
Ritor1
parents:
diff changeset
73 };
Ritor1
parents:
diff changeset
74 #pragma pack(pop)
Ritor1
parents:
diff changeset
75
Ritor1
parents:
diff changeset
76
Ritor1
parents:
diff changeset
77
Ritor1
parents:
diff changeset
78
Ritor1
parents:
diff changeset
79 extern struct OtherOverlayList *pOtherOverlayList; // idb
Ritor1
parents:
diff changeset
80 extern struct OverlayList *pOverlayList;