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
+14 -3
View File
@@ -1,5 +1,6 @@
#pragma once
#include "System/SysNew.hpp"
#include "global.h"
#include "types.h"
@@ -7,13 +8,14 @@ struct FileEntry_Unk8 {
/* 00 */ unk8 mUnk_00[0x8];
/* 08 */ u16 mUnk_08;
/* 0a */ u16 mUnk_0a;
/* 0c */ // more fields, probably
/* 0c */ u16 mUnk_0c;
/* 10 */ // more fields, probably
};
class FileEntry {
class FileEntry : public SysObject {
public:
/* 00 (vtable) */
/* 04 */ char *path;
/* 04 */ const char *path;
/* 08 */ FileEntry_Unk8 *mUnk_08;
/* 0c */ unk32 mUnk_0c;
/* 10 */
@@ -23,6 +25,11 @@ public:
/* 0c */ virtual void vfunc_0c() = 0;
/* 10 */ virtual u32 vfunc_10(u32 param1) = 0;
/* 14 */
FileEntry(const char *path) :
path(path),
mUnk_08(NULL),
mUnk_0c(0) {}
};
class FileEntryFlag : public FileEntry {
@@ -36,4 +43,8 @@ public:
/* 0c */ virtual void vfunc_0c() override;
/* 10 */ virtual u32 vfunc_10(u32 param1) override;
/* 14 */
FileEntryFlag(const char *path) :
FileEntry(path),
mUnk_10(0) {}
};