2023-06-29 04:10:08 -04:00
|
|
|
#ifndef MXSTILLPRESENTER_H
|
|
|
|
#define MXSTILLPRESENTER_H
|
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
#include "decomp.h"
|
2023-10-24 19:38:27 -04:00
|
|
|
#include "mxvideopresenter.h"
|
2023-07-02 03:00:28 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d7a38
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x6c
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxStillPresenter : public MxVideoPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-11-25 14:08:10 -05:00
|
|
|
MxStillPresenter() { m_bitmapInfo = NULL; }
|
2024-01-29 11:29:12 -05:00
|
|
|
|
2023-12-12 14:27:17 -05:00
|
|
|
// FUNCTION: LEGO1 0x10043550
|
2024-02-01 15:42:10 -05:00
|
|
|
~MxStillPresenter() override { Destroy(TRUE); } // vtable+0x00
|
2023-11-25 14:08:10 -05:00
|
|
|
|
2023-12-12 14:27:17 -05:00
|
|
|
// FUNCTION: LEGO1 0x100435c0
|
2024-02-01 15:42:10 -05:00
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
2023-11-04 09:47:35 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f0184
|
2023-11-04 09:47:35 -04:00
|
|
|
return "MxStillPresenter";
|
|
|
|
}
|
|
|
|
|
2023-12-12 14:27:17 -05:00
|
|
|
// FUNCTION: LEGO1 0x100435d0
|
2024-02-01 15:42:10 -05:00
|
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-11-04 09:47:35 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, MxStillPresenter::ClassName()) || MxVideoPresenter::IsA(p_name);
|
2023-11-04 09:47:35 -04:00
|
|
|
}
|
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
void StartingTickle() override; // vtable+0x1c
|
|
|
|
void StreamingTickle() override; // vtable+0x20
|
|
|
|
void RepeatingTickle() override; // vtable+0x24
|
|
|
|
void ParseExtra() override; // vtable+0x30
|
2024-01-11 10:02:55 -05:00
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100435b0
|
2024-02-01 15:42:10 -05:00
|
|
|
void Destroy() override { Destroy(FALSE); } // vtable+0x38
|
|
|
|
|
|
|
|
void Enable(MxBool p_enable) override; // vtable+0x54
|
|
|
|
void LoadHeader(MxStreamChunk* p_chunk) override; // vtable+0x5c
|
|
|
|
void CreateBitmap() override; // vtable+0x60
|
|
|
|
void NextFrame() override; // vtable+0x64
|
|
|
|
void LoadFrame(MxStreamChunk* p_chunk) override; // vtable+0x68
|
|
|
|
void RealizePalette() override; // vtable+0x70
|
2024-02-19 09:24:30 -05:00
|
|
|
virtual void SetPosition(MxS32 p_x, MxS32 p_y); // vtable+0x88
|
2024-02-01 15:42:10 -05:00
|
|
|
virtual MxStillPresenter* Clone(); // vtable+0x8c
|
2023-11-25 14:08:10 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
void Destroy(MxBool p_fromDestructor);
|
2023-10-25 18:16:08 -04:00
|
|
|
|
2023-12-07 07:13:31 -05:00
|
|
|
MxLong m_chunkTime; // 0x64
|
2023-11-25 14:08:10 -05:00
|
|
|
MxBITMAPINFO* m_bitmapInfo; // 0x68
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2023-12-12 14:27:17 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100436e0
|
|
|
|
// MxStillPresenter::`scalar deleting destructor'
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
#endif // MXSTILLPRESENTER_H
|