ScummVM API documentation
Hollywood::AnimationEventSpec< Spec > Class Template Reference

#include <animation_events.h>

Public Member Functions

Spec & patchAt (int frame, byte selector)
 
Spec & resourcePatchAt (int frame, uint resourceChunkIndex)
 
Spec & soundAt (int frame, uint16 soundId, byte volumePercent=100, byte slotIndex=AnimationFrameEvent::kMainSoundSlot)
 
Spec & loopingSoundAt (int frame, uint16 soundId, byte volumePercent=100, byte slotIndex=AnimationFrameEvent::kMainSoundSlot)
 
Spec & stopSoundAt (int frame)
 
Spec & ambientSoundAt (int frame, uint16 soundId, byte volumePercent=100, byte slotIndex=0)
 
Spec & loopingAmbientSoundAt (int frame, uint16 soundId, byte volumePercent=100, byte slotIndex=0)
 
Spec & residentSoundAt (int frame, byte soundId, byte volumePercent=100)
 
Spec & secondarySpeechAt (int frame, uint16 rowIndex, byte frameIndex, byte speechId=0)
 
Spec & primarySpeechAt (int frame, uint16 rowIndex, byte frameIndex, uint16 centerX, uint16 topY, byte red, byte green, byte blue)
 
Spec & actorPathAt (int frame, int targetX, int targetY, byte finalFacing, byte finalCel, uint32 frameMillis)
 
Spec & layerFrameAt (int frame, uint layerId, byte layerFrame)
 
Spec & mappedLayerFrames (uint layerId, const byte *mappedFrames, uint mappedFrameCount, int firstPlaybackFrame=0)
 
Spec & visibleMappedLayerFrames (uint layerId, const byte *mappedFrames, uint mappedFrameCount, int firstPlaybackFrame=0)
 
Spec & layerVisibleAt (int frame, uint layerId, bool visible)
 
Spec & layerResetAt (int frame, uint layerId, byte layerFrame)
 
template<class T , class V >
Spec & commitAt (int frame, T &target, const V &value)
 
Spec & invalidatePaletteAt (int frame)
 
Spec & fadeFromBlackAt (int frame)
 
Spec & hookAt (int frame, byte hookId)
 
Spec & hookEveryFrame (byte hookId)
 

Public Attributes

Common::Array< AnimationFrameEvent > _events
 

Detailed Description

template<class Spec>
class Hollywood::AnimationEventSpec< Spec >

Adds ordered per-frame actions to an animation range or overlay specification.


The documentation for this class was generated from the following file: