Public Member Functions | |
CDialogueFile (const CString &filename, uint count) | |
void | clear () |
File * | getFile () |
DialogueResource * | openTextEntry (int index) |
DialogueResource * | openWaveEntry (int index) |
bool | closeEntry (DialogueResource *cacheEntry) |
bool | read (DialogueResource *cacheEntry, byte *buffer, size_t bytesToRead) |
void Titanic::CDialogueFile::clear | ( | ) |
Clear the loaded data
|
inline |
Sets up a text entry within the dialogue file for access
|
inline |
Sets up a wave (sound) entry within the dialogue file for access
bool Titanic::CDialogueFile::closeEntry | ( | DialogueResource * | cacheEntry | ) |
Removes an entry from the cache
bool Titanic::CDialogueFile::read | ( | DialogueResource * | cacheEntry, |
byte * | buffer, | ||
size_t | bytesToRead | ||
) |
Read data for a resource