5.1 Overview

Plugins that have the capability flag HWPLUG_CAPS_SAVEANIM set can register one or more additional output animation formats. The user will then be able to save animations in the output formats supported by the plugin. Plugins have to register new output animation formats by passing the name of a constant that should be used to access the new format. For example, a plugin might choose to register a new output animation format under the constant #ANMFMT_CUSTOMFORMAT. Whenever the user calls a command like SaveAnim() now and passes #ANMFMT_CUSTOMFORMAT as the animation format, Hollywood will ask the plugin to save the animation.

Note that anim saver plugins need not implement all functions offered by the anim saver plugin API. Some functions are optional and need only be implemented in specific cases. Here's a list of optional functions:

BeginAnimStreamExt()
Only used if you set the HWEXT_SAVEANIM_BEGINANIMSTREAM extension flag. See Extension plugins to learn how to use plugin extension bits.


Show TOC