2023-06-29 04:10:08 -04:00
|
|
|
#include "infocenterstate.h"
|
|
|
|
|
2023-10-12 12:18:24 -04:00
|
|
|
DECOMP_SIZE_ASSERT(InfocenterState, 0x94);
|
|
|
|
|
2024-01-20 09:24:54 -05:00
|
|
|
// FUNCTION: LEGO1 0x10071600
|
2023-06-29 04:10:08 -04:00
|
|
|
InfocenterState::InfocenterState()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2024-01-17 11:53:53 -05:00
|
|
|
memset(m_buffer, 0, sizeof(m_buffer));
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2024-01-20 09:24:54 -05:00
|
|
|
// FUNCTION: LEGO1 0x10071920
|
2023-06-29 04:10:08 -04:00
|
|
|
InfocenterState::~InfocenterState()
|
|
|
|
{
|
2024-01-20 09:24:54 -05:00
|
|
|
MxS16 i = 0;
|
|
|
|
do {
|
|
|
|
if (GetInfocenterBufferElement(i) != NULL) {
|
|
|
|
delete GetInfocenterBufferElement(i)->GetAction();
|
|
|
|
delete GetInfocenterBufferElement(i);
|
|
|
|
}
|
|
|
|
i++;
|
|
|
|
} while (i < GetInfocenterBufferSize());
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|