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
This commit is contained in:
Aetias
2026-05-04 22:07:42 +02:00
committed by GitHub
parent fe6681a298
commit b44496319d
51 changed files with 2545 additions and 1055 deletions
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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,