mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
jukebox ctor (#356)
* jukebox ctor * naming conventions * Fixes --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
parent
848a92735f
commit
43efcc5253
2 changed files with 15 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue