aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-10-13 18:41:55 +1100
committerPaul Gilbert2012-10-13 18:41:55 +1100
commitda339dc822325115a36eef6a4c3629b7ac3e7b6b (patch)
tree02231ce3aa0d2a58d0e4f7b482068cbf315fe66a
parent4ed054e18054f93f5640e2559fd0d834720c7861 (diff)
downloadscummvm-rg350-da339dc822325115a36eef6a4c3629b7ac3e7b6b.tar.gz
scummvm-rg350-da339dc822325115a36eef6a4c3629b7ac3e7b6b.tar.bz2
scummvm-rg350-da339dc822325115a36eef6a4c3629b7ac3e7b6b.zip
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.
-rw-r--r--engines/hopkins/events.cpp9
1 files changed, 9 insertions, 0 deletions
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);
}
}