2023-10-16 09:22:21 -04:00
|
|
|
#ifndef LEGOVEHICLEBUILDSTATE_H
|
|
|
|
#define LEGOVEHICLEBUILDSTATE_H
|
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
#include "decomp.h"
|
2023-10-16 09:22:21 -04:00
|
|
|
#include "legostate.h"
|
|
|
|
#include "mxstring.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d66e0
|
2024-01-29 13:54:47 -05:00
|
|
|
// SIZE 0x50
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoVehicleBuildState : public LegoState {
|
2023-10-16 09:22:21 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
LegoVehicleBuildState(char* p_classType);
|
2023-10-16 09:22:21 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10025ff0
|
2024-02-01 15:42:10 -05:00
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
|
|
|
return this->m_className.GetData();
|
|
|
|
}
|
2023-10-16 09:22:21 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10026000
|
2024-02-01 15:42:10 -05:00
|
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
|
|
|
return !strcmp(p_name, this->m_className.GetData()) || LegoState::IsA(p_name);
|
|
|
|
}
|
2023-10-16 09:22:21 -04:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxResult VTable0x1c(LegoFile* p_legoFile) override; // vtable+0x1c
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100260a0
|
|
|
|
// LegoVehicleBuildState::`scalar deleting destructor'
|
|
|
|
|
2023-10-16 09:22:21 -04:00
|
|
|
private:
|
2024-02-01 18:08:56 -05:00
|
|
|
Shuffle m_unk0x08[4]; // 0x08
|
2023-10-24 19:38:27 -04:00
|
|
|
|
|
|
|
// This can be one of the following:
|
|
|
|
// * LegoRaceCarBuildState
|
|
|
|
// * LegoCopterBuildState
|
|
|
|
// * LegoDuneCarBuildState
|
|
|
|
// * LegoJetskiBuildState
|
|
|
|
MxString m_className; // 0x38
|
|
|
|
|
|
|
|
// Known States:
|
|
|
|
// * 1 == enter(ing) build screen
|
|
|
|
// * 3 == cutscene/dialogue
|
|
|
|
// * 6 == exit(ing) build screen
|
|
|
|
MxU32 m_animationState; // 0x48
|
2023-12-13 05:48:14 -05:00
|
|
|
undefined m_unk0x4c; // 0x4c
|
|
|
|
undefined m_unk0x4d; // 0x4d
|
|
|
|
undefined m_unk0x4e; // 0x4e
|
2023-10-24 19:38:27 -04:00
|
|
|
MxU8 m_placedPartCount; // 0x4f
|
2023-10-16 09:22:21 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGOVEHICLEBUILDSTATE_H
|