mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 18:04:06 +00:00
Refactor JukeBox, add enum for music (#988)
* Refactor JukeBox, add enum for music * add BETA annotation * Fix BETA annotation * Fix BETA annotation * Fix
This commit is contained in:
committed by
GitHub
parent
828b35e9d2
commit
73bb37596e
@@ -7,6 +7,15 @@
|
||||
// SIZE 0x10
|
||||
class JukeBoxState : public LegoState {
|
||||
public:
|
||||
enum Music {
|
||||
e_pasquell = 0,
|
||||
e_right,
|
||||
e_decal,
|
||||
e_wallis,
|
||||
e_nelson,
|
||||
e_torpedos
|
||||
};
|
||||
|
||||
// FUNCTION: LEGO1 0x1000f310
|
||||
inline const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
@@ -22,16 +31,10 @@ public:
|
||||
|
||||
MxBool IsSerializable() override; // vtable+0x14
|
||||
|
||||
inline MxU32 IsActive() { return m_active; }
|
||||
inline void SetActive(MxU32 p_active) { m_active = p_active; }
|
||||
inline MxU32 GetState() { return m_state; }
|
||||
inline void SetState(MxU32 p_state) { m_state = p_state; }
|
||||
|
||||
// SYNTHETIC: LEGO1 0x1000f3d0
|
||||
// JukeBoxState::`scalar deleting destructor'
|
||||
|
||||
// protected:
|
||||
MxU32 m_state; // 0x08
|
||||
Music m_music; // 0x08
|
||||
MxU32 m_active; // 0x0c
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user