From b34e784c8a6f76f034ebfa62d1c95c809e5414b4 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 30 Oct 2016 19:25:46 -0400 Subject: TITANIC: Renamings of mouse methods --- engines/titanic/core/game_object.cpp | 8 ++++---- engines/titanic/core/game_object.h | 11 +++++++++-- 2 files changed, 13 insertions(+), 6 deletions(-) (limited to 'engines/titanic/core') diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index 76a6274160..3ca917b3a1 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -1165,12 +1165,12 @@ void CGameObject::enableMouse() { showMouse(); } -void CGameObject::mouseLockE4() { - CScreenManager::_screenManagerPtr->_mouseCursor->lockE4(); +void CGameObject::mouseDisableControl() { + CScreenManager::_screenManagerPtr->_mouseCursor->disableControl(); } -void CGameObject::mouseUnlockE4() { - CScreenManager::_screenManagerPtr->_mouseCursor->unlockE4(); +void CGameObject::mouseEnableControl() { + CScreenManager::_screenManagerPtr->_mouseCursor->enableControl(); } void CGameObject::mouseSetPosition(const Point &pt, double rate) { diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h index b50278cf21..706f842252 100644 --- a/engines/titanic/core/game_object.h +++ b/engines/titanic/core/game_object.h @@ -165,8 +165,15 @@ protected: */ void enableMouse(); - void mouseLockE4(); - void mouseUnlockE4(); + /** + * Disables user control of the mouse + */ + void mouseDisableControl(); + + /** + * Re-enables user control of the mouse + */ + void mouseEnableControl(); /** * Sets the mouse to a new position -- cgit v1.2.3