2023-06-29 04:10:08 -04:00
|
|
|
#ifndef LEGOTEXTUREPRESENTER_H
|
|
|
|
#define LEGOTEXTUREPRESENTER_H
|
|
|
|
|
2024-03-09 10:49:13 -05:00
|
|
|
#include "legonamedtexturelist.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "mxmediapresenter.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d4d90
|
2024-03-22 21:30:58 -04:00
|
|
|
// SIZE 0x54
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoTexturePresenter : public MxMediaPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2024-03-09 10:49:13 -05:00
|
|
|
LegoTexturePresenter() : m_textures(NULL) {}
|
2024-02-01 15:42:10 -05:00
|
|
|
~LegoTexturePresenter() override;
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000ce50
|
2024-02-01 15:42:10 -05:00
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f0664
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoTexturePresenter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000ce60
|
2024-02-01 15:42:10 -05:00
|
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, LegoTexturePresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-11-12 14:21:22 -05:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
void DoneTickle() override; // vtable+0x2c
|
|
|
|
MxResult AddToManager() override; // vtable+0x34
|
|
|
|
MxResult PutData() override; // vtable+0x4c
|
2024-01-18 08:34:14 -05:00
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x1000cf40
|
|
|
|
// LegoTexturePresenter::`scalar deleting destructor'
|
2024-03-03 15:35:56 -05:00
|
|
|
|
2024-03-03 20:34:55 -05:00
|
|
|
MxResult Read(MxDSChunk& p_chunk);
|
2024-03-09 10:49:13 -05:00
|
|
|
MxResult Store();
|
2024-03-03 15:35:56 -05:00
|
|
|
|
|
|
|
private:
|
2024-03-09 10:49:13 -05:00
|
|
|
LegoNamedTextureList* m_textures; // 0x50
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGOTEXTUREPRESENTER_H
|