mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-23 08:08:03 -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>
31 lines
855 B
C++
31 lines
855 B
C++
#ifndef LEGOSOUNDMANAGER_H
|
|
#define LEGOSOUNDMANAGER_H
|
|
|
|
#include "legounknown100d6b4c.h"
|
|
#include "mxsoundmanager.h"
|
|
|
|
// VTABLE: LEGO1 0x100d6b10
|
|
// SIZE 0x44
|
|
class LegoSoundManager : public MxSoundManager {
|
|
public:
|
|
LegoSoundManager();
|
|
~LegoSoundManager() override;
|
|
|
|
MxResult Tickle() override; // vtable+08
|
|
void Destroy() override; // vtable+18
|
|
MxResult Create(MxU32 p_frequencyMS, MxBool p_createThread) override; // vtable+0x30
|
|
|
|
// SYNTHETIC: LEGO1 0x10029920
|
|
// LegoSoundManager::`scalar deleting destructor'
|
|
|
|
inline LegoUnknown100d6b4c* GetUnknown0x40() { return m_unk0x40; }
|
|
|
|
private:
|
|
void Init();
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
undefined4 m_unk0x3c; // 0x3c
|
|
LegoUnknown100d6b4c* m_unk0x40; // 0x40
|
|
};
|
|
|
|
#endif // LEGOSOUNDMANAGER_H
|