ScummVM API documentation
Ultima::Ultima8::SpeechFlex Class Reference
Inheritance diagram for Ultima::Ultima8::SpeechFlex:
Ultima::Ultima8::SoundFlex Ultima::Ultima8::Archive

Public Member Functions

 SpeechFlex (Common::SeekableReadStream *rs)
 
int getIndexForPhrase (const Std::string &phrase, uint32 start, uint32 &end) const
 
uint32 getSpeechLength (const Std::string &phrase)
 get total length (in milliseconds) of speech for a phrase
 
- Public Member Functions inherited from Ultima::Ultima8::SoundFlex
 SoundFlex (Common::SeekableReadStream *rs)
 
AudioSamplegetSample (uint32 index)
 Get an audiosample.
 
void cache (uint32 index) override
 Cache a single object.
 
void uncache (uint32 index) override
 
bool isCached (uint32 index) const override
 Check if an object is cached.
 

Additional Inherited Members

- Protected Member Functions inherited from Ultima::Ultima8::Archive
uint8 * getRawObject (uint32 index, uint32 *sizep=0)
 
uint32 getRawSize (uint32 index) const
 
 Archive ()
 create Archive without any input sources
 
 Archive (Common::SeekableReadStream *rs)
 
bool addSource (FlexFile *af)
 
bool addSource (Common::SeekableReadStream *rs)
 add input source, autodetecting the type (as the constructor)
 
void cache ()
 Cache all objects.
 
void uncache ()
 
uint32 getCount () const
 
- Protected Attributes inherited from Ultima::Ultima8::Archive
uint32 _count
 

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