RenderWare V2.1

Previous Page Index Next Page

RwClump *

RwGetFirstChildClump(RwClump *clump);

Description

Retrieves the first child of the clump.

Arguments

clump Pointer to the clump.

Return Value

A pointer to the child clump. NULL is returned if the clump has no children or an error occurred. Errors can be checked for using RwGetError().

Comments

In the absence of any deletions, the first child of a clump is the one that was first added to the clump using RwAddChildToClump().

See Also

RwAddChildToClump()

RwGetClumpNumChildren()

RwGetClumpParent()

RwGetError()

RwGetNextClump()

RwRemoveChildFromClump()

RwInt32

RwGetInternalError(void);

Description

Retrieves a code representing the type of internal error that has occurred.

Arguments

None.

Return Value

The internal error code.

Comments

In the unlikely event that RwGetError() returns E_RW_INTERNAL, this function should be called in order to retrieve the internal error code. The number returned can then be reported to the RenderWare technical support department.

See Also

RwGetError()

RwSetUserError()