diff options
Diffstat (limited to 'sword2/driver/animation.h')
-rw-r--r-- | sword2/driver/animation.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sword2/driver/animation.h b/sword2/driver/animation.h index f34d8c8b06..0dcac3fc81 100644 --- a/sword2/driver/animation.h +++ b/sword2/driver/animation.h @@ -23,12 +23,24 @@ #define ANIMATION_H #include "graphics/animation.h" - #include "sound/mixer.h" - namespace Sword2 { +struct SpriteInfo; + +// This is the structure which is passed to the sequence player. It includes +// the smack to play, and any text lines which are to be displayed over the top +// of the sequence. + +struct MovieTextObject { + uint16 startFrame; + uint16 endFrame; + SpriteInfo *textSprite; + uint32 speechBufferSize; + uint16 *speech; +}; + class AnimationState : public ::Graphics::BaseAnimationState { private: Sword2Engine *_vm; |