mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Implement/match PizzeriaState::PizzeriaState (#1124)
This commit is contained in:
committed by
GitHub
parent
ad353b7f3e
commit
5f822dabc7
@@ -27,6 +27,7 @@ public:
|
||||
};
|
||||
|
||||
// FUNCTION: LEGO1 0x10017c00
|
||||
// FUNCTION: BETA10 0x10031dc0
|
||||
Playlist()
|
||||
{
|
||||
m_objectIds = NULL;
|
||||
@@ -35,28 +36,30 @@ public:
|
||||
m_nextIndex = 0;
|
||||
}
|
||||
|
||||
Playlist(MxU32* p_objectIds, MxS16 p_length)
|
||||
// FUNCTION: BETA10 0x10031e10
|
||||
Playlist(MxU32* p_objectIds, MxS16 p_length, MxS16 p_mode)
|
||||
{
|
||||
m_objectIds = p_objectIds;
|
||||
m_length = p_length;
|
||||
m_mode = e_loop;
|
||||
m_mode = p_mode;
|
||||
m_nextIndex = 0;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10071800
|
||||
Playlist& operator=(const Playlist& p_shuffle)
|
||||
// FUNCTION: BETA10 0x10031e70
|
||||
Playlist& operator=(const Playlist& p_playlist)
|
||||
{
|
||||
m_objectIds = p_shuffle.m_objectIds;
|
||||
m_length = p_shuffle.m_length;
|
||||
m_nextIndex = p_shuffle.m_nextIndex;
|
||||
m_mode = p_shuffle.m_mode;
|
||||
m_objectIds = p_playlist.m_objectIds;
|
||||
m_length = p_playlist.m_length;
|
||||
m_nextIndex = p_playlist.m_nextIndex;
|
||||
m_mode = p_playlist.m_mode;
|
||||
return *this;
|
||||
}
|
||||
|
||||
MxU32 Next();
|
||||
MxBool Contains(MxU32 p_objectId);
|
||||
|
||||
void SetUnknown0x08(MxS16 p_unk0x08) { m_nextIndex = p_unk0x08; }
|
||||
void SetNextIndex(MxS16 p_nextIndex) { m_nextIndex = p_nextIndex; }
|
||||
|
||||
MxResult ReadFromFile(LegoFile* p_file)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user