ScummVM API documentation
Titanic::CDialogueFile Class Reference

Public Member Functions

 CDialogueFile (const CString &filename, uint count)
 
void clear ()
 
FilegetFile ()
 
DialogueResourceopenTextEntry (int index)
 
DialogueResourceopenWaveEntry (int index)
 
bool closeEntry (DialogueResource *cacheEntry)
 
bool read (DialogueResource *cacheEntry, byte *buffer, size_t bytesToRead)
 

Member Function Documentation

◆ clear()

void Titanic::CDialogueFile::clear ( )

Clear the loaded data

◆ openTextEntry()

DialogueResource* Titanic::CDialogueFile::openTextEntry ( int  index)
inline

Sets up a text entry within the dialogue file for access

◆ openWaveEntry()

DialogueResource* Titanic::CDialogueFile::openWaveEntry ( int  index)
inline

Sets up a wave (sound) entry within the dialogue file for access

◆ closeEntry()

bool Titanic::CDialogueFile::closeEntry ( DialogueResource cacheEntry)

Removes an entry from the cache

◆ read()

bool Titanic::CDialogueFile::read ( DialogueResource cacheEntry,
byte *  buffer,
size_t  bytesToRead 
)

Read data for a resource


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