diff options
author | Paul Gilbert | 2016-07-31 14:31:36 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-31 14:31:36 -0400 |
commit | 07bf7304433174203cc1cecec23aee54718b3d76 (patch) | |
tree | acb4c6959b2f81b4c8927e43b4216d0f4de79125 /engines/titanic/true_talk/barbot_script.h | |
parent | e2b00938c7488af62521e1ad4e62566fa4077af0 (diff) | |
download | scummvm-rg350-07bf7304433174203cc1cecec23aee54718b3d76.tar.gz scummvm-rg350-07bf7304433174203cc1cecec23aee54718b3d76.tar.bz2 scummvm-rg350-07bf7304433174203cc1cecec23aee54718b3d76.zip |
TITANIC: Adding lots of const prefixes
Diffstat (limited to 'engines/titanic/true_talk/barbot_script.h')
-rw-r--r-- | engines/titanic/true_talk/barbot_script.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/true_talk/barbot_script.h b/engines/titanic/true_talk/barbot_script.h index b7a19334d1..1820d77216 100644 --- a/engines/titanic/true_talk/barbot_script.h +++ b/engines/titanic/true_talk/barbot_script.h @@ -60,19 +60,19 @@ public: /** * Chooses and adds a conversation response based on a specified tag Id. */ - virtual int chooseResponse(TTroomScript *roomScript, TTsentence *sentence, uint tag); + virtual int chooseResponse(const TTroomScript *roomScript, const TTsentence *sentence, uint tag); /** * Does NPC specific processing of the parsed sentence */ - virtual int process(TTroomScript *roomScript, TTsentence *sentence); + virtual int process(const TTroomScript *roomScript, const TTsentence *sentence); /** * Called when the script/id changes */ - virtual ScriptChangedResult scriptChanged(TTroomScript *roomScript, uint id); + virtual ScriptChangedResult scriptChanged(const TTroomScript *roomScript, uint id); - virtual int handleQuote(TTroomScript *roomScript, TTsentence *sentence, + virtual int handleQuote(const TTroomScript *roomScript, const TTsentence *sentence, uint val, uint tagId, uint remainder); /** @@ -93,7 +93,7 @@ public: /** * Process a sentence fragment entry */ - virtual int doSentenceEntry(int val1, const int *srcIdP, TTroomScript *roomScript, TTsentence *sentence); + virtual int doSentenceEntry(int val1, const int *srcIdP, const TTroomScript *roomScript, const TTsentence *sentence); /** * Sets a given dial to be pointing in a specified region (0 to 2) |