mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-12-21 05:12:32 -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>
61 lines
1.9 KiB
C++
61 lines
1.9 KiB
C++
#ifndef MXDSMULTIACTION_H
|
|
#define MXDSMULTIACTION_H
|
|
|
|
#include "mxdsaction.h"
|
|
#include "mxdsactionlist.h"
|
|
|
|
// VTABLE: LEGO1 0x100dcef0
|
|
// SIZE 0x9c
|
|
class MxDSMultiAction : public MxDSAction {
|
|
public:
|
|
MxDSMultiAction();
|
|
~MxDSMultiAction() override;
|
|
|
|
void CopyFrom(MxDSMultiAction& p_dsMultiAction);
|
|
MxDSMultiAction& operator=(MxDSMultiAction& p_dsMultiAction);
|
|
|
|
// FUNCTION: LEGO1 0x100c9f50
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x10101dbc
|
|
return "MxDSMultiAction";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100c9f60
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, MxDSMultiAction::ClassName()) || MxDSAction::IsA(p_name);
|
|
}
|
|
|
|
undefined4 VTable0x14() override; // vtable+14;
|
|
MxU32 GetSizeOnDisk() override; // vtable+18;
|
|
void Deserialize(MxU8** p_source, MxS16 p_unk0x24) override; // vtable+1c;
|
|
void SetAtomId(MxAtomId p_atomId) override; // vtable+20;
|
|
MxDSAction* Clone() override; // vtable+2c;
|
|
void MergeFrom(MxDSAction& p_dsAction) override; // vtable+30;
|
|
MxBool HasId(MxU32 p_objectId) override; // vtable+34;
|
|
void SetUnknown90(MxLong p_unk0x90) override; // vtable+38;
|
|
|
|
inline MxDSActionList* GetActionList() const { return m_actions; }
|
|
|
|
// SYNTHETIC: LEGO1 0x100ca040
|
|
// MxDSMultiAction::`scalar deleting destructor'
|
|
|
|
protected:
|
|
MxU32 m_sizeOnDisk; // 0x94
|
|
MxDSActionList* m_actions; // 0x98
|
|
};
|
|
|
|
// SYNTHETIC: LEGO1 0x1004ad10
|
|
// MxDSActionListCursor::`scalar deleting destructor'
|
|
|
|
// TEMPLATE: LEGO1 0x1004ad80
|
|
// MxListCursor<MxDSAction *>::~MxListCursor<MxDSAction *>
|
|
|
|
// SYNTHETIC: LEGO1 0x1004add0
|
|
// MxListCursor<MxDSAction *>::`scalar deleting destructor'
|
|
|
|
// FUNCTION: LEGO1 0x1004ae40
|
|
// MxDSActionListCursor::~MxDSActionListCursor
|
|
|
|
#endif // MXDSMULTIACTION_H
|