mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 01:28:30 -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 96c4c65fed
.
* 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
2 KiB
C++
61 lines
2 KiB
C++
#ifndef MXDSSTREAMINGACTION_H
|
|
#define MXDSSTREAMINGACTION_H
|
|
|
|
#include "mxdsaction.h"
|
|
|
|
class MxDSBuffer;
|
|
|
|
// VTABLE: LEGO1 0x100dd088
|
|
// SIZE 0xb4
|
|
class MxDSStreamingAction : public MxDSAction {
|
|
public:
|
|
MxDSStreamingAction(MxDSAction& p_dsAction, MxU32 p_offset);
|
|
MxDSStreamingAction(MxDSStreamingAction& p_dsStreamingAction);
|
|
~MxDSStreamingAction() override;
|
|
|
|
MxDSStreamingAction* CopyFrom(MxDSStreamingAction& p_dsStreamingAction);
|
|
MxDSStreamingAction& operator=(MxDSAction& p_dsAction)
|
|
{
|
|
MxDSAction::operator=(p_dsAction);
|
|
return *this;
|
|
}
|
|
MxDSStreamingAction& operator=(MxDSStreamingAction& p_dsStreamingAction)
|
|
{
|
|
MxDSAction::operator=(p_dsStreamingAction);
|
|
return *this;
|
|
}
|
|
|
|
MxBool HasId(MxU32 p_objectId) override; // vtable+34;
|
|
|
|
MxResult Init();
|
|
void SetInternalAction(MxDSAction* p_dsAction);
|
|
void FUN_100cd2d0();
|
|
|
|
inline MxU32 GetUnknown94() { return m_unk0x94; }
|
|
inline MxS32 GetUnknown9c() { return m_unk0x9c; }
|
|
inline MxDSBuffer* GetUnknowna0() { return m_unk0xa0; }
|
|
inline MxDSBuffer* GetUnknowna4() { return m_unk0xa4; }
|
|
inline MxLong GetUnknowna8() { return m_unk0xa8; }
|
|
inline MxDSAction* GetInternalAction() { return m_internalAction; }
|
|
inline MxU32 GetBufferOffset() { return m_bufferOffset; }
|
|
inline void SetUnknown94(MxU32 p_unk0x94) { m_unk0x94 = p_unk0x94; }
|
|
inline void SetUnknown9c(MxS32 p_unk0x9c) { m_unk0x9c = p_unk0x9c; }
|
|
inline void SetUnknowna0(MxDSBuffer* p_unk0xa0) { m_unk0xa0 = p_unk0xa0; }
|
|
inline void SetUnknowna4(MxDSBuffer* p_unk0xa4) { m_unk0xa4 = p_unk0xa4; }
|
|
inline void SetBufferOffset(MxU32 p_bufferOffset) { m_bufferOffset = p_bufferOffset; }
|
|
|
|
// SYNTHETIC: LEGO1 0x100cd0b0
|
|
// MxDSStreamingAction::`scalar deleting destructor'
|
|
|
|
private:
|
|
MxU32 m_unk0x94; // 0x94
|
|
MxU32 m_bufferOffset; // 0x98
|
|
MxS32 m_unk0x9c; // 0x9c
|
|
MxDSBuffer* m_unk0xa0; // 0xa0
|
|
MxDSBuffer* m_unk0xa4; // 0xa4
|
|
MxLong m_unk0xa8; // 0xa8
|
|
undefined2 m_unk0xac; // 0xac
|
|
MxDSAction* m_internalAction; // 0xb0
|
|
};
|
|
|
|
#endif // MXDSSTREAMINGACTION_H
|