mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
* Implement/match LegoAnimationManager::FUN_10064b50 (#926) * Implement/match LegoAnimationManager::FUN_10063d10 (#927) * Implement/match LegoAnimationManager::FUN_10064380 (#928) * Implement/match LegoAnimationManager::FUN_10064380 * Fix naming * Revert * Implement/matche LegoAnimationManager::FUN_10064740 and FUN_10064670 (#929) * Implement/match FUN_1003ef00 and related (#931) * Implement/match LegoAnimationManager::FUN_10064120 (#932) * Implement/match LegoAnimationManager::FUN_10064120 * Fix naming * Fix parentheses * Implement LegoAnimationManager::FUN_10064010 (#933) * Implement/match ViewManager::FUN_100a6150 (#934) * Implement/match PlayCamAnim and CameraTriggerFire (#935) * Implement/match PlayCamAnim and CameraTriggerFire * Fix type * Name var * Implement/match LegoAnimationManager::FUN_10063fb0 (#936) * basic name improvements (#930) * basic name improvements * clang-format --------- Co-authored-by: Christian Semmler <mail@csemmler.com> * Implement/match LegoPathBoundary::Intersect (#937) * Implement LegoPathActor::VTable0x68 (#938) * Implement LegoPathActor::VTable0x68 * Fix naming * Implement/match LegoPathBoundary::FUN_100575b0 (#939) * Implement LegoUnknown::FUN_1009a1e0 (#940) * Implement/match LegoPathController::FUN_1004a240 (#941) * Implement LegoPathActor::VTable0x9c (#942) * Implement LegoPathActor::VTable0x9c * Add annotation * Implement/match LegoPathActor::SwitchBoundary (#943) * Implement/match LegoPathActor::SwitchBoundary * Rename var * Implement/match LegoPathStruct (#944) * Implement/match LegoPathStruct * Rename some nums * Consistent naming * Naming * relax regex * Name some functions * Improve naming * Rename * Implement/match LegoPathActor::VTable0xa4 and VTable0xa8 (#945) * Implement/match LegoPathActor::VTable0xa4 * Implement/match LegoPathActor::VTable0xa8 * Name enum constants --------- Co-authored-by: Cameron <25990062+crtdll@users.noreply.github.com>
46 lines
720 B
C++
46 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;
|
|
}
|