aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/deskbot_script.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-17 20:36:07 -0400
committerPaul Gilbert2017-09-17 20:36:07 -0400
commitd48caed20410f2e0abbf6708870388d7b9e9ea56 (patch)
tree86a182212c237a571d3c56814c6e132a3fbd199c /engines/titanic/true_talk/deskbot_script.h
parentb033d1bbd97d43f9ebb4e3c17ca1886b629be6d4 (diff)
downloadscummvm-rg350-d48caed20410f2e0abbf6708870388d7b9e9ea56.tar.gz
scummvm-rg350-d48caed20410f2e0abbf6708870388d7b9e9ea56.tar.bz2
scummvm-rg350-d48caed20410f2e0abbf6708870388d7b9e9ea56.zip
TITANIC: Add Deskbot German specific logic
Diffstat (limited to 'engines/titanic/true_talk/deskbot_script.h')
-rw-r--r--engines/titanic/true_talk/deskbot_script.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/engines/titanic/true_talk/deskbot_script.h b/engines/titanic/true_talk/deskbot_script.h
index ffb6b1063c..941136d45e 100644
--- a/engines/titanic/true_talk/deskbot_script.h
+++ b/engines/titanic/true_talk/deskbot_script.h
@@ -30,11 +30,6 @@ namespace Titanic {
class DeskbotScript : public TTnpcScript {
private:
- static int _oldId;
- TTupdateStateArray _states;
- TTsentenceEntries _entries2;
- TTsentenceEntries _entries3;
-private:
/**
* Setup sentence data
*/
@@ -43,11 +38,6 @@ private:
/**
* Adds dialogue for the player's assigned room
*/
- uint addAssignedRoomDialogue();
-
- /**
- * Adds dialogue for the player's assigned room
- */
uint addAssignedRoomDialogue2();
/**
@@ -66,11 +56,6 @@ private:
void setCurrentState(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);
@@ -89,6 +74,21 @@ private:
* Adds a dialogue description for the player's assigned room
*/
void addAssignedRoom();
+protected:
+ static int _oldId;
+ TTupdateStateArray _states;
+ TTsentenceEntries _entries2;
+ TTsentenceEntries _entries3;
+protected:
+ /**
+ * Does preprocessing for the sentence
+ */
+ int preprocess(const TTroomScript *roomScript, const TTsentence *sentence);
+
+ /**
+ * Adds dialogue for the player's assigned room
+ */
+ uint addAssignedRoomDialogue();
public:
DeskbotScript(int val1, const char *charClass, int v2,
const char *charName, int v3, int val2);