Isle
Loading...
Searching...
No Matches
mxdsobject.cpp File Reference
#include "mxdsobject.h"
#include "mxdsaction.h"
#include "mxdsanim.h"
#include "mxdsevent.h"
#include "mxdsfile.h"
#include "mxdsmediaaction.h"
#include "mxdsmultiaction.h"
#include "mxdsobjectaction.h"
#include "mxdsparallelaction.h"
#include "mxdsselectaction.h"
#include "mxdsserialaction.h"
#include "mxdssound.h"
#include "mxdsstill.h"
#include "mxutilities.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for mxdsobject.cpp:

Go to the source code of this file.

Functions

MxDSObjectDeserializeDSObjectDispatch (MxU8 *&p_source, MxS16 p_flags)
 [AI] Reads and deserializes a DS object of the specific type from an SI buffer. More...
 
MxDSObjectCreateStreamObject (MxDSFile *p_file, MxS16 p_ofs)
 [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.