102 void SetFileName(
const char* p_filename) { m_filename = p_filename; }
[AI] A wrapper for low-level file I/O, abstracting MMIOINFO functionality, and providing additional b...
MMIOINFO m_info
[AI] Underlying MMIOINFO structure used for buffered and low-level file I/O.
[AI] Represents a source file handler for SI (Streamer Interface) files, providing buffered access fo...
void SetFileName(const char *p_filename)
[AI] Sets the SI file's name.
MxResult Read(unsigned char *, MxULong) override
[AI] Reads up to the specified number of bytes from the file into a buffer.
MxS32 CalcFileSize()
[AI] Calculates and returns the file size by querying the system (Windows GetFileSize).
MxResult Seek(MxLong, MxS32) override
[AI] Seeks to an absolute or relative position in the file.
const char * ClassName() const override
[AI] Class identification.
MxResult Close() override
[AI] Closes the file and releases internal file buffers.
MxULong GetStreamBuffersNum() override
[AI] Returns the number of streaming buffers, as specified in the SI file header.
MxResult Open(MxULong) override
[AI] Opens the SI file for reading or writing with the specified style flags.
__declspec(dllexport) ~MxDSFile() override
[AI] Destructor (exported for DLL builds).
MxULong GetBufferSize() override
[AI] Returns the SI chunk's buffer size, as obtained from the SI file header.
MxBool IsA(const char *p_name) const override
[AI] Type comparison with other class names (for dynamic type identification).
[AI] Abstract base class representing a source of streamable data, providing an interface for reading...
MxBool IsA(const char *p_name) const override
[AI] Runtime type information check.
Mindscape custom string class for managing dynamic C-strings within the game engine.
#define NULL
[AI] Null pointer value (C/C++ semantics).