diff options
author | Strangerke | 2012-12-11 01:53:50 +0100 |
---|---|---|
committer | Strangerke | 2012-12-11 01:53:50 +0100 |
commit | 299fbfc7c7558cd8275b86ef746ba73ea5ecbee2 (patch) | |
tree | 49b1ae4820e3f98c208500339223de75b0d3ea2f /engines/hopkins/menu.cpp | |
parent | af667771a918370988cc656412e2ddea3d1d44a3 (diff) | |
download | scummvm-rg350-299fbfc7c7558cd8275b86ef746ba73ea5ecbee2.tar.gz scummvm-rg350-299fbfc7c7558cd8275b86ef746ba73ea5ecbee2.tar.bz2 scummvm-rg350-299fbfc7c7558cd8275b86ef746ba73ea5ecbee2.zip |
HOPKINS: Start renaming EventsManager functions
Diffstat (limited to 'engines/hopkins/menu.cpp')
-rw-r--r-- | engines/hopkins/menu.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/hopkins/menu.cpp b/engines/hopkins/menu.cpp index a6bb272685..9228c6cb5f 100644 --- a/engines/hopkins/menu.cpp +++ b/engines/hopkins/menu.cpp @@ -58,7 +58,7 @@ int MenuManager::MENU() { result = 0; while (!g_system->getEventManager()->shouldQuit()) { _vm->_globals.FORET = false; - _vm->_eventsManager.CASSE = false; + _vm->_eventsManager._breakoutFl = false; _vm->_globals._disableInventFl = true; _vm->_globals.FLAG_VISIBLE = false; _vm->_globals.SORTIE = 0; @@ -91,8 +91,8 @@ int MenuManager::MENU() { _vm->_fileManager.constructFilename(_vm->_globals.HOPSYSTEM, "MENUES.SPR"); spriteData = _vm->_objectsManager.CHARGE_SPRITE(_vm->_globals.NFICHIER); - _vm->_eventsManager.MOUSE_ON(); - _vm->_eventsManager.CHANGE_MOUSE(0); + _vm->_eventsManager.mouseOn(); + _vm->_eventsManager.changeMouseCursor(0); _vm->_eventsManager.btsouris = 0; _vm->_eventsManager.souris_n = 0; @@ -107,7 +107,7 @@ int MenuManager::MENU() { return -1; menuIndex = MENU_NONE; - mousePos = Common::Point(_vm->_eventsManager.XMOUSE(), _vm->_eventsManager.YMOUSE()); + mousePos = Common::Point(_vm->_eventsManager.getMouseX(), _vm->_eventsManager.getMouseY()); if ((uint16)(mousePos.x - 232) <= 176) { if ((uint16)(mousePos.y - 261) <= 23) @@ -174,7 +174,7 @@ int MenuManager::MENU() { _vm->_graphicsManager.AFFICHE_SPEED(spriteData, 230, 386, frame5Index + 8); _vm->_eventsManager.VBL(); - if (_vm->_eventsManager.BMOUSE() == 1 && menuIndex != MENU_NONE) + if (_vm->_eventsManager.getMouseButton() == 1 && menuIndex != MENU_NONE) selectionMade = 1; } while (!selectionMade); |