2023-04-27 22:19:39 -04:00
|
|
|
#ifndef LEGOBUILDINGMANAGER_H
|
|
|
|
#define LEGOBUILDINGMANAGER_H
|
|
|
|
|
2024-02-10 20:52:16 -05:00
|
|
|
#include "decomp.h"
|
2024-02-28 15:03:27 -05:00
|
|
|
#include "misc/legostorage.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "mxcore.h"
|
|
|
|
|
2024-03-15 22:20:44 -04:00
|
|
|
class LegoEntity;
|
2024-03-06 14:12:20 -05:00
|
|
|
class LegoROI;
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d6f50
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x30
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoBuildingManager : public MxCore {
|
2023-04-27 22:19:39 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
LegoBuildingManager();
|
2024-02-01 15:42:10 -05:00
|
|
|
~LegoBuildingManager() override;
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxResult Tickle() override; // vtable+0x08
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1002f930
|
2024-02-01 15:42:10 -05:00
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f37d0
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoBuildingManager";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-01-24 21:16:29 -05:00
|
|
|
static void configureLegoBuildingManager(MxS32);
|
2024-02-21 15:30:02 -05:00
|
|
|
static void SetCustomizeAnimFile(const char* p_value);
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-02-28 15:03:27 -05:00
|
|
|
void Init();
|
2024-01-12 17:27:07 -05:00
|
|
|
void FUN_1002fa00();
|
2024-01-27 11:48:50 -05:00
|
|
|
void FUN_1002fb30();
|
2024-02-27 15:04:17 -05:00
|
|
|
MxResult Save(LegoStorage* p_storage);
|
|
|
|
MxResult Load(LegoStorage* p_storage);
|
2024-03-15 22:20:44 -04:00
|
|
|
MxBool FUN_1002fdb0(LegoEntity* p_entity);
|
2024-03-06 14:12:20 -05:00
|
|
|
MxU32 FUN_1002ff40(LegoROI*, MxBool);
|
2024-04-06 13:59:38 -04:00
|
|
|
void FUN_10030000(LegoEntity* p_entity);
|
2024-02-05 12:35:26 -05:00
|
|
|
void FUN_10030590();
|
2024-01-12 17:27:07 -05:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x1002f940
|
|
|
|
// LegoBuildingManager::`scalar deleting destructor'
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
private:
|
2024-02-21 15:30:02 -05:00
|
|
|
static char* g_customizeAnimFile;
|
|
|
|
|
2024-02-10 20:52:16 -05:00
|
|
|
undefined m_unk0x08[0x28]; // 0x08
|
2023-04-27 22:19:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGOBUILDINGMANAGER_H
|