diff options
Diffstat (limited to 'sword1/mouse.cpp')
-rw-r--r-- | sword1/mouse.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sword1/mouse.cpp b/sword1/mouse.cpp index 2bdc969c2c..ae8ecaae21 100644 --- a/sword1/mouse.cpp +++ b/sword1/mouse.cpp @@ -52,7 +52,7 @@ void Mouse::initialize(void) { for (uint8 cnt = 0; cnt < 17; cnt++) // force res manager to keep mouse _resMan->resOpen(MSE_POINTER + cnt); // cursors in memory all the time - _system->show_mouse(false); + _system->showMouse(false); createPointer(0, 0); } @@ -240,11 +240,11 @@ void Mouse::setPointer(uint32 resId, uint32 rate) { createPointer(resId, _currentLuggageId); if ((resId == 0) || (!(Logic::_scriptVars[MOUSE_STATUS] & 1) && (!_mouseOverride))) { - _system->set_mouse_cursor(NULL, 0, 0, 0, 0); - _system->show_mouse(false); + _system->setMouseCursor(NULL, 0, 0, 0, 0); + _system->showMouse(false); } else { animate(); - _system->show_mouse(true); + _system->showMouse(true); } } @@ -259,7 +259,7 @@ void Mouse::animate(void) { _frame = (_frame + 1) % _currentPtr->numFrames; uint8 *ptrData = (uint8*)_currentPtr + sizeof(MousePtr); ptrData += _frame * _currentPtr->sizeX * _currentPtr->sizeY; - _system->set_mouse_cursor(ptrData, _currentPtr->sizeX, _currentPtr->sizeY, _currentPtr->hotSpotX, _currentPtr->hotSpotY); + _system->setMouseCursor(ptrData, _currentPtr->sizeX, _currentPtr->sizeY, _currentPtr->hotSpotX, _currentPtr->hotSpotY); } } |