diff options
author | Paul Gilbert | 2016-10-30 19:25:46 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-10-30 19:25:46 -0400 |
commit | b34e784c8a6f76f034ebfa62d1c95c809e5414b4 (patch) | |
tree | bd41f21a10a1477e417562555ee7fd029541a2af /engines/titanic/core | |
parent | 5348f4f34f8187e26906fb92900f87d4b4e9b797 (diff) | |
download | scummvm-rg350-b34e784c8a6f76f034ebfa62d1c95c809e5414b4.tar.gz scummvm-rg350-b34e784c8a6f76f034ebfa62d1c95c809e5414b4.tar.bz2 scummvm-rg350-b34e784c8a6f76f034ebfa62d1c95c809e5414b4.zip |
TITANIC: Renamings of mouse methods
Diffstat (limited to 'engines/titanic/core')
-rw-r--r-- | engines/titanic/core/game_object.cpp | 8 | ||||
-rw-r--r-- | engines/titanic/core/game_object.h | 11 |
2 files changed, 13 insertions, 6 deletions
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 |