isle/LEGO1/lego/legoomni/src/infocenter/infocenterstate.cpp

24 lines
478 B
C++
Raw Normal View History

#include "infocenterstate.h"
DECOMP_SIZE_ASSERT(InfocenterState, 0x94);
// FUNCTION: LEGO1 0x10071600
InfocenterState::InfocenterState()
{
2023-10-24 19:38:27 -04:00
// TODO
memset(m_buffer, 0, sizeof(m_buffer));
}
// FUNCTION: LEGO1 0x10071920
InfocenterState::~InfocenterState()
{
MxS16 i = 0;
do {
if (GetInfocenterBufferElement(i) != NULL) {
delete GetInfocenterBufferElement(i)->GetAction();
delete GetInfocenterBufferElement(i);
}
i++;
} while (i < GetInfocenterBufferSize());
}