isle-portable/LEGO1/lego/legoomni/include/legobuildingmanager.h
Christian Semmler c9db98c4c3
Fix writing/reading of game state (#834)
* Fix writing/reading of game state

* Match existing state serialization functions
2024-04-21 15:42:08 +02:00

49 lines
1.1 KiB
C++

#ifndef LEGOBUILDINGMANAGER_H
#define LEGOBUILDINGMANAGER_H
#include "decomp.h"
#include "misc/legostorage.h"
#include "mxcore.h"
class LegoEntity;
class LegoROI;
// VTABLE: LEGO1 0x100d6f50
// SIZE 0x30
class LegoBuildingManager : public MxCore {
public:
LegoBuildingManager();
~LegoBuildingManager() override;
MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x1002f930
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f37d0
return "LegoBuildingManager";
}
static void configureLegoBuildingManager(MxS32);
static void SetCustomizeAnimFile(const char* p_value);
void Init();
void FUN_1002fa00();
void FUN_1002fb30();
MxResult Write(LegoStorage* p_storage);
MxResult Read(LegoStorage* p_storage);
MxBool FUN_1002fdb0(LegoEntity* p_entity);
MxU32 FUN_1002ff40(LegoEntity*, MxBool);
void FUN_10030000(LegoEntity* p_entity);
void FUN_10030590();
// SYNTHETIC: LEGO1 0x1002f940
// LegoBuildingManager::`scalar deleting destructor'
private:
static char* g_customizeAnimFile;
undefined m_unk0x08[0x28]; // 0x08
};
#endif // LEGOBUILDINGMANAGER_H