22 #ifndef TITANIC_TT_SENTENCE_H 23 #define TITANIC_TT_SENTENCE_H 25 #include "common/array.h" 26 #include "titanic/true_talk/tt_concept_node.h" 27 #include "titanic/true_talk/tt_npc_script.h" 28 #include "titanic/true_talk/tt_room_script.h" 29 #include "titanic/true_talk/tt_sentence_node.h" 30 #include "titanic/true_talk/tt_string.h" 77 void setState(
int v) { _field34 = v; }
78 void set38(
int v) { _field38 = v; }
79 bool checkCategory()
const {
return _category > 1 && _category <= 10; }
81 return conceptNode ? conceptNode->get18() : 0;
83 int get58()
const {
return _field58; }
87 int getStatus()
const {
return _status; }
102 bool isFrameSlotClass(
int slotIndex, WordClass wordClass,
const TTconceptNode *conceptNode =
nullptr)
const;
109 int storeVocabHit(
TTword *word);
117 bool fn4(
int mode,
int wordId,
const TTconceptNode *node =
nullptr)
const;
119 bool isConcept34(
int slotIndex,
const TTconceptNode *node =
nullptr)
const;
125 bool localWord(
const char *str)
const;
131 bool contains(
const char *str)
const;
Definition: tt_sentence.h:37
Definition: tt_concept.h:35
TTsentenceConcept * addSibling()
Definition: tt_room_script.h:61
Definition: tt_sentence.h:49
Definition: tt_npc_script.h:88
Definition: tt_concept_node.h:29
Definition: tt_string.h:45
Definition: script_handler.h:36
Definition: tt_sentence_node.h:30