mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
* Implement/match LegoPathActor::ParseAction (#946) * Implement/match LegoPathActor::ParseAction * Fix naming * Space * Implement/match Isle::UpdateGlobe (#947) * Implement/match Isle::UpdateGlobe * Change function access * Implement/match Isle::CreateState and related (#948) * Implement/match actor Create functions (#949) * Implement/match Isle::Escape (#950) * Implement/match Isle::FUN_10033350 (#951) * Implement/match Isle::HandleType19Notification (#952) * Implement/match Isle::HandleType19Notification * Fix * Implement/match LegoAnimationManager::FUN_10063b90 (#953) * Implement/match LegoAnimationManager::FUN_100648f0 (#954) * Implement LegoROI::FUN_100a9410 (#955) * WIP * WIP * Remove space * Fix * Implement/match LegoExtraActor::VTable0x6c (#956) * Match LegoUnknown::FUN_1009a1e0 (#957) * Fix extra actor collisions (#958) * Implement/match IslePathActor::FUN_1001b660 (#960) * Refactor MxBitmap (again) (#961) * Remove this * Starting list of beta addrs * Static for height-specific abs, fix StrechBits * MxBitmap refactor * Implement/match LegoPathBoundary::FUN_100586e0 and FUN_10057fe0 (#962) * Implement/match LegoAnimPresenter::FUN_1006b140 (#963) * Implement LegoMeterPresenter::DrawMeter (#964) * Implement LegoMeterPresenter::DrawMeter * New MxRect16 header, offsets and size annotations * Missing mxtypes include * Implement/match LegoAnimationManager::FUN_10063270 (#965) * Implement/match LegoAnimMMPresenter::FUN_1004b840 (#966) * Implement/match LegoAnimationManager::FUN_10062e20 (#967) * Beta match MxPalette (#968) * Beta match MxPalette * Modern compiler fix * Implement/match LegoCameraController::FUN_10012290 and FUN_10012320 (#969) * Implement/match LegoControlManager::FUN_100293c0 (#970) * Implement/match Pizzeria::HandleClick (#971) * Implement/match Lego3DWavePresenter::StartingTickle (#972) * Implement/match Lego3DWavePresenter::StartingTickle * Fix annotation * Add StreamingTickle * Rename * Add static HandlerClassName function (#973) * Add static HandlerClassName function * Use method in PresenterNameDispatch --------- Co-authored-by: disinvite@users.noreply.github.com <disinvite@users.noreply.github.com>
49 lines
1.2 KiB
C++
49 lines
1.2 KiB
C++
#ifndef LEGOTEXTUREPRESENTER_H
|
|
#define LEGOTEXTUREPRESENTER_H
|
|
|
|
#include "legonamedtexturelist.h"
|
|
#include "mxmediapresenter.h"
|
|
|
|
// VTABLE: LEGO1 0x100d4d90
|
|
// SIZE 0x54
|
|
class LegoTexturePresenter : public MxMediaPresenter {
|
|
public:
|
|
LegoTexturePresenter() : m_textures(NULL) {}
|
|
~LegoTexturePresenter() override;
|
|
|
|
// FUNCTION: BETA10 0x100a73c0
|
|
static const char* HandlerClassName()
|
|
{
|
|
// STRING: LEGO1 0x100f0664
|
|
return "LegoTexturePresenter";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1000ce50
|
|
// FUNCTION: BETA10 0x100a7390
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
return HandlerClassName();
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1000ce60
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, LegoTexturePresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
|
}
|
|
|
|
void DoneTickle() override; // vtable+0x2c
|
|
MxResult AddToManager() override; // vtable+0x34
|
|
MxResult PutData() override; // vtable+0x4c
|
|
|
|
// SYNTHETIC: LEGO1 0x1000cf40
|
|
// LegoTexturePresenter::`scalar deleting destructor'
|
|
|
|
MxResult Read(MxDSChunk& p_chunk);
|
|
MxResult Store();
|
|
|
|
private:
|
|
LegoNamedTextureList* m_textures; // 0x50
|
|
};
|
|
|
|
#endif // LEGOTEXTUREPRESENTER_H
|