RenderWare V2.1

Previous Page Index Next Page

RwBool

RwWriteShape(char *path, RwClump *clump);

Description

Writes the clump as a script (.rwx) file with the given name.

Arguments

path Pointer to the filename.

clump Pointer to the clump.

Return Value

TRUE if successful, and FALSE otherwise.

Comment

When a clump read from a script file is written out, certain aspects of the structure of the original input script file are not preserved. However, this does not affect the appearance or the behavior of the clump.

It is recommended that the extension .rwx be used for script files. However, this is not enforced by the library.

See Also

RwClumpBegin()

RwClumpEnd()

RwCreateClump()