ScummVM API documentation
Titanic::TTmajorWord Class Reference
Inheritance diagram for Titanic::TTmajorWord:
Titanic::TTword Titanic::TTaction Titanic::TTadj Titanic::TTpicture Titanic::TTpronoun

Public Member Functions

 TTmajorWord (const TTstring &str, WordClass wordClass, int val2, int val3)
 
 TTmajorWord (const TTmajorWord *src)
 
TTwordcopy () const override
 
bool proc2 (int val) const override
 
- Public Member Functions inherited from Titanic::TTword
 TTword (const TTstring &str, WordClass wordClass, int val2)
 
 TTword (const TTword *src)
 
void deleteSiblings ()
 
int readSyn (SimpleFile *file)
 
void setSyn (TTsynonym *synP)
 
int setSynStr (TTstring &str)
 
bool hasSynonyms () const
 
void appendNode (TTsynonym *node)
 
int load (SimpleFile *file, WordClass wordClass)
 
bool findSynByName (const TTstring &str, TTsynonym *dest, VocabMode mode) const
 
const char * c_str () const
 
 operator const char * () const
 
const TTstring getText ()
 
bool compareTo (const char *str) const
 
bool compareTo (TTstring *str) const
 
TTstringStatus getStatus () const
 
bool isValid () const
 
TTstringStatus getChainStatus () const
 
bool isClass (WordClass wordClass) const
 
TTwordcopyWords ()
 
virtual int proc3 () const
 
virtual void proc4 ()
 
virtual void proc5 ()
 
virtual bool checkTag () const
 
virtual bool compareTagTo (uint tag) const
 
virtual uint getTag () const
 
virtual bool proc9 (int val) const
 
virtual int proc10 () const
 
virtual void proc11 ()
 
virtual bool proc12 (int val) const
 
virtual int proc13 () const
 
virtual bool proc14 (int val) const
 
virtual int proc15 () const
 
virtual bool proc16 () const
 
virtual bool proc17 () const
 
virtual bool proc18 () const
 
virtual bool comparePronounTo (int val) const
 
virtual int proc20 () const
 
virtual FileHandle getSynFile () const
 
virtual bool checkSynFile (FileHandle file) const
 
virtual void setSynFile (FileHandle file)
 
virtual int save (SimpleFile *file) const
 

Protected Member Functions

int saveData (SimpleFile *file, int val) const
 
- Protected Member Functions inherited from Titanic::TTword
uint readNumber (const char *str)
 
bool testFileHandle (SimpleFile *file) const
 
bool testFileHandle (FileHandle resHandle) const
 

Protected Attributes

int _field2C
 
- Protected Attributes inherited from Titanic::TTword
TTstringStatus _status
 
int _field24
 
int _field28
 

Additional Inherited Members

- Public Attributes inherited from Titanic::TTword
TTword_nextP
 
TTsynonym_synP
 
TTstring _text
 
WordClass _wordClass
 
int _id
 
uint _tag
 

Member Function Documentation

◆ saveData()

int Titanic::TTmajorWord::saveData ( SimpleFile file,
int  val 
) const
protected

Dumps data for the word to a file

◆ copy()

TTword* Titanic::TTmajorWord::copy ( ) const
overridevirtual

Creates a copy of the word

Reimplemented from Titanic::TTword.

Reimplemented in Titanic::TTpicture, and Titanic::TTpronoun.


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