mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 01:28:30 -05:00
6774784b37
* Implement/match LegoPathActor::VTable0xa4 * Implement/match LegoPathActor::VTable0xa8 * Name enum constants
45 lines
720 B
C++
45 lines
720 B
C++
#include "legowegedge.h"
|
|
|
|
DECOMP_SIZE_ASSERT(LegoWEGEdge, 0x54)
|
|
DECOMP_SIZE_ASSERT(LegoWEGEdge::PathWithTrigger, 0x0c)
|
|
|
|
// FUNCTION: LEGO1 0x1009a730
|
|
LegoWEGEdge::LegoWEGEdge()
|
|
{
|
|
m_unk0x0d = 0;
|
|
m_name = NULL;
|
|
m_unk0x14.Clear();
|
|
m_edgeNormals = NULL;
|
|
m_flags = 0;
|
|
m_unk0x48 = 0;
|
|
m_pathTrigger = NULL;
|
|
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;
|
|
}
|
|
if (m_pathTrigger) {
|
|
delete m_pathTrigger;
|
|
}
|
|
if (m_unk0x50) {
|
|
delete m_unk0x50;
|
|
}
|
|
}
|
|
|
|
// STUB: LEGO1 0x1009a8c0
|
|
LegoResult LegoWEGEdge::VTable0x04()
|
|
{
|
|
// TODO
|
|
return SUCCESS;
|
|
}
|