22 #ifndef TITANIC_TT_SCRIPT_BASE_H 23 #define TITANIC_TT_SCRIPT_BASE_H 25 #include "titanic/true_talk/tt_string.h" 26 #include "titanic/true_talk/tt_hist.h" 27 #include "titanic/true_talk/tt_node.h" 28 #include "titanic/true_talk/tt_response.h" 32 enum ScriptChangedResult {
33 SCR_0 = 0, SCR_1 = 1, SCR_2 = 2, SCR_3 = 3, SCR_4 = 4, SCR_5 = 5
93 TTscriptBase(
int scriptId,
const char *charClass,
int v2,
const char *charName,
94 int v3,
int v4,
int v5,
int v6,
int v7);
97 virtual void addResponse(
const TTstring &str);
99 virtual void addResponse(
int id);
int scriptPreprocess(TTsentence *sentence)
int getId() const
Definition: tt_script_base.h:115
Definition: tt_response.h:30
void appendResponse2(int index, int *maxP, const TTstring &str)
Definition: tt_script_base.h:77
Definition: tt_sentence.h:49
virtual void applyResponse()
const TTstring getText()
Definition: tt_script_base.h:125
void appendResponse(int index, int *maxP, int id)
void setState(int state)
Definition: tt_script_base.h:84
int getState() const
Definition: tt_script_base.h:89
Definition: tt_string.h:45
int getStatus() const
Definition: tt_script_base.h:120
Definition: tt_script_base.h:38