mirror of
https://github.com/zeldaret/ph
synced 2026-05-23 15:01:37 -04:00
b44496319d
* 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
51 lines
1.2 KiB
C++
51 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include "System/SysNew.hpp"
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
struct FileEntry_Unk8 {
|
|
/* 00 */ unk8 mUnk_00[0x8];
|
|
/* 08 */ u16 mUnk_08;
|
|
/* 0a */ u16 mUnk_0a;
|
|
/* 0c */ u16 mUnk_0c;
|
|
/* 10 */ // more fields, probably
|
|
};
|
|
|
|
class FileEntry : public SysObject {
|
|
public:
|
|
/* 00 (vtable) */
|
|
/* 04 */ const char *path;
|
|
/* 08 */ FileEntry_Unk8 *mUnk_08;
|
|
/* 0c */ unk32 mUnk_0c;
|
|
/* 10 */
|
|
|
|
/* 00 */ virtual ~FileEntry() = 0;
|
|
/* 08 */ virtual FileEntry_Unk8 *vfunc_08(unk32 param1) = 0;
|
|
/* 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 {
|
|
public:
|
|
/* 00 (base) */
|
|
/* 10 */ unk8 mUnk_10;
|
|
/* 14 */
|
|
|
|
/* 00 */ virtual ~FileEntryFlag() override;
|
|
/* 08 */ virtual FileEntry_Unk8 *vfunc_08(unk32 param1) override;
|
|
/* 0c */ virtual void vfunc_0c() override;
|
|
/* 10 */ virtual u32 vfunc_10(u32 param1) override;
|
|
/* 14 */
|
|
|
|
FileEntryFlag(const char *path) :
|
|
FileEntry(path),
|
|
mUnk_10(0) {}
|
|
};
|