mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-23 07:58:21 -05:00
9e686e2a87
* cmake+ci: run clang-tidy * Remove DESCRIPTION from LEGO1/LegoOmni.mingw.def * Add initial .clang-tidy and fixes * fix file perms * Comment out DESCRIPTION * Remove LegoEntity::~LegoEntity and MxPresenter::~MxPresenter from mingw's LEGO1.def * Looks like clang is allergic to the libs in the directx5 SDK * Update .clang-tidy * Fix typo in .clang-tidy * Attempt to generate an action error * Revert "Attempt to generate an action error" This reverts commit 96c4c65fedbc4102837f4bcbbb9ee83a7d14cba3. * cmake: test with -Wparentheses + optionally with -Werror * ci: -k0 is a Ninja argument * Use -Werror only for msys2 builds * cmake: only emit warnings for specific warnings * cmake: and don't do -Werror/-WX anymore * Fix warnings * Fix mingw warnings --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
65 lines
1.5 KiB
C++
65 lines
1.5 KiB
C++
#ifndef MXDSACTIONLIST_H
|
|
#define MXDSACTIONLIST_H
|
|
|
|
#include "decomp.h"
|
|
#include "mxlist.h"
|
|
|
|
class MxDSAction;
|
|
|
|
// VTABLE: LEGO1 0x100dcea8
|
|
// class MxCollection<MxDSAction *>
|
|
|
|
// VTABLE: LEGO1 0x100dcec0
|
|
// class MxList<MxDSAction *>
|
|
|
|
// VTABLE: LEGO1 0x100dced8
|
|
// SIZE 0x1c
|
|
class MxDSActionList : public MxList<MxDSAction*> {
|
|
public:
|
|
MxDSActionList() { this->m_unk0x18 = 0; }
|
|
|
|
// FUNCTION: LEGO1 0x100c9c90
|
|
MxS8 Compare(MxDSAction* p_a, MxDSAction* p_b) override
|
|
{
|
|
return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
|
|
} // vtable+0x14
|
|
|
|
// FUNCTION: LEGO1 0x100c9cb0
|
|
static void Destroy(MxDSAction* p_action) { delete p_action; }
|
|
|
|
// SYNTHETIC: LEGO1 0x100c9dc0
|
|
// MxDSActionList::`scalar deleting destructor'
|
|
|
|
private:
|
|
undefined m_unk0x18;
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d7e68
|
|
// class MxListCursor<MxDSAction *>
|
|
|
|
// VTABLE: LEGO1 0x100d7e50
|
|
// SIZE 0x10
|
|
class MxDSActionListCursor : public MxListCursor<MxDSAction*> {
|
|
public:
|
|
MxDSActionListCursor(MxDSActionList* p_list) : MxListCursor<MxDSAction*>(p_list){};
|
|
};
|
|
|
|
// TEMPLATE: LEGO1 0x100c9cc0
|
|
// MxCollection<MxDSAction *>::Compare
|
|
|
|
// TEMPLATE: LEGO1 0x100c9cd0
|
|
// MxCollection<MxDSAction *>::~MxCollection<MxDSAction *>
|
|
|
|
// TEMPLATE: LEGO1 0x100c9d20
|
|
// MxCollection<MxDSAction *>::Destroy
|
|
|
|
// TEMPLATE: LEGO1 0x100c9d30
|
|
// MxList<MxDSAction *>::~MxList<MxDSAction *>
|
|
|
|
// SYNTHETIC: LEGO1 0x100c9e30
|
|
// MxCollection<MxDSAction *>::`scalar deleting destructor'
|
|
|
|
// SYNTHETIC: LEGO1 0x100c9ea0
|
|
// MxList<MxDSAction *>::`scalar deleting destructor'
|
|
|
|
#endif // MXDSACTIONLIST_H
|