2024-03-26 13:51:52 -04:00
|
|
|
#include "legowegedge.h"
|
|
|
|
|
|
|
|
DECOMP_SIZE_ASSERT(LegoWEGEdge, 0x54)
|
2024-05-21 15:03:50 -04:00
|
|
|
DECOMP_SIZE_ASSERT(LegoWEGEdge::PathWithTrigger, 0x0c)
|
2024-03-26 13:51:52 -04:00
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1009a730
|
|
|
|
LegoWEGEdge::LegoWEGEdge()
|
|
|
|
{
|
|
|
|
m_unk0x0d = 0;
|
|
|
|
m_name = NULL;
|
|
|
|
m_unk0x14.Clear();
|
|
|
|
m_edgeNormals = NULL;
|
2024-05-12 15:30:34 -04:00
|
|
|
m_flags = 0;
|
2024-03-26 13:51:52 -04:00
|
|
|
m_unk0x48 = 0;
|
2024-05-22 14:09:06 -04:00
|
|
|
m_pathTrigger = NULL;
|
2024-03-26 13:51:52 -04:00
|
|
|
m_unk0x50 = NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1009a800
|
|
|
|
LegoWEGEdge::~LegoWEGEdge()
|
|
|
|
{
|
|
|
|
if (m_edges) {
|
|
|
|
delete[] m_edges;
|
|
|
|
m_edges = NULL;
|
|
|
|
}
|
|
|
|
if (m_name) {
|
|
|
|
delete[] m_name;
|
|
|
|
}
|
|
|
|
if (m_edgeNormals) {
|
|
|
|
delete[] m_edgeNormals;
|
|
|
|
}
|
2024-05-22 14:09:06 -04:00
|
|
|
if (m_pathTrigger) {
|
|
|
|
delete m_pathTrigger;
|
2024-03-26 13:51:52 -04:00
|
|
|
}
|
|
|
|
if (m_unk0x50) {
|
|
|
|
delete m_unk0x50;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x1009a8c0
|
|
|
|
LegoResult LegoWEGEdge::VTable0x04()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return SUCCESS;
|
|
|
|
}
|