mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 10:31:16 +00:00
Some checks are pending
CI / clang-format (push) Waiting to run
CI / ${{ matrix.name }} (false, --toolchain /usr/local/vitasdk/share/vita.toolchain.cmake, false, false, Ninja, Vita, ubuntu-latest, true, true) (push) Waiting to run
CI / ${{ matrix.name }} (false, -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0.26100.0, false, false, Visual Studio 17 2022, true, Xbox One, windows-latest, amd64, false, true) (push) Waiting to run
CI / ${{ matrix.name }} (false, -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/3DS.cmake, false, devkitpro/devkitarm:latest, false, Ninja, true, Nintendo 3DS, ubuntu-latest, true) (push) Waiting to run
CI / ${{ matrix.name }} (false, -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake, false, devkitpro/devkita64:latest, false, Ninja, Nintendo Switch, true, ubuntu-latest, true) (push) Waiting to run
CI / ${{ matrix.name }} (false, emcmake, false, false, true, Ninja, Emscripten, ubuntu-latest, true) (push) Waiting to run
CI / ${{ matrix.name }} (false, false, false, Ninja, true, MSVC (arm64), windows-latest, amd64_arm64, false) (push) Waiting to run
CI / ${{ matrix.name }} (false, false, true, Ninja, true, MSVC (x86), windows-latest, amd64_x86, false) (push) Waiting to run
CI / ${{ matrix.name }} (false, true, false, Ninja, true, MSVC (x64), windows-latest, amd64, false) (push) Waiting to run
CI / ${{ matrix.name }} (false, true, true, false, Ninja, true, MSVC (x64 Debug), windows-latest, amd64, false) (push) Waiting to run
CI / ${{ matrix.name }} (true, false, -DCMAKE_SYSTEM_NAME=iOS, false, false, Xcode, true, iOS, macos-15, true) (push) Waiting to run
CI / ${{ matrix.name }} (true, false, false, Ninja, true, mingw-w64-i686, mingw32, msys2 mingw32, windows-latest, msys2 {0}, true) (push) Waiting to run
CI / ${{ matrix.name }} (true, false, false, false, Ninja, Android, ubuntu-latest, true) (push) Waiting to run
CI / ${{ matrix.name }} (true, false, true, false, Ninja, macOS, macos-latest, true) (push) Waiting to run
CI / ${{ matrix.name }} (true, true, false, Ninja, true, mingw-w64-x86_64, mingw64, msys2 mingw64, windows-latest, msys2 {0}, true) (push) Waiting to run
CI / ${{ matrix.name }} (true, true, true, false, Ninja, true, Linux (Debug), ubuntu-latest, true) (push) Waiting to run
CI / ${{ matrix.name }} (true, true, true, false, Ninja, true, Linux, ubuntu-latest, true) (push) Waiting to run
CI / Flatpak (${{ matrix.arch }}) (aarch64, ubuntu-22.04-arm) (push) Waiting to run
CI / Flatpak (${{ matrix.arch }}) (x86_64, ubuntu-latest) (push) Waiting to run
CI / C++ (push) Waiting to run
CI / Release (push) Blocked by required conditions
Docker / Publish web port (push) Waiting to run
82 lines
2.3 KiB
C++
82 lines
2.3 KiB
C++
#ifndef MXMEDIAPRESENTER_H
|
|
#define MXMEDIAPRESENTER_H
|
|
|
|
#include "decomp.h"
|
|
#include "mxpresenter.h"
|
|
#include "mxstreamchunklist.h"
|
|
|
|
class MxDSSubscriber;
|
|
|
|
// VTABLE: LEGO1 0x100d4cd8
|
|
// SIZE 0x50
|
|
class MxMediaPresenter : public MxPresenter {
|
|
public:
|
|
MxMediaPresenter() { Init(); }
|
|
|
|
// FUNCTION: LEGO1 0x1000c550
|
|
~MxMediaPresenter() override { Destroy(TRUE); }
|
|
|
|
// FUNCTION: LEGO1 0x1000c5b0
|
|
void Destroy() override { Destroy(FALSE); } // vtable+0x38
|
|
|
|
MxResult Tickle() override; // vtable+0x08
|
|
|
|
// FUNCTION: BETA10 0x10054f50
|
|
static const char* HandlerClassName()
|
|
{
|
|
// STRING: LEGO1 0x100f074c
|
|
return "MxMediaPresenter";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1000c5c0
|
|
// FUNCTION: BETA10 0x10054f20
|
|
const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
return HandlerClassName();
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1000c5d0
|
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, MxMediaPresenter::ClassName()) || MxPresenter::IsA(p_name);
|
|
}
|
|
|
|
void StreamingTickle() override; // vtable+0x20
|
|
void RepeatingTickle() override; // vtable+0x24
|
|
void DoneTickle() override; // vtable+0x2c
|
|
|
|
MxResult StartAction(MxStreamController*, MxDSAction*) override; // vtable+0x3c
|
|
void EndAction() override; // vtable+0x40
|
|
void Enable(MxBool p_enable) override; // vtable+0x54
|
|
virtual void LoopChunk(MxStreamChunk* p_chunk); // vtable+0x58
|
|
|
|
MxStreamChunk* CurrentChunk();
|
|
MxStreamChunk* NextChunk();
|
|
|
|
// SYNTHETIC: LEGO1 0x1000c680
|
|
// MxMediaPresenter::`scalar deleting destructor'
|
|
|
|
protected:
|
|
MxDSSubscriber* m_subscriber = NULL; // 0x40
|
|
MxStreamChunkList* m_loopingChunks = NULL; // 0x44
|
|
MxStreamChunkListCursor* m_loopingChunkCursor = NULL; // 0x48
|
|
MxStreamChunk* m_currentChunk = NULL; // 0x4c
|
|
|
|
void Init();
|
|
void Destroy(MxBool p_fromDestructor);
|
|
};
|
|
|
|
// SYNTHETIC: LEGO1 0x100b46e0
|
|
// MxStreamChunkListCursor::`scalar deleting destructor'
|
|
|
|
// TEMPLATE: LEGO1 0x100b4750
|
|
// MxListCursor<MxStreamChunk *>::~MxListCursor<MxStreamChunk *>
|
|
|
|
// SYNTHETIC: LEGO1 0x100b47a0
|
|
// MxListCursor<MxStreamChunk *>::`scalar deleting destructor'
|
|
|
|
// FUNCTION: LEGO1 0x100b4810
|
|
// MxStreamChunkListCursor::~MxStreamChunkListCursor
|
|
|
|
#endif // MXMEDIAPRESENTER_H
|