Mercurial > mm7
annotate Overlays.h @ 1537:fed56133bf8a
Player:GetSkillBonus cleanup, multiplier evaluation moved to a separate function, variable clanup, renaming, scope reduction
author | Grumpy7 |
---|---|
date | Sat, 07 Sep 2013 05:01:12 +0200 |
parents | 7ef4b64f6329 |
children |
rev | line source |
---|---|
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 | |
783 | 31 void Reset(); |
0 | 32 int _4418B1(int a2, int a3, int a4, int a5); |
33 int _4418B6(int uOverlayID, __int16 a3, int a4, int a5, __int16 a6); | |
569 | 34 void DrawTurnBasedIcon(int a2); |
0 | 35 |
36 OtherOverlay pOverlays[50]; | |
37 int field_3E8; | |
142 | 38 int bRedraw; |
0 | 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(); | |
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 | 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; |