aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-09-11 11:34:06 -0400
committerPaul Gilbert2016-09-11 11:34:06 -0400
commit207afb6f462fadbe48d4ec298ce7c30ea5c874f0 (patch)
treecbb200af7f34a2fd6feebda5418328b58bc0dcf4 /engines/titanic/pet_control/pet_control.h
parentdf4dadb5a6354d5962597d27a117a9fe53b35891 (diff)
downloadscummvm-rg350-207afb6f462fadbe48d4ec298ce7c30ea5c874f0.tar.gz
scummvm-rg350-207afb6f462fadbe48d4ec298ce7c30ea5c874f0.tar.bz2
scummvm-rg350-207afb6f462fadbe48d4ec298ce7c30ea5c874f0.zip
TITANIC: In progress work on German Translation view in PET
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index c4b65457e2..454fc0991b 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -31,7 +31,7 @@
#include "titanic/pet_control/pet_conversations.h"
#include "titanic/pet_control/pet_frame.h"
#include "titanic/pet_control/pet_inventory.h"
-#include "titanic/pet_control/pet_message.h"
+#include "titanic/pet_control/pet_translation.h"
#include "titanic/pet_control/pet_starfield.h"
#include "titanic/pet_control/pet_real_life.h"
#include "titanic/pet_control/pet_remote.h"
@@ -61,7 +61,7 @@ private:
CPetRemote _remote;
CPetRooms _rooms;
CPetRealLife _realLife;
- CPetMessage _message;
+ CPetTranslation _translation;
CPetFrame _frame;
CString _activeNPCName;
CString _remoteTargetName;
@@ -242,6 +242,16 @@ public:
void displayMessage(const CString &str, int param = 0) const;
/**
+ * Switches to the Translation display, and adds a line to it's content
+ */
+ void addTranslation(StringId id1, StringId id2);
+
+ /**
+ * Clears the translation display
+ */
+ void clearTranslation();
+
+ /**
* Get the first game object stored in the PET
*/
CGameObject *getFirstObject() const;