2023-06-29 04:10:08 -04:00
|
|
|
#ifndef JUKEBOX_H
|
|
|
|
#define JUKEBOX_H
|
|
|
|
|
2023-12-24 09:16:07 -05:00
|
|
|
#include "decomp.h"
|
2024-02-26 10:12:14 -05:00
|
|
|
#include "legogamestate.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legoworld.h"
|
|
|
|
|
2024-05-03 12:19:12 -04:00
|
|
|
class LegoControlManagerEvent;
|
|
|
|
class JukeBoxState;
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d8958
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x104
|
2023-10-24 19:38:27 -04:00
|
|
|
class JukeBox : public LegoWorld {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2024-02-26 10:12:14 -05:00
|
|
|
JukeBox();
|
|
|
|
~JukeBox() override;
|
|
|
|
|
|
|
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
|
|
|
MxResult Tickle() override; // vtable+0x08
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1005d6f0
|
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
|
|
|
// STRING: LEGO1 0x100f02cc
|
|
|
|
return "JukeBox";
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1005d700
|
|
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
|
|
{
|
|
|
|
return !strcmp(p_name, JukeBox::ClassName()) || LegoWorld::IsA(p_name);
|
|
|
|
}
|
|
|
|
|
|
|
|
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
|
|
|
void ReadyWorld() override; // vtable+0x50
|
|
|
|
MxBool VTable0x5c() override; // vtable+0x5c
|
2024-05-24 20:41:57 -04:00
|
|
|
MxBool Escape() override; // vtable+0x64
|
2024-02-26 10:12:14 -05:00
|
|
|
void Enable(MxBool p_enable) override; // vtable+0x68
|
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x1005d810
|
|
|
|
// JukeBox::`scalar deleting destructor'
|
|
|
|
|
2023-12-24 09:16:07 -05:00
|
|
|
private:
|
2024-02-26 10:12:14 -05:00
|
|
|
MxBool HandleClick(LegoControlManagerEvent& p_param);
|
|
|
|
|
2024-03-13 13:17:20 -04:00
|
|
|
LegoGameState::Area m_destLocation; // 0xf8
|
|
|
|
JukeBoxState* m_state; // 0xfc
|
|
|
|
undefined2 m_unk0x100; // 0x100
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // JUKEBOX_H
|