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 --- libs/nds/include/nds/g3d/g3d.h | 4 ++-- libs/nds/include/nds/g3d/sbc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libs') diff --git a/libs/nds/include/nds/g3d/g3d.h b/libs/nds/include/nds/g3d/g3d.h index 36faa173..03f2a1e2 100644 --- a/libs/nds/include/nds/g3d/g3d.h +++ b/libs/nds/include/nds/g3d/g3d.h @@ -34,7 +34,7 @@ typedef struct G3d_BoneMtxStruct { /* 64 */ } G3d_BoneMtxStruct; -typedef enum { +typedef enum G3d_AnimationBinds { G3D_ANIMBIND_UNK = 0xff, G3D_ANIMBIND_EXISTS = 0x100, G3D_ANIMBIND_OFF = 0x200 @@ -89,7 +89,7 @@ static inline G3d_NameList *G3d_GetMesh(const G3d_Model *mdl) { return (G3d_NameList *) ((u8 *) mdl + mdl->offMesh); } -typedef enum { +typedef enum G3d_RenderObjFlag { G3D_RENDEROBJ_FLAG_STORE = 0x1, // stores results in local cache G3D_RENDEROBJ_FLAG_SKIP_CMD = 0x2, // skips pushing geometry commands to the FIFO G3D_RENDEROBJ_FLAG_SKIP_SBC_DRAW = 0x4, // skips the execution of rendering commands diff --git a/libs/nds/include/nds/g3d/sbc.h b/libs/nds/include/nds/g3d/sbc.h index 2ac3ec3b..88dcc25d 100644 --- a/libs/nds/include/nds/g3d/sbc.h +++ b/libs/nds/include/nds/g3d/sbc.h @@ -3,7 +3,7 @@ extern void PushGeometryCommand(u32 command, void *data, s32 length); -typedef enum { +typedef enum G3d_SBC_Commands { G3D_SBC_CMD_NOP = 0x0, G3D_SBC_CMD_END = 0x1, G3D_SBC_CMD_VIS = 0x2, @@ -16,7 +16,7 @@ typedef enum { G3D_SBC_CMD_00D = 0xd } G3d_SBC_Commands; -typedef enum { +typedef enum G3d_RenderStateFlag { G3D_RENDERST_FLAG_BONE_VISIBLE = 0x1, G3D_RENDERST_FLAG_MAT_TRANSPARENT = 0x2, G3D_RENDERST_FLAG_VALID_NODE = 0x4, -- cgit v1.2.3