mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 14:51:15 +00:00
lego: add MxDSType enum, add to all ctors
This commit is contained in:
parent
8fa45bbe0f
commit
e8e8918767
@ -5,10 +5,10 @@
|
||||
|
||||
enum LookupMode
|
||||
{
|
||||
LookupMode_Exact = 0,
|
||||
LookupMode_LowerCase = 1,
|
||||
LookupMode_UpperCase = 2,
|
||||
LookupMode_LowerCase2 = 3
|
||||
LookupMode_Exact = 0,
|
||||
LookupMode_LowerCase = 1,
|
||||
LookupMode_UpperCase = 2,
|
||||
LookupMode_LowerCase2 = 3
|
||||
};
|
||||
|
||||
class MxAtomId
|
||||
|
||||
@ -4,9 +4,10 @@
|
||||
MxDSAction::MxDSAction()
|
||||
{
|
||||
// TODO
|
||||
this->SetType(MxDSType_Action);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100ada80
|
||||
// OFFSET: LEGO1 0x100ada80 STUB
|
||||
MxDSAction::~MxDSAction()
|
||||
{
|
||||
// TODO
|
||||
|
||||
@ -3,11 +3,10 @@
|
||||
// OFFSET: LEGO1 0x100c8ff0
|
||||
MxDSAnim::MxDSAnim()
|
||||
{
|
||||
// TODO
|
||||
this->SetType(MxDSType_Anim);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c91a0
|
||||
MxDSAnim::~MxDSAnim()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
@ -1,13 +1,12 @@
|
||||
#include "mxdsevent.h"
|
||||
|
||||
// OFFSET: LEGO1 0x100c95f0 STUB
|
||||
// OFFSET: LEGO1 0x100c95f0
|
||||
MxDSEvent::MxDSEvent()
|
||||
{
|
||||
// TODO
|
||||
this->SetType(MxDSType_Event);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c97a0 STUB
|
||||
// OFFSET: LEGO1 0x100c97a0
|
||||
MxDSEvent::~MxDSEvent()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
@ -4,9 +4,10 @@
|
||||
MxDSMediaAction::MxDSMediaAction()
|
||||
{
|
||||
// TODO
|
||||
this->SetType(MxDSType_MediaAction);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c8cf0
|
||||
// OFFSET: LEGO1 0x100c8cf0 STUB
|
||||
MxDSMediaAction::~MxDSMediaAction()
|
||||
{
|
||||
// TODO
|
||||
|
||||
@ -3,11 +3,12 @@
|
||||
// OFFSET: LEGO1 0x100c9b90
|
||||
MxDSMultiAction::MxDSMultiAction()
|
||||
{
|
||||
|
||||
// TODO
|
||||
this->SetType(MxDSType_MultiAction);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100ca060
|
||||
// OFFSET: LEGO1 0x100ca060 STUB
|
||||
MxDSMultiAction::~MxDSMultiAction()
|
||||
{
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
// OFFSET: LEGO1 0x100bf6a0
|
||||
MxDSObject::MxDSObject()
|
||||
{
|
||||
this->m_unk0c = 0;
|
||||
this->SetType(MxDSType_Object);
|
||||
this->m_sourceName = NULL;
|
||||
this->m_unk14 = 0;
|
||||
this->m_objectName = NULL;
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
|
||||
#include "mxcore.h"
|
||||
#include "mxatomid.h"
|
||||
#include "mxdstypes.h"
|
||||
|
||||
// VTABLE 0x100dc868
|
||||
// SIZE 0x2c
|
||||
@ -39,9 +40,11 @@ class MxDSObject : public MxCore
|
||||
// OFFSET: LEGO1 0x10005530
|
||||
inline void SetAtomId(MxAtomId p_atomId) { this->m_atomId = p_atomId; }
|
||||
|
||||
inline void SetType(MxDSType p_type) { this->m_type = p_type; }
|
||||
|
||||
private:
|
||||
unsigned int m_unk08;
|
||||
MxS16 m_unk0c;
|
||||
MxS16 m_type;
|
||||
char* m_sourceName;
|
||||
int m_unk14;
|
||||
char *m_objectName;
|
||||
|
||||
@ -3,11 +3,10 @@
|
||||
// OFFSET: LEGO1 0x100c8870
|
||||
MxDSObjectAction::MxDSObjectAction()
|
||||
{
|
||||
// TODO
|
||||
this->SetType(MxDSType_ObjectAction);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c8a20
|
||||
MxDSObjectAction::~MxDSObjectAction()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
@ -3,11 +3,10 @@
|
||||
// OFFSET: LEGO1 0x100cae80
|
||||
MxDSParallelAction::MxDSParallelAction()
|
||||
{
|
||||
|
||||
this->SetType(MxDSType_ParallelAction);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100cb040
|
||||
MxDSParallelAction::~MxDSParallelAction()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@ -3,11 +3,12 @@
|
||||
// OFFSET: LEGO1 0x100cb2b0
|
||||
MxDSSelectAction::MxDSSelectAction()
|
||||
{
|
||||
|
||||
// TODO
|
||||
this->SetType(MxDSType_SelectAction);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100cb8d0
|
||||
// OFFSET: LEGO1 0x100cb8d0 STUB
|
||||
MxDSSelectAction::~MxDSSelectAction()
|
||||
{
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
@ -3,11 +3,12 @@
|
||||
// OFFSET: LEGO1 0x100ca9d0
|
||||
MxDSSerialAction::MxDSSerialAction()
|
||||
{
|
||||
|
||||
// TODO
|
||||
this->SetType(MxDSType_SerialAction);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100cac10
|
||||
// OFFSET: LEGO1 0x100cac10 STUB
|
||||
MxDSSerialAction::~MxDSSerialAction()
|
||||
{
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
MxDSSound::MxDSSound()
|
||||
{
|
||||
// TODO
|
||||
this->SetType(MxDSType_Sound);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c9470
|
||||
MxDSSound::~MxDSSound()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
@ -3,11 +3,10 @@
|
||||
// OFFSET: LEGO1 0x100c98c0
|
||||
MxDSStill::MxDSStill()
|
||||
{
|
||||
// TODO
|
||||
this->SetType(MxDSType_Still);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c9a70
|
||||
MxDSStill::~MxDSStill()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
20
LEGO1/mxdstypes.h
Executable file
20
LEGO1/mxdstypes.h
Executable file
@ -0,0 +1,20 @@
|
||||
#ifndef MXDSTYPES_H
|
||||
#define MXDSTYPES_H
|
||||
|
||||
enum MxDSType
|
||||
{
|
||||
MxDSType_Object = 0,
|
||||
MxDSType_Action = 1,
|
||||
MxDSType_MediaAction = 2,
|
||||
MxDSType_Anim = 3,
|
||||
MxDSType_Sound = 4,
|
||||
MxDSType_MultiAction = 5,
|
||||
MxDSType_SerialAction = 6,
|
||||
MxDSType_ParallelAction = 7,
|
||||
MxDSType_Event = 8,
|
||||
MxDSType_SelectAction = 9,
|
||||
MxDSType_Still = 10,
|
||||
MxDSType_ObjectAction = 11,
|
||||
};
|
||||
|
||||
#endif // MXDSTYPES_H
|
||||
Loading…
Reference in New Issue
Block a user