diff options
author | Max Horn | 2004-03-28 16:30:50 +0000 |
---|---|---|
committer | Max Horn | 2004-03-28 16:30:50 +0000 |
commit | 14378cb56e18237cf1b8b5e088995e0b91f47410 (patch) | |
tree | e646deabd966699f0538880f74883255df2810bb /sword1/mouse.cpp | |
parent | efb5f3777a2aa664c6bc5e7fb5ab3f2b92da6ca8 (diff) | |
download | scummvm-rg350-14378cb56e18237cf1b8b5e088995e0b91f47410.tar.gz scummvm-rg350-14378cb56e18237cf1b8b5e088995e0b91f47410.tar.bz2 scummvm-rg350-14378cb56e18237cf1b8b5e088995e0b91f47410.zip |
Renamed more OSystem methods
svn-id: r13410
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); } } |