1#ifndef MXSTREAMPROVIDER_H
2#define MXSTREAMPROVIDER_H
25 return "MxStreamProvider";
[AI] Base virtual class for all Mindscape engine (Mx) objects.
virtual MxBool IsA(const char *p_name) const
[AI] Checks whether this object's class type or parents match the given name.
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
[AI] Represents a source file handler for SI (Streamer Interface) files, providing buffered access fo...
[AI] Controller for streaming and managing multimedia resources and actions during gameplay.
[AI] Abstract base class for stream resource providers in the LEGO Island engine.
virtual MxU32 GetFileSize()=0
[AI] Gets the file size, in bytes, of the underlying SI file resource.
virtual MxResult SetResourceToGet(MxStreamController *p_pLookup)
[AI] Attaches a stream controller as the resource to provide data for.
virtual MxS32 GetStreamBuffersNum()=0
[AI] Returns the number of stream buffers internally maintained for this resource.
MxStreamProvider()
[AI] Default constructor. Initializes stream provider with no lookup or file resource attached....
MxDSFile * m_pFile
[AI] Pointer to the loaded SI file associated with this provider. [AI]
virtual void VTable0x20(MxDSAction *p_action)
[AI] Virtual hook for subclasses to react to new stream actions being queued.
const char * ClassName() const override
[AI] Returns the name identifier for this class.
virtual MxU32 GetLengthInDWords()=0
[AI] Gets the full buffer length, interpreted as a DWORD-count, for direct buffer streaming.
virtual MxU32 * GetBufferForDWords()=0
[AI] Returns a pointer to the underlying buffer, cast as an array of DWORDs, for streaming purposes.
MxStreamController * m_pLookup
[AI] The stream controller using this provider as its data source. [AI]
MxBool IsA(const char *p_name) const override
[AI] Checks if this object is of the requested class name, or a subclass thereof.
#define NULL
[AI] Null pointer value (C/C++ semantics).
#define SUCCESS
[AI] Used to indicate a successful operation in result codes.