mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 18:04:06 +00:00
Implement various methods in InfoCenter folder (#465)
* push changes * Fix return type of Infocenter::Tickle * Fixes/matches * Code clarity * Move assert --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -2,15 +2,22 @@
|
||||
|
||||
DECOMP_SIZE_ASSERT(InfocenterState, 0x94);
|
||||
|
||||
// STUB: LEGO1 0x10071600
|
||||
// FUNCTION: LEGO1 0x10071600
|
||||
InfocenterState::InfocenterState()
|
||||
{
|
||||
// TODO
|
||||
memset(m_buffer, 0, sizeof(m_buffer));
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10071920
|
||||
// FUNCTION: LEGO1 0x10071920
|
||||
InfocenterState::~InfocenterState()
|
||||
{
|
||||
// TODO
|
||||
MxS16 i = 0;
|
||||
do {
|
||||
if (GetInfocenterBufferElement(i) != NULL) {
|
||||
delete GetInfocenterBufferElement(i)->GetAction();
|
||||
delete GetInfocenterBufferElement(i);
|
||||
}
|
||||
i++;
|
||||
} while (i < GetInfocenterBufferSize());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user