ScummVM API documentation
Director::Score Class Reference

Public Member Functions

 Score (Movie *movie)
 
MoviegetMovie () const
 
void loadFrames (Common::SeekableReadStreamEndian &stream, uint16 version)
 
bool loadFrame (int frame, bool loadCast)
 
bool readOneFrame ()
 
void updateFrame (Frame *frame)
 
FramegetFrameData (int frameNum)
 
void loadLabels (Common::SeekableReadStreamEndian &stream)
 
void loadActions (Common::SeekableReadStreamEndian &stream)
 
void loadSampleSounds (uint type)
 
uint16 getLabel (Common::String &label)
 
Common::StringgetLabelList ()
 
Common::StringgetFrameLabel (uint id)
 
void setStartToLabel (Common::String &label)
 
void gotoLoop ()
 
void gotoNext ()
 
void gotoPrevious ()
 
void startPlay ()
 
void step ()
 
void stopPlay ()
 
void setDelay (uint32 ticks)
 
void setCurrentFrame (uint16 frameId)
 
uint16 getCurrentFrameNum ()
 
int getNextFrame ()
 
uint16 getFramesNum ()
 
void setPuppetTempo (int16 puppetTempo)
 
CastMemberID getCurrentPalette ()
 
ChannelgetChannelById (uint16 id)
 
SpritegetSpriteById (uint16 id)
 
SpritegetOriginalSpriteById (uint16 id)
 
void setSpriteCasts ()
 
int getPreviousLabelNumber (int referenceFrame)
 
int getCurrentLabelNumber ()
 
int getNextLabelNumber (int referenceFrame)
 
uint16 getSpriteIDFromPos (Common::Point pos)
 
uint16 getMouseSpriteIDFromPos (Common::Point pos)
 
uint16 getActiveSpriteIDFromPos (Common::Point pos)
 
bool checkSpriteIntersection (uint16 spriteId, Common::Point pos)
 
Common::List< Channel * > getSpriteIntersections (const Common::Rect &r)
 
uint16 getSpriteIdByMemberId (CastMemberID id)
 
bool refreshPointersForCastMemberID (CastMemberID id)
 
bool renderTransition (uint16 frameId, RenderMode mode)
 
void renderFrame (uint16 frameId, RenderMode mode=kRenderModeNormal)
 
void incrementFilmLoops ()
 
void updateSprites (RenderMode mode=kRenderModeNormal)
 
bool renderPrePaletteCycle (RenderMode mode=kRenderModeNormal)
 
void setLastPalette ()
 
bool isPaletteColorCycling ()
 
void renderPaletteCycle (RenderMode mode=kRenderModeNormal)
 
void renderCursor (Common::Point pos, bool forceUpdate=false)
 
void updateWidgets (bool hasVideoPlayback)
 
void invalidateRectsForMember (CastMember *member)
 
void playSoundChannel (bool puppetOnly)
 
Common::String formatChannelInfo ()
 

Static Public Member Functions

static int compareLabels (const void *a, const void *b)
 

Public Attributes

Common::Array< Channel * > _channels
 
Common::SortedArray< Label * > * _labels
 
Common::HashMap< uint16, Common::String_actions
 
Common::HashMap< uint16, bool > _immediateActions
 
Common::Array< Frame * > _scoreCache
 
uint32 _version
 
Frame_currentFrame
 
uint32 _curFrameNumber
 
uint32 _numFrames
 
uint32 _framesVersion
 
uint32 _numChannels
 
uint8 _currentTempo
 
CastMemberID _currentPaletteId
 
uint _firstFramePosition
 
uint _framesStreamSize
 
Common::MemoryReadStreamEndian_framesStream
 
byte _currentFrameRate
 
byte _puppetTempo
 
bool _puppetPalette
 
int _paletteTransitionIndex
 
byte _paletteSnapshotBuffer [768]
 
PlayState _playState
 
uint32 _nextFrameTime
 
uint32 _nextFrameDelay
 
int _lastTempo
 
int _waitForChannel
 
int _waitForVideoChannel
 
bool _waitForClick
 
bool _waitForClickCursor
 
bool _cursorDirty
 
bool _activeFade
 
bool _exitFrameCalled
 
Cursor _defaultCursor
 
CursorRef _currentCursor
 
bool _skipTransition
 
int _numChannelsDisplayed
 

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