Bootstrap MxDSMultiAction (#133)

* Bootstrap MxDSMultiAction

* Move destroy function to list class

* Fix unk14 call
This commit is contained in:
Christian Semmler
2023-09-20 16:36:15 -04:00
committed by GitHub
parent b743f99d20
commit 99c27a6a50
6 changed files with 91 additions and 6 deletions

28
LEGO1/mxdsactionlist.h Normal file
View File

@@ -0,0 +1,28 @@
#ifndef MXDSACTIONLIST_H
#define MXDSACTIONLIST_H
#include "decomp.h"
#include "mxlist.h"
class MxDSAction;
// VTABLE 0x100dced8
// SIZE 0x1c
class MxDSActionList : public MxList<MxDSAction>
{
public:
MxDSActionList() {
this->m_unk18 = 0;
}
virtual MxS8 Compare(MxDSAction *, MxDSAction *); // +0x14
static void Destroy(MxDSAction *p_action);
private:
undefined m_unk18;
};
typedef MxListCursorChild<MxDSAction> MxDSActionListCursor;
#endif // MXDSACTIONLIST_H