aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/game_object.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-13 13:24:41 -0400
committerPaul Gilbert2016-07-10 16:10:59 -0400
commitc096bfa5d89f43e68fffbe390e73bad08e4f1745 (patch)
treede5c8c1b07a180d2c8122759dacab1f3d5bd4799 /engines/titanic/core/game_object.h
parent36d60d7476b62aef07914325adb6f9fd7b30132f (diff)
downloadscummvm-rg350-c096bfa5d89f43e68fffbe390e73bad08e4f1745.tar.gz
scummvm-rg350-c096bfa5d89f43e68fffbe390e73bad08e4f1745.tar.bz2
scummvm-rg350-c096bfa5d89f43e68fffbe390e73bad08e4f1745.zip
TITANIC: Implementing CArm message handlers
Diffstat (limited to 'engines/titanic/core/game_object.h')
-rw-r--r--engines/titanic/core/game_object.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h
index 9e84a453c7..658c8449fb 100644
--- a/engines/titanic/core/game_object.h
+++ b/engines/titanic/core/game_object.h
@@ -127,7 +127,6 @@ protected:
bool soundFn1(int val);
void soundFn2(int val, int val2);
- void setVisible(bool val);
void petFn2(int val);
void petFn3(CTreeItem *item);
@@ -155,6 +154,12 @@ protected:
* Get the current mouse cursor position
*/
Point getMousePos() const;
+
+ /*
+ * Compares the current view's name in a Room.Node.View tuplet
+ * string form to the passed string
+ */
+ bool compareViewNameTo(const CString &name) const;
public:
int _field60;
CursorId _cursorId;
@@ -230,6 +235,11 @@ public:
* Return the current view/node/room as a single string
*/
CString getViewFullName() const;
+
+ /**
+ * Sets whether the object is visible
+ */
+ void setVisible(bool val);
};
} // End of namespace Titanic