aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_concept.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_concept.h')
-rw-r--r--engines/titanic/true_talk/tt_concept.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/tt_concept.h b/engines/titanic/true_talk/tt_concept.h
index 787013e6c3..8006e56240 100644
--- a/engines/titanic/true_talk/tt_concept.h
+++ b/engines/titanic/true_talk/tt_concept.h
@@ -67,12 +67,29 @@ private:
* Resets the concept
*/
void reset();
+
+ /**
+ * Copy auxiliary data from the specified source concept
+ */
+ void copyFrom(const TTconcept &src);
public:
TTconcept *_nextP;
public:
TTconcept();
TTconcept(TTscriptBase *script, ScriptType scriptType);
TTconcept(TTword *word, ScriptType scriptType);
+ TTconcept(const TTconcept &src);
+
+ /**
+ * Compares the name of the associated word, if any,
+ * to the passed string
+ */
+ bool compareTo(const char *str) const;
+
+ /**
+ * Return the status of the concept
+ */
+ int getStatus() const { return _status; }
};
} // End of namespace Titanic