jukebox ctor

This commit is contained in:
Joshua Peisach 2023-12-23 21:48:07 -05:00
parent 24a3a8f3fd
commit 5d81276aa7
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
2 changed files with 16 additions and 2 deletions

View File

@ -1,7 +1,14 @@
#include "jukebox.h" #include "jukebox.h"
// STUB: LEGO1 0x1005d660 #include "mxnotificationmanager.h"
#include "mxomni.h"
DECOMP_SIZE_ASSERT(JukeBox, 0x104)
// FUNCTION: LEGO1 0x1005d660
JukeBox::JukeBox() JukeBox::JukeBox()
{ {
// TODO m_unk100 = 0;
m_unkfc = 0;
NotificationManager()->Register(this);
} }

View File

@ -1,6 +1,7 @@
#ifndef JUKEBOX_H #ifndef JUKEBOX_H
#define JUKEBOX_H #define JUKEBOX_H
#include "decomp.h"
#include "legoworld.h" #include "legoworld.h"
// VTABLE: LEGO1 0x100d8958 // VTABLE: LEGO1 0x100d8958
@ -21,6 +22,12 @@ class JukeBox : public LegoWorld {
{ {
return !strcmp(p_name, JukeBox::ClassName()) || LegoWorld::IsA(p_name); 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 #endif // JUKEBOX_H