diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/true_talk/bellbot_script.cpp | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/bellbot_script.h | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/deskbot_script.cpp | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/deskbot_script.h | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/doorbot_script.cpp | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/doorbot_script.h | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/liftbot_script.cpp | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/liftbot_script.h | 6 | ||||
-rw-r--r-- | engines/titanic/true_talk/maitred_script.cpp | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/maitred_script.h | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/parrot_script.cpp | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/parrot_script.h | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/succubus_script.cpp | 5 | ||||
-rw-r--r-- | engines/titanic/true_talk/succubus_script.h | 5 |
14 files changed, 50 insertions, 21 deletions
diff --git a/engines/titanic/true_talk/bellbot_script.cpp b/engines/titanic/true_talk/bellbot_script.cpp index 08bddcb7da..623fe07a5d 100644 --- a/engines/titanic/true_talk/bellbot_script.cpp +++ b/engines/titanic/true_talk/bellbot_script.cpp @@ -53,8 +53,9 @@ void BellbotScript::setupSentences() { _entryCount = 0; } -void BellbotScript::proc7(int v1, int v2) { - warning("TODO"); +int BellbotScript::process(TTroomScript *roomScript, TTsentence *sentence) { + // TODO + return 0; } ScriptChangedResult BellbotScript::scriptChanged(TTscriptBase *roomScript, uint id) { diff --git a/engines/titanic/true_talk/bellbot_script.h b/engines/titanic/true_talk/bellbot_script.h index 141346f820..b6aa92ee0f 100644 --- a/engines/titanic/true_talk/bellbot_script.h +++ b/engines/titanic/true_talk/bellbot_script.h @@ -43,7 +43,10 @@ public: BellbotScript(int val1, const char *charClass, int v2, const char *charName, int v3, int val2); - virtual void proc7(int v1, int v2); + /** + * Does NPC specific processing of the parsed sentence + */ + virtual int process(TTroomScript *roomScript, TTsentence *sentence); /** * Called when the script/id changes diff --git a/engines/titanic/true_talk/deskbot_script.cpp b/engines/titanic/true_talk/deskbot_script.cpp index 91d90b703b..999dd65473 100644 --- a/engines/titanic/true_talk/deskbot_script.cpp +++ b/engines/titanic/true_talk/deskbot_script.cpp @@ -54,8 +54,9 @@ void DeskbotScript::setupSentences() { _entryCount = 0; } -void DeskbotScript::proc7(int v1, int v2) { - warning("TODO"); +int DeskbotScript::process(TTroomScript *roomScript, TTsentence *sentence) { + // TODO + return 0; } ScriptChangedResult DeskbotScript::scriptChanged(TTscriptBase *roomScript, uint id) { diff --git a/engines/titanic/true_talk/deskbot_script.h b/engines/titanic/true_talk/deskbot_script.h index a5b879808b..973641bcc4 100644 --- a/engines/titanic/true_talk/deskbot_script.h +++ b/engines/titanic/true_talk/deskbot_script.h @@ -38,7 +38,10 @@ public: DeskbotScript(int val1, const char *charClass, int v2, const char *charName, int v3, int val2); - virtual void proc7(int v1, int v2); + /** + * Does NPC specific processing of the parsed sentence + */ + virtual int process(TTroomScript *roomScript, TTsentence *sentence); /** * Called when the script/id changes diff --git a/engines/titanic/true_talk/doorbot_script.cpp b/engines/titanic/true_talk/doorbot_script.cpp index 427ed65afc..65bf88c4b4 100644 --- a/engines/titanic/true_talk/doorbot_script.cpp +++ b/engines/titanic/true_talk/doorbot_script.cpp @@ -108,8 +108,9 @@ int DoorbotScript::chooseResponse(TTroomScript *roomScript, TTsentence *sentence return TTnpcScript::chooseResponse(roomScript, sentence, tag); } -void DoorbotScript::proc7(int v1, int v2) { - warning("TODO"); +int DoorbotScript::process(TTroomScript *roomScript, TTsentence *sentence) { + // TODO + return 0; } ScriptChangedResult DoorbotScript::scriptChanged(TTscriptBase *roomScript, uint id) { diff --git a/engines/titanic/true_talk/doorbot_script.h b/engines/titanic/true_talk/doorbot_script.h index 3bff98b812..fee23734be 100644 --- a/engines/titanic/true_talk/doorbot_script.h +++ b/engines/titanic/true_talk/doorbot_script.h @@ -49,7 +49,10 @@ public: */ virtual int chooseResponse(TTroomScript *roomScript, TTsentence *sentence, uint tag); - virtual void proc7(int v1, int v2); + /** + * Does NPC specific processing of the parsed sentence + */ + virtual int process(TTroomScript *roomScript, TTsentence *sentence); /** * Called when the script/id changes diff --git a/engines/titanic/true_talk/liftbot_script.cpp b/engines/titanic/true_talk/liftbot_script.cpp index 4a8a86060d..36aea54838 100644 --- a/engines/titanic/true_talk/liftbot_script.cpp +++ b/engines/titanic/true_talk/liftbot_script.cpp @@ -80,8 +80,9 @@ int LiftbotScript::chooseResponse(TTroomScript *roomScript, TTsentence *sentence } } -void LiftbotScript::proc7(int v1, int v2) { - warning("TODO"); +int LiftbotScript::process(TTroomScript *roomScript, TTsentence *sentence) { + // TODO + return 0; } int LiftbotScript::proc9() const { diff --git a/engines/titanic/true_talk/liftbot_script.h b/engines/titanic/true_talk/liftbot_script.h index bbe296197c..d800eed6ad 100644 --- a/engines/titanic/true_talk/liftbot_script.h +++ b/engines/titanic/true_talk/liftbot_script.h @@ -44,7 +44,11 @@ public: */ virtual int chooseResponse(TTroomScript *roomScript, TTsentence *sentence, uint tag); - virtual void proc7(int v1, int v2); + /** + * Does NPC specific processing of the parsed sentence + */ + virtual int process(TTroomScript *roomScript, TTsentence *sentence); + virtual int proc9() const; /** diff --git a/engines/titanic/true_talk/maitred_script.cpp b/engines/titanic/true_talk/maitred_script.cpp index 659d6abcfd..987a7ffdee 100644 --- a/engines/titanic/true_talk/maitred_script.cpp +++ b/engines/titanic/true_talk/maitred_script.cpp @@ -63,8 +63,9 @@ int MaitreDScript::chooseResponse(TTroomScript *roomScript, TTsentence *sentence return TTnpcScript::chooseResponse(roomScript, sentence, tag); } -void MaitreDScript::proc7(int v1, int v2) { - warning("TODO"); +int MaitreDScript::process(TTroomScript *roomScript, TTsentence *sentence) { + // TODO + return 0; } ScriptChangedResult MaitreDScript::scriptChanged(TTscriptBase *roomScript, uint id) { diff --git a/engines/titanic/true_talk/maitred_script.h b/engines/titanic/true_talk/maitred_script.h index da73e0edbf..87a1fdbf2a 100644 --- a/engines/titanic/true_talk/maitred_script.h +++ b/engines/titanic/true_talk/maitred_script.h @@ -42,7 +42,10 @@ public: */ virtual int chooseResponse(TTroomScript *roomScript, TTsentence *sentence, uint tag); - virtual void proc7(int v1, int v2); + /** + * Does NPC specific processing of the parsed sentence + */ + virtual int process(TTroomScript *roomScript, TTsentence *sentence); /** * Called when the script/id changes diff --git a/engines/titanic/true_talk/parrot_script.cpp b/engines/titanic/true_talk/parrot_script.cpp index abb29d0f12..cafb220910 100644 --- a/engines/titanic/true_talk/parrot_script.cpp +++ b/engines/titanic/true_talk/parrot_script.cpp @@ -50,8 +50,9 @@ int ParrotScript::chooseResponse(TTroomScript *roomScript, TTsentence *sentence, } } -void ParrotScript::proc7(int v1, int v2) { - warning("TODO"); +int ParrotScript::process(TTroomScript *roomScript, TTsentence *sentence) { + // TODO + return 0; } ScriptChangedResult ParrotScript::scriptChanged(TTscriptBase *roomScript, uint id) { diff --git a/engines/titanic/true_talk/parrot_script.h b/engines/titanic/true_talk/parrot_script.h index 4d4e07dacd..504f3112ba 100644 --- a/engines/titanic/true_talk/parrot_script.h +++ b/engines/titanic/true_talk/parrot_script.h @@ -42,7 +42,10 @@ public: */ virtual int chooseResponse(TTroomScript *roomScript, TTsentence *sentence, uint tag); - virtual void proc7(int v1, int v2); + /** + * Does NPC specific processing of the parsed sentence + */ + virtual int process(TTroomScript *roomScript, TTsentence *sentence); /** * Called when the script/id changes diff --git a/engines/titanic/true_talk/succubus_script.cpp b/engines/titanic/true_talk/succubus_script.cpp index 9768703633..5373f3ff94 100644 --- a/engines/titanic/true_talk/succubus_script.cpp +++ b/engines/titanic/true_talk/succubus_script.cpp @@ -74,8 +74,9 @@ int SuccUBusScript::chooseResponse(TTroomScript *roomScript, TTsentence *sentenc } } -void SuccUBusScript::proc7(int v1, int v2) { - warning("TODO"); +int SuccUBusScript::process(TTroomScript *roomScript, TTsentence *sentence) { + // TODO + return 0; } ScriptChangedResult SuccUBusScript::scriptChanged(TTscriptBase *roomScript, uint id) { diff --git a/engines/titanic/true_talk/succubus_script.h b/engines/titanic/true_talk/succubus_script.h index 482723c38a..e83475b666 100644 --- a/engines/titanic/true_talk/succubus_script.h +++ b/engines/titanic/true_talk/succubus_script.h @@ -44,7 +44,10 @@ public: */ virtual int chooseResponse(TTroomScript *roomScript, TTsentence *sentence, uint tag); - virtual void proc7(int v1, int v2); + /** + * Does NPC specific processing of the parsed sentence + */ + virtual int process(TTroomScript *roomScript, TTsentence *sentence); /** * Called when the script/id changes |