From b44496319d3027a625fcf876cf22e467720355df Mon Sep 17 00:00:00 2001 From: Aetias <144526980+AetiasHax@users.noreply.github.com> Date: Mon, 4 May 2026 22:07:42 +0200 Subject: 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 --- include/Message/BMG.hpp | 2 ++ include/Message/MsgProc.hpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include/Message') 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 **); -- cgit v1.2.3