2023-06-29 04:10:08 -04:00
|
|
|
#ifndef JUKEBOXSTATE_H
|
|
|
|
#define JUKEBOXSTATE_H
|
|
|
|
|
|
|
|
#include "legostate.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d4a90
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
class JukeBoxState : public LegoState {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2024-06-03 07:00:38 -04:00
|
|
|
enum Music {
|
|
|
|
e_pasquell = 0,
|
|
|
|
e_right,
|
|
|
|
e_decal,
|
|
|
|
e_wallis,
|
|
|
|
e_nelson,
|
|
|
|
e_torpedos
|
|
|
|
};
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000f310
|
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 0x100f02bc
|
2023-10-24 19:38:27 -04:00
|
|
|
return "JukeBoxState";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000f320
|
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
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, JukeBoxState::ClassName()) || LegoState::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-10-22 11:33:29 -04:00
|
|
|
|
2024-04-21 09:42:08 -04:00
|
|
|
MxBool IsSerializable() override; // vtable+0x14
|
2024-01-18 08:34:14 -05:00
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x1000f3d0
|
|
|
|
// JukeBoxState::`scalar deleting destructor'
|
2024-02-14 11:48:39 -05:00
|
|
|
|
2024-06-03 07:00:38 -04:00
|
|
|
Music m_music; // 0x08
|
2024-02-14 11:48:39 -05:00
|
|
|
MxU32 m_active; // 0x0c
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // JUKEBOXSTATE_H
|