From c096bfa5d89f43e68fffbe390e73bad08e4f1745 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 13 Apr 2016 13:24:41 -0400 Subject: TITANIC: Implementing CArm message handlers --- engines/titanic/core/game_object.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'engines/titanic/core/game_object.h') 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 -- cgit v1.2.3