mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement/match LegoPathController::Read (#904)
* Implement/match LegoPathController::Read * Add size asserts
This commit is contained in:

committed by
GitHub

parent
5df947dbb9
commit
f442f1a2f7
50
LEGO1/lego/legoomni/include/legopathstruct.h
Normal file
50
LEGO1/lego/legoomni/include/legopathstruct.h
Normal file
@@ -0,0 +1,50 @@
|
||||
#ifndef LEGOPATHSTRUCT_H
|
||||
#define LEGOPATHSTRUCT_H
|
||||
|
||||
#include "decomp.h"
|
||||
#include "mxatom.h"
|
||||
#include "mxtypes.h"
|
||||
|
||||
// VTABLE: LEGO1 0x100d7d9c
|
||||
// SIZE 0x0c
|
||||
class LegoPathStructBase {
|
||||
public:
|
||||
LegoPathStructBase() : m_unk0x04(NULL), m_unk0x08(0) {}
|
||||
|
||||
// FUNCTION: LEGO1 0x10047420
|
||||
virtual ~LegoPathStructBase()
|
||||
{
|
||||
if (m_unk0x04 != NULL) {
|
||||
delete m_unk0x04;
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
undefined* m_unk0x04; // 0x04
|
||||
undefined4 m_unk0x08; // 0x08
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100d7da0
|
||||
// SIZE 0x14
|
||||
class LegoPathStruct : public LegoPathStructBase {
|
||||
public:
|
||||
// FUNCTION: LEGO1 0x100473a0
|
||||
LegoPathStruct() : m_unk0x0c(0) {}
|
||||
|
||||
// FUNCTION: LEGO1 0x10047470
|
||||
~LegoPathStruct() override {}
|
||||
|
||||
void VTable0x04(undefined4, undefined4, undefined4); // vtable+0x04
|
||||
|
||||
private:
|
||||
undefined4 m_unk0x0c; // 0x0c
|
||||
MxAtomId m_atomId; // 0x10
|
||||
};
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10047440
|
||||
// LegoPathStructBase::`scalar deleting destructor'
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10047890
|
||||
// LegoPathStruct::`vector deleting destructor'
|
||||
|
||||
#endif // LEGOPATHSTRUCT_H
|
Reference in New Issue
Block a user