mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 00:44:21 +00:00
Implement/match LegoPathController::FUN_10047b30 (#906)
* Implement/match LegoPathController::FUN_10047b30 * Fix delete
This commit is contained in:
committed by
GitHub
parent
b3d6319656
commit
09394c3512
@@ -5,22 +5,26 @@
|
||||
#include "mxatom.h"
|
||||
#include "mxtypes.h"
|
||||
|
||||
class LegoPathController;
|
||||
|
||||
// VTABLE: LEGO1 0x100d7d9c
|
||||
// SIZE 0x0c
|
||||
class LegoPathStructBase {
|
||||
public:
|
||||
LegoPathStructBase() : m_unk0x04(NULL), m_unk0x08(0) {}
|
||||
LegoPathStructBase() : m_name(NULL), m_unk0x08(0) {}
|
||||
|
||||
// FUNCTION: LEGO1 0x10047420
|
||||
virtual ~LegoPathStructBase()
|
||||
{
|
||||
if (m_unk0x04 != NULL) {
|
||||
delete m_unk0x04;
|
||||
if (m_name != NULL) {
|
||||
delete[] m_name;
|
||||
}
|
||||
}
|
||||
|
||||
friend class LegoPathController;
|
||||
|
||||
private:
|
||||
undefined* m_unk0x04; // 0x04
|
||||
char* m_name; // 0x04
|
||||
undefined4 m_unk0x08; // 0x08
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user