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) |
SimpleFile * | openResource (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 |
ScriptChangedResult Titanic::CScriptHandler::scriptChanged | ( | TTroomScript * | roomScript, |
TTnpcScript * | npcScript, | ||
uint | dialogueId | ||
) |
Set the character and room
SimpleFile* Titanic::CScriptHandler::openResource | ( | const CString & | name | ) |
Open a resource for access
Called when concept data is copied from one to another
int Titanic::CScriptHandler::setResponse | ( | TTscriptBase * | script, |
TTresponse * | response | ||
) |
Sets a conversation response