mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-27 01:56:28 -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>
59 lines
1.7 KiB
C++
59 lines
1.7 KiB
C++
#ifndef LEGOLOCOMOTIONANIMPRESENTER_H
|
|
#define LEGOLOCOMOTIONANIMPRESENTER_H
|
|
|
|
#include "legoloopinganimpresenter.h"
|
|
|
|
// VTABLE: LEGO1 0x100d9170
|
|
// SIZE 0xd8
|
|
class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter {
|
|
public:
|
|
LegoLocomotionAnimPresenter();
|
|
~LegoLocomotionAnimPresenter() override;
|
|
|
|
// FUNCTION: LEGO1 0x1006ce50
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f06e4
|
|
return "LegoLocomotionAnimPresenter";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1006ce60
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, ClassName()) || LegoLoopingAnimPresenter::IsA(p_name);
|
|
}
|
|
|
|
void ReadyTickle() override; // vtable+0x18
|
|
void StartingTickle() override; // vtable+0x1c
|
|
void StreamingTickle() override; // vtable+0x20
|
|
MxResult AddToManager() override; // vtable+0x34
|
|
void Destroy() override; // vtable+0x38
|
|
void EndAction() override; // vtable+0x40
|
|
void PutFrame() override; // vtable+0x6c
|
|
MxResult VTable0x88(MxStreamChunk* p_chunk) override; // vtable+0x88
|
|
|
|
// SYNTHETIC: LEGO1 0x1006cfe0
|
|
// LegoLocomotionAnimPresenter::`scalar deleting destructor'
|
|
|
|
inline void DecrementUnknown0xd4()
|
|
{
|
|
if (m_unk0xd4) {
|
|
--m_unk0xd4;
|
|
}
|
|
}
|
|
|
|
inline undefined2 GetUnknown0xd4() { return m_unk0xd4; }
|
|
|
|
private:
|
|
void Init();
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
undefined4 m_unk0xc0; // 0xc0
|
|
undefined4* m_unk0xc4; // 0xc4
|
|
MxCore* m_unk0xc8; // 0xc8
|
|
MxS32 m_unk0xcc; // 0xcc
|
|
MxS32 m_unk0xd0; // 0xd0
|
|
undefined2 m_unk0xd4; // 0xd4
|
|
};
|
|
|
|
#endif // LEGOLOCOMOTIONANIMPRESENTER_H
|