From da339dc822325115a36eef6a4c3629b7ac3e7b6b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 13 Oct 2012 18:41:55 +1100 Subject: HOPKINS: Comment out original code that draws the cursor on the screen. This is redundant, given we're relying on core ScummVM to draw the cursor. --- engines/hopkins/events.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'engines') diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp index 6ed5a9c37e..fa45b506a6 100644 --- a/engines/hopkins/events.cpp +++ b/engines/hopkins/events.cpp @@ -332,15 +332,20 @@ LABEL_45: if (yp + v13 > _vm->_graphicsManager.max_y) v13 -= yp + v13 - _vm->_graphicsManager.max_y; if (v14 > 1 && v13 > 1) { +/* Commented out in favour of using ScummVM cursor display _vm->_graphicsManager.Capture_Mem(_vm->_graphicsManager.VESA_BUFFER, _vm->_globals.cache_souris, v15, yp, v14, v13); +*/ _vm->_graphicsManager.Affiche_Perfect(_vm->_graphicsManager.VESA_BUFFER, _vm->_globals.Bufferobjet, v15 + 300, yp + 300, 0, 0, 0, 0); _vm->_graphicsManager.Ajoute_Segment_Vesa(v15, yp, v14 + v15, yp + v13); } } goto LABEL_54; } + +/* Commented out in favour of using ScummVM cursor display _vm->_graphicsManager.Capture_Mem(_vm->_graphicsManager.VESA_BUFFER, _vm->_globals.cache_souris, v15, yp, v14, v13); _vm->_graphicsManager.Sprite_Vesa(_vm->_graphicsManager.VESA_BUFFER, pointeur_souris, v15 + 300, yp + 300, souris_n); +*/ _vm->_graphicsManager.Ajoute_Segment_Vesa(v15, yp, v12, v11); LABEL_54: _vm->_globals.vitesse = 2; @@ -434,7 +439,9 @@ LABEL_65: if (souris_flag == 1) { if (btsouris != 23) { if (yp < _vm->_graphicsManager.max_y && v15 < _vm->_graphicsManager.max_x && v14 > 1 && v13 > 1) { +/* Commented out in favour of using ScummVM cursor display _vm->_graphicsManager.Restore_Mem(_vm->_graphicsManager.VESA_BUFFER, _vm->_globals.cache_souris, v15, yp, v14, v13); +*/ _vm->_graphicsManager.Ajoute_Segment_Vesa(v15, yp, v12, v11); goto LABEL_113; } @@ -442,7 +449,9 @@ LABEL_65: goto LABEL_113; } if (yp < _vm->_graphicsManager.max_y && v15 < _vm->_graphicsManager.max_x && v14 > 1 && v13 > 1) { +/* Commented out in favour of using ScummVM cursor display _vm->_graphicsManager.Restore_Mem(_vm->_graphicsManager.VESA_BUFFER, _vm->_globals.cache_souris, v15, yp, v14, v13); +*/ _vm->_graphicsManager.Ajoute_Segment_Vesa(v15, yp, v14 + v15, yp + v13); } } -- cgit v1.2.3