ScummVM API documentation
Titanic::TTtalker Class Reference
Inheritance diagram for Titanic::TTtalker:
Titanic::ListItem Titanic::CSaveableObject

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 ClassDefgetType () 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 CSaveableObjectcreateInstance (const Common::String &name)
 
- Static Public Attributes inherited from Titanic::CSaveableObject
static ClassDef_type
 

Member Function Documentation

◆ speechStarted()

void Titanic::TTtalker::speechStarted ( const CString dialogueStr,
uint  dialogueId,
uint  speechDuration 
)

Start a new speech

◆ endSpeech()

void Titanic::TTtalker::endSpeech ( int  val)

End the speech

◆ speechEnded()

void Titanic::TTtalker::speechEnded ( )

Called when a speech is finished, to signal to the associated character that the speech is over


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