1#ifndef LEGOPARTPRESENTER_H
2#define LEGOPARTPRESENTER_H
38 return "LegoPartPresenter";
[AI] A list container for storing pointers to LegoNamedPart objects.
[AI] Presents and loads Lego part definitions from SI chunks and manages their installation in ViewLO...
static void configureLegoPartPresenter(MxS32 p_partPresenterConfig1, MxS32 p_partPresenterConfig2)
[AI] Configure global settings for texture loading order and maximum number of LODs.
MxResult Read(MxDSChunk &p_chunk)
[AI] Reads Lego part and texture data from a MxDSChunk and builds internal part list.
void Reset()
[AI] Resets the LegoPartPresenter by clearing any loaded LegoNamedPartList.
~LegoPartPresenter() override
[AI] Destructor calls Destroy to release resources.
MxResult AddToManager() override
[AI] Registers this presenter with the VideoManager.
static const char * HandlerClassName()
[AI] Get static name of this handler's class.
const char * ClassName() const override
[AI] Returns the name of the concrete class.
void Destroy() override
[AI] Virtual destroy method called by framework.
void Store()
[AI] Transfers all loaded named Lego parts and LODs to the ViewLODListManager.
LegoPartPresenter()
[AI] Constructs and resets the LegoPartPresenter state.
MxBool IsA(const char *p_name) const override
[AI] Type checking: returns true if p_name is this class or a parent class name.
void ReadyTickle() override
[AI] Called when entering the Ready tickle state: loads and installs parts from the subscriber stream...
[AI] Represents a chunk of data extracted from a stream (typically from a Mindscape/Mx SI file or str...
#define NULL
[AI] Null pointer value (C/C++ semantics).