22 #ifndef TITANIC_DESKBOT_SCRIPT_H 23 #define TITANIC_DESKBOT_SCRIPT_H 25 #include "common/array.h" 26 #include "titanic/true_talk/tt_npc_script.h" 35 void setupSentences();
40 uint addAssignedRoomDialogue2();
45 void addAssignedRoomDialogue3();
50 uint getStateDialogueId()
const;
55 void setCurrentState(uint newId, uint index);
65 int checkCommonWords(
const TTsentence *sentence);
70 void addAskBreakfast();
75 void addAssignedRoom();
93 const char *charName,
int v3,
int val2);
106 uint tag1, uint tag2, uint remainder)
override;
111 int updateState(uint oldId, uint newId,
int index)
override;
int preprocess(const TTroomScript *roomScript, const TTsentence *sentence)
int process(const TTroomScript *roomScript, const TTsentence *sentence) override
virtual bool isDial0Medium() const
Definition: tt_room_script.h:61
Definition: deskbot_script.h:30
int doSentenceEntry(int val1, const int *srcIdP, const TTroomScript *roomScript, const TTsentence *sentence) override
bool randomResponse(uint index) override
Definition: script_support.h:90
Definition: tt_sentence.h:49
Definition: script_support.h:177
Definition: tt_npc_script.h:88
int preResponse(uint id) override
uint addAssignedRoomDialogue()
int updateState(uint oldId, uint newId, int index) override
bool isDial1Medium() const
virtual bool isDial1Low() const
ScriptChangedResult scriptChanged(const TTroomScript *roomScript, uint id) override
uint getDialsBitset() const override
virtual bool isDial0Low() const