mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-26 22:21:50 -04: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
@ -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_unk0x100 = 0;
|
||||||
|
m_unk0xfc = 0;
|
||||||
|
NotificationManager()->Register(this);
|
||||||
}
|
}
|
||||||
|
@ -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,11 @@ public:
|
|||||||
{
|
{
|
||||||
return !strcmp(p_name, JukeBox::ClassName()) || LegoWorld::IsA(p_name);
|
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
|
#endif // JUKEBOX_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user