jukebox ctor (#356)

* jukebox ctor

* naming conventions

* Fixes

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Joshua Peisach 2023-12-24 09:16:07 -05:00 committed by GitHub
parent 848a92735f
commit 43efcc5253
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

View file

@ -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_unk0x100 = 0;
m_unk0xfc = 0;
NotificationManager()->Register(this);
}

View file

@ -1,6 +1,7 @@
#ifndef JUKEBOX_H
#define JUKEBOX_H
#include "decomp.h"
#include "legoworld.h"
// VTABLE: LEGO1 0x100d8958
@ -21,6 +22,11 @@ class JukeBox : public LegoWorld {
{
return !strcmp(p_name, JukeBox::ClassName()) || LegoWorld::IsA(p_name);
}
private:
undefined m_unk0xf8[4]; // 0xf8
undefined4 m_unk0xfc; // 0xfc
undefined2 m_unk0x100; // 0x100
};
#endif // JUKEBOX_H