summaryrefslogtreecommitdiff
path: root/include/Message
diff options
context:
space:
mode:
authorAetias <144526980+AetiasHax@users.noreply.github.com>2026-05-04 22:07:42 +0200
committerGitHub <noreply@github.com>2026-05-04 22:07:42 +0200
commitb44496319d3027a625fcf876cf22e467720355df (patch)
tree4eff75d3a7855824487f1e87c99394640fb3387d /include/Message
parentfe6681a298f089c5bbbee077ad9c06dc801df476 (diff)
ActorShopItem 98% (#151)
* ActorShopItem 93% * Fix build * Add missing symbols to usa * Document BMG message ID functions * Create bmg.py for inspecting BMG files * ActorShopItem 98% * Match func_ov031_0217dfec * Port reloc changes to usa * Make `ModelRender::GetLcdcAddress` non-const
Diffstat (limited to 'include/Message')
-rw-r--r--include/Message/BMG.hpp2
-rw-r--r--include/Message/MsgProc.hpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/Message/BMG.hpp b/include/Message/BMG.hpp
index ac0c183f..6ef203e3 100644
--- a/include/Message/BMG.hpp
+++ b/include/Message/BMG.hpp
@@ -10,6 +10,8 @@
#define BMG_GET_MSG_ADDR(pGroups, flags) \
((u32) (pGroups)->entries[(flags) >> 0x10].pDAT1 + (BMG_GET_MSG_OFFSET((pGroups), (flags)) & ~1))
+#define BMG_ID(file, entry) (((file) << 0x10) | (entry))
+
enum BMGTag {
/* "INF1" */ BMG_TAG_INF1 = '1FNI',
/* "FLW1" */ BMG_TAG_FLW1 = '1WLF',
diff --git a/include/Message/MsgProc.hpp b/include/Message/MsgProc.hpp
index 0615dee8..dc10f91f 100644
--- a/include/Message/MsgProc.hpp
+++ b/include/Message/MsgProc.hpp
@@ -125,7 +125,7 @@ public:
unk32 func_ov000_0207bc48();
void func_ov000_0207bc9c();
};
-extern UnkClass_027e0e28 *data_027e0e28;
+extern UnkClass_027e0e28 data_027e0e28;
extern unk32 *data_ov009_0211f5b4;
extern "C" unk32 func_ov003_020f3f94(unk32 *);
extern "C" void func_ov003_020f4060(unk32 **);