mirror of
https://github.com/zeldaret/st
synced 2026-05-23 15:01:41 -04:00
645ed65b76
* playrget progress and match treasuremanager remaining functions * some docs * fix build issues * random docs * match func_ov094_02172290 * random docs * actor cleanup * match freestanding item funcs * mType -> mpProfile * decompile random functions * docs and start of wip chest stuff * random docs * more random docs * match func_ov036_0211d0a8 * match func_ov036_0211d2dc & func_ov036_0211d570 * match func_ov110_02184a40 * random doc * document letter/stamps system * match func_ov001_020bb9f8 * fix build issues * decompile tres * start decomp chest base * fix regressions * name TRES * name UnkStruct_ov024_020d86b0 * name stamp types and update save struct stuff * name things and document BMG IDs
46 lines
1.4 KiB
C++
46 lines
1.4 KiB
C++
#pragma once
|
|
|
|
#include "MapObject/MapObject.hpp"
|
|
#include "Unknown/UnkStruct_ov000_020b34c4.hpp"
|
|
#include "types.h"
|
|
|
|
#include <nitro/math.h>
|
|
|
|
typedef void (*UnkCallback_func_01fff4cc)(void *, void *);
|
|
|
|
class MapObjectManager {
|
|
public:
|
|
/* 00 */ MapObject **mMapObjTable;
|
|
/* 04 */ MapObject **mMapObjTableEnd;
|
|
/* 08 */ MapObject **mUnk_08; // pointer to first available slot?
|
|
/* 0C */ s16 **mUnk_0C; // unknown table
|
|
/* 10 */ void **mUnk_10; // unknown table end
|
|
/* 14 */ void *mUnk_14;
|
|
/* 18 */ unk16 mUnk_18;
|
|
/* 1A */ unk16 mUnk_1A;
|
|
/* 1C */ unk16 mUnk_1C;
|
|
/* 1E */ unk16 mUnk_1E;
|
|
/* 20 */ unk16 mUnk_20;
|
|
/* 22 */ unk16 mUnk_22;
|
|
/* 24 */ STRUCT_PAD(0x24, 0x6C);
|
|
/* 6C */ void *mUnk_6C;
|
|
/* 70 */
|
|
|
|
MapObject *func_01fff498(Vec2b param1);
|
|
void func_01fff4cc(UnkCallback_func_01fff4cc param1, void *param2);
|
|
MapObject **func_01fff520(UnkStruct_ov000_020b34c4 *param1, MapObject **param2);
|
|
void func_01fff6d0(Vec3p *param1, s32 *param2, s32 *param3);
|
|
|
|
MapObjectId func_ov000_0209c3a8(Vec2b *param1);
|
|
void func_ov000_0209c3e8();
|
|
void func_ov000_0209c444();
|
|
|
|
void SetInstance(); // func_ov001_020baf4c
|
|
void ClearInstance(); // func_ov001_020baf58
|
|
|
|
static void func_ov000_0209c490();
|
|
static MapObjectManager *Create(); // func_ov001_020bac40
|
|
};
|
|
|
|
extern MapObjectManager *gpMapObjManager;
|