ScummVM API documentation
Titanic::TTparser Class Reference

Public Member Functions

 TTparser (CScriptHandler *owner)
 
int preprocess (TTsentence *sentence)
 
int findFrames (TTsentence *sentence)
 
void conceptChanged (TTconcept *newConcept, TTconcept *oldConcept)
 

Public Attributes

CScriptHandler_owner
 
TTsentenceConcept_sentenceConcept
 
TTsentence_sentence
 
int _fieldC
 
int _field10
 
int _field14
 
TTword_currentWordP
 
StringArray _pronouns
 

Member Function Documentation

◆ preprocess()

int Titanic::TTparser::preprocess ( TTsentence sentence)

Preprocesses the passed input text, to handle things like lowercasing all the words, and replcaing common slang with their full equivalents

◆ conceptChanged()

void Titanic::TTparser::conceptChanged ( TTconcept newConcept,
TTconcept oldConcept 
)

Called when a concept is copied from one to another


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