ScummVM API documentation
Sherlock::Animation Class Reference

Public Member Functions

 Animation (SherlockEngine *vm)
 
void setPrologueNames (const char *const *names, int count)
 
void setPrologueFrames (const int *frames, int count, int maxFrames)
 
void setTitleNames (const char *const *names, int count)
 
void setTitleFrames (const int *frames, int count, int maxFrames)
 
bool play (const Common::Path &filename, bool intro, int minDelay, int fade, bool setPalette, int speed)
 
bool play3DO (const Common::Path &filename, bool intro, int minDelay, bool fadeFromGrey, int speed)
 

Public Attributes

Common::Path _soundLibraryFilename
 
Common::Path _gfxLibraryFilename
 

Member Function Documentation

◆ setPrologueNames()

void Sherlock::Animation::setPrologueNames ( const char *const *  names,
int  count 
)

Load the prologue name array

◆ setPrologueFrames()

void Sherlock::Animation::setPrologueFrames ( const int *  frames,
int  count,
int  maxFrames 
)

Load the prologue frame array

◆ setTitleNames()

void Sherlock::Animation::setTitleNames ( const char *const *  names,
int  count 
)

Load the title name array

◆ setTitleFrames()

void Sherlock::Animation::setTitleFrames ( const int *  frames,
int  count,
int  maxFrames 
)

Load the title frame array

◆ play()

bool Sherlock::Animation::play ( const Common::Path filename,
bool  intro,
int  minDelay,
int  fade,
bool  setPalette,
int  speed 
)

Play a full-screen animation


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