diff options
Diffstat (limited to 'engines')
| -rw-r--r-- | engines/gob/draw_v1.cpp | 2 | ||||
| -rw-r--r-- | engines/gob/draw_v2.cpp | 2 | ||||
| -rw-r--r-- | engines/groovie/cursor.cpp | 2 | ||||
| -rw-r--r-- | engines/lastexpress/data/cursor.cpp | 2 | ||||
| -rw-r--r-- | engines/mohawk/cursors.cpp | 2 | ||||
| -rw-r--r-- | engines/scumm/cursor.cpp | 4 | 
6 files changed, 7 insertions, 7 deletions
diff --git a/engines/gob/draw_v1.cpp b/engines/gob/draw_v1.cpp index fb15fdbc19..878c1dc265 100644 --- a/engines/gob/draw_v1.cpp +++ b/engines/gob/draw_v1.cpp @@ -123,7 +123,7 @@ void Draw_v1::animateCursor(int16 cursor) {  				(cursorIndex + 1) * _cursorWidth - 1,  				_cursorHeight - 1, 0, 0);  		CursorMan.replaceCursor(_scummvmCursor->getData(), -				_cursorWidth, _cursorHeight, hotspotX, hotspotY, 0, 1, &_vm->getPixelFormat()); +				_cursorWidth, _cursorHeight, hotspotX, hotspotY, 0, false, &_vm->getPixelFormat());  		if (_frontSurface != _backSurface) {  			_showCursor = 3; diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp index ab9a90de8f..d9b7a12639 100644 --- a/engines/gob/draw_v2.cpp +++ b/engines/gob/draw_v2.cpp @@ -161,7 +161,7 @@ void Draw_v2::animateCursor(int16 cursor) {  			keyColor = _cursorKeyColors[cursorIndex];  		CursorMan.replaceCursor(_scummvmCursor->getData(), -				_cursorWidth, _cursorHeight, hotspotX, hotspotY, keyColor, 1, &_vm->getPixelFormat()); +				_cursorWidth, _cursorHeight, hotspotX, hotspotY, keyColor, false, &_vm->getPixelFormat());  		if (_doCursorPalettes && _doCursorPalettes[cursorIndex]) {  			CursorMan.replaceCursorPalette(_cursorPalettes + (cursorIndex * 256 * 3), diff --git a/engines/groovie/cursor.cpp b/engines/groovie/cursor.cpp index abefac54bd..6422570220 100644 --- a/engines/groovie/cursor.cpp +++ b/engines/groovie/cursor.cpp @@ -387,7 +387,7 @@ void Cursor_v2::enable() {  void Cursor_v2::showFrame(uint16 frame) {  	int offset = _width * _height * frame * 2; -	CursorMan.replaceCursor((const byte *)(_img + offset), _width, _height, _width >> 1, _height >> 1, 0, 1, &_format); +	CursorMan.replaceCursor((const byte *)(_img + offset), _width, _height, _width >> 1, _height >> 1, 0, false, &_format);  } diff --git a/engines/lastexpress/data/cursor.cpp b/engines/lastexpress/data/cursor.cpp index 86a66b49d9..a3e7b773a7 100644 --- a/engines/lastexpress/data/cursor.cpp +++ b/engines/lastexpress/data/cursor.cpp @@ -93,7 +93,7 @@ void Cursor::setStyle(CursorStyle style) {  	Graphics::PixelFormat pf = g_system->getScreenFormat();  	CursorMan.replaceCursor((const byte *)getCursorImage(style),  	                        32, 32, _cursors[style].hotspotX, _cursors[style].hotspotY, -	                        0, 1, &pf); +	                        0, false, &pf);  }  const uint16 *Cursor::getCursorImage(CursorStyle style) const { diff --git a/engines/mohawk/cursors.cpp b/engines/mohawk/cursors.cpp index 3cf5ac740e..47a7d0225b 100644 --- a/engines/mohawk/cursors.cpp +++ b/engines/mohawk/cursors.cpp @@ -125,7 +125,7 @@ void MystCursorManager::setCursor(uint16 id) {  		CursorMan.replaceCursorPalette(mhkSurface->getPalette(), 0, 256);  	} else {  		Graphics::PixelFormat pixelFormat = g_system->getScreenFormat(); -		CursorMan.replaceCursor((byte *)surface->pixels, surface->w, surface->h, hotspotX, hotspotY, pixelFormat.RGBToColor(255, 255, 255), 1, &pixelFormat); +		CursorMan.replaceCursor((byte *)surface->pixels, surface->w, surface->h, hotspotX, hotspotY, pixelFormat.RGBToColor(255, 255, 255), false, &pixelFormat);  	}  	_vm->_needsUpdate = true; diff --git a/engines/scumm/cursor.cpp b/engines/scumm/cursor.cpp index 42f11498d9..88681898f5 100644 --- a/engines/scumm/cursor.cpp +++ b/engines/scumm/cursor.cpp @@ -121,13 +121,13 @@ void ScummEngine::updateCursor() {  	CursorMan.replaceCursor(_grabbedCursor, _cursor.width, _cursor.height,  							_cursor.hotspotX, _cursor.hotspotY,  							(_game.platform == Common::kPlatformNES ? _grabbedCursor[63] : transColor), -							(_game.heversion == 70 ? 2 : 1), +							(_game.heversion == 70 ? true : false),  							&format);  #else  	CursorMan.replaceCursor(_grabbedCursor, _cursor.width, _cursor.height,  							_cursor.hotspotX, _cursor.hotspotY,  							(_game.platform == Common::kPlatformNES ? _grabbedCursor[63] : transColor), -							(_game.heversion == 70 ? 2 : 1)); +							(_game.heversion == 70 ? true : false));  #endif  }  | 
