Isle
Loading...
Searching...
No Matches
mxdsobject.h File Reference
#include "decomp.h"
#include "mxatom.h"
#include "mxcore.h"
#include "mxutilitylist.h"
Include dependency graph for mxdsobject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MxDSObjectList
 [AI] Utility list for managing dynamic sequence (DS) objects, provides search and removal by pointer and state. More...
 
class  MxDSObject
 [AI] Base class for any object deserialized from an SI (script/data) file in the LEGO Island engine. More...
 

Functions

MxDSObjectDeserializeDSObjectDispatch (MxU8 *&, MxS16)
 [AI] Reads and deserializes a DS object of the specific type from an SI buffer. More...
 
MxDSObjectCreateStreamObject (MxDSFile *, MxS16)
 [AI] Creates and deserializes a stream object from a chunk inside a DS file. More...
 

Function Documentation

◆ CreateStreamObject()

MxDSObject * CreateStreamObject ( MxDSFile p_file,
MxS16  p_ofs 
)

[AI] Creates and deserializes a stream object from a chunk inside a DS file.

Parameters
p_filePointer to DS file to load from. [AI]
p_ofsOffset into the DS file chunk. [AI]
Returns
Pointer to a newly created/deserialized DS object, or NULL on error. [AI]

Definition at line 266 of file mxdsobject.cpp.

◆ DeserializeDSObjectDispatch()

MxDSObject * DeserializeDSObjectDispatch ( MxU8 *&  p_source,
MxS16  p_flags 
)

[AI] Reads and deserializes a DS object of the specific type from an SI buffer.

Parameters
p_sourcePointer to buffer pointer; pointer is advanced upon deserialization. [AI]
p_flagsOptional flags used to influence deserialization (context-specific). [AI]
Returns
Pointer to the newly allocated MxDSObject (specific derived type), or NULL if type is unknown. [AI]

Definition at line 210 of file mxdsobject.cpp.