Public Member Functions | |
TTtalker (CTrueTalkManager *owner, CTrueTalkNPC *npc) | |
void | speechStarted (const CString &dialogueStr, uint dialogueId, uint speechDuration) |
void | endSpeech (int val) |
void | speechEnded () |
Public Member Functions inherited from Titanic::ListItem | |
void | save (SimpleFile *file, int indent) override |
void | load (SimpleFile *file) override |
Public Member Functions inherited from Titanic::CSaveableObject | |
virtual ClassDef * | getType () const |
bool | isInstanceOf (const ClassDef *classDef) const |
virtual void | saveHeader (SimpleFile *file, int indent) |
virtual void | saveFooter (SimpleFile *file, int indent) |
Public Attributes | |
CTrueTalkManager * | _owner |
CTrueTalkNPC * | _npc |
CString | _line |
int | _dialogueId |
int | _talkEndState |
int | _done |
Public Attributes inherited from Titanic::ListItem | |
CLASSDEF | |
Additional Inherited Members | |
Static Public Member Functions inherited from Titanic::CSaveableObject | |
static void | initClassList () |
static void | freeClassList () |
static CSaveableObject * | createInstance (const Common::String &name) |
Static Public Attributes inherited from Titanic::CSaveableObject | |
static ClassDef * | _type |
void Titanic::TTtalker::speechStarted | ( | const CString & | dialogueStr, |
uint | dialogueId, | ||
uint | speechDuration | ||
) |
Start a new speech
void Titanic::TTtalker::endSpeech | ( | int | val | ) |
End the speech
void Titanic::TTtalker::speechEnded | ( | ) |
Called when a speech is finished, to signal to the associated character that the speech is over