diff options
author | Paul Gilbert | 2016-07-31 13:06:51 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-31 13:06:51 -0400 |
commit | e2b00938c7488af62521e1ad4e62566fa4077af0 (patch) | |
tree | fd3c73410e787aceec034c0bd3b65ad263ff02b7 /engines/titanic/true_talk/deskbot_script.h | |
parent | 8a2491c51b1b7d27382030f3cb9d58c5b56265f0 (diff) | |
download | scummvm-rg350-e2b00938c7488af62521e1ad4e62566fa4077af0.tar.gz scummvm-rg350-e2b00938c7488af62521e1ad4e62566fa4077af0.tar.bz2 scummvm-rg350-e2b00938c7488af62521e1ad4e62566fa4077af0.zip |
TITANIC: Added DeskbotScript preprocess
Diffstat (limited to 'engines/titanic/true_talk/deskbot_script.h')
-rw-r--r-- | engines/titanic/true_talk/deskbot_script.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/deskbot_script.h b/engines/titanic/true_talk/deskbot_script.h index bbe52bd557..55896a2425 100644 --- a/engines/titanic/true_talk/deskbot_script.h +++ b/engines/titanic/true_talk/deskbot_script.h @@ -62,6 +62,31 @@ private: * Sets state data in flags 17 */ void setFlags17(uint newId, uint index); + + /** + * Does preprocessing for the sentence + */ + int preprocess(const TTroomScript *roomScript, const TTsentence *sentence); + + /** + * Scans the quotes tree + */ + int searchQuotes(const TTroomScript *roomScript, const TTsentence *sentence); + + /** + * Checks for common words + */ + int checkCommonWords(const TTsentence *sentence); + + /** + * Adds response dialogue 241716 + */ + void add241716(); + + /** + * Adds a dialogue description for the player's assigned room + */ + void addAssignedRoom(); public: DeskbotScript(int val1, const char *charClass, int v2, const char *charName, int v3, int val2); |