diff --git a/LEGO1/jukebox.cpp b/LEGO1/jukebox.cpp index b13b1f82..683903bb 100644 --- a/LEGO1/jukebox.cpp +++ b/LEGO1/jukebox.cpp @@ -1,7 +1,14 @@ #include "jukebox.h" -// STUB: LEGO1 0x1005d660 +#include "mxnotificationmanager.h" +#include "mxomni.h" + +DECOMP_SIZE_ASSERT(JukeBox, 0x104) + +// FUNCTION: LEGO1 0x1005d660 JukeBox::JukeBox() { - // TODO + m_unk100 = 0; + m_unkfc = 0; + NotificationManager()->Register(this); } diff --git a/LEGO1/jukebox.h b/LEGO1/jukebox.h index 1f04bac3..6cfb7295 100644 --- a/LEGO1/jukebox.h +++ b/LEGO1/jukebox.h @@ -1,6 +1,7 @@ #ifndef JUKEBOX_H #define JUKEBOX_H +#include "decomp.h" #include "legoworld.h" // VTABLE: LEGO1 0x100d8958 @@ -21,6 +22,12 @@ class JukeBox : public LegoWorld { { return !strcmp(p_name, JukeBox::ClassName()) || LegoWorld::IsA(p_name); } + +private: + undefined m_unkf8[4]; + undefined4 m_unkfc; + undefined2 m_unk100; + undefined m_unk102[2]; }; #endif // JUKEBOX_H