ScummVM API documentation
Titanic::CScriptHandler Class Reference

Public Member Functions

 CScriptHandler (CTitleEngine *owner, int val1, VocabMode vocabMode)
 
ScriptChangedResult scriptChanged (TTroomScript *roomScript, TTnpcScript *npcScript, uint dialogueId)
 
int processInput (TTroomScript *roomScript, TTnpcScript *npcScript, const TTstring &line)
 
SimpleFileopenResource (const CString &name)
 
void setParserConcept (TTconcept *newConcept, TTconcept *oldConcept)
 
int setResponse (TTscriptBase *script, TTresponse *response)
 
void handleWord (const TTstring *str)
 

Public Attributes

TTparser _parser
 
TTvocab_vocab
 
TTscriptBase_script
 
TTconcept_concept1P
 
TTconcept_concept2P
 
TTconcept_concept3P
 
TTconcept_concept4P
 

Member Function Documentation

◆ scriptChanged()

ScriptChangedResult Titanic::CScriptHandler::scriptChanged ( TTroomScript roomScript,
TTnpcScript npcScript,
uint  dialogueId 
)

Set the character and room

◆ openResource()

SimpleFile* Titanic::CScriptHandler::openResource ( const CString name)

Open a resource for access

◆ setParserConcept()

void Titanic::CScriptHandler::setParserConcept ( TTconcept newConcept,
TTconcept oldConcept 
)

Called when concept data is copied from one to another

◆ setResponse()

int Titanic::CScriptHandler::setResponse ( TTscriptBase script,
TTresponse response 
)

Sets a conversation response


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