mirror of
https://github.com/isledecomp/isle.git
synced 2024-12-27 00:12:35 -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>
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
#ifndef LEGOLOADCACHESOUNDPRESENTER_H
|
|
#define LEGOLOADCACHESOUNDPRESENTER_H
|
|
|
|
#include "decomp.h"
|
|
#include "mxwavepresenter.h"
|
|
|
|
class LegoCacheSound;
|
|
|
|
// VTABLE: LEGO1 0x100d5fa8
|
|
// SIZE 0x90
|
|
class LegoLoadCacheSoundPresenter : public MxWavePresenter {
|
|
public:
|
|
LegoLoadCacheSoundPresenter();
|
|
~LegoLoadCacheSoundPresenter() override;
|
|
|
|
// FUNCTION: LEGO1 0x10018450
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f05a0
|
|
return "LegoLoadCacheSoundPresenter";
|
|
}
|
|
|
|
void ReadyTickle() override; // vtable+0x18
|
|
void StreamingTickle() override; // vtable+0x20
|
|
void DoneTickle() override; // vtable+0x2c
|
|
MxResult PutData() override; // vtable+0x4c
|
|
|
|
private:
|
|
void Init();
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
LegoCacheSound* m_cacheSound; // 0x6c
|
|
undefined* m_unk0x70; // 0x70
|
|
undefined* m_unk0x74; // 0x74
|
|
undefined4 m_unk0x78; // 0x78
|
|
undefined m_unk0x7c; // 0x7c
|
|
PCMWAVEFORMAT m_pcmWaveFormat; // 0x7d
|
|
};
|
|
|
|
// SYNTHETIC: LEGO1 0x10018460
|
|
// LegoLoadCacheSoundPresenter::`scalar deleting destructor'
|
|
|
|
#endif // LEGOLOADCACHESOUNDPRESENTER_H
|