aboutsummaryrefslogtreecommitdiff
path: root/engines/made/scriptfuncs.cpp
diff options
context:
space:
mode:
authorBenjamin Haisch2008-05-26 07:27:46 +0000
committerBenjamin Haisch2008-05-26 07:27:46 +0000
commitaa02a6758a8c5933aca3d80b5d1c3a2af5c7f300 (patch)
treeeb7da560189729bc9d1dcd8fb659bc368bb4c5cf /engines/made/scriptfuncs.cpp
parent365513d9e4ff94fb46790cde3470e2500d2f3c17 (diff)
downloadscummvm-rg350-aa02a6758a8c5933aca3d80b5d1c3a2af5c7f300.tar.gz
scummvm-rg350-aa02a6758a8c5933aca3d80b5d1c3a2af5c7f300.tar.bz2
scummvm-rg350-aa02a6758a8c5933aca3d80b5d1c3a2af5c7f300.zip
- Hopefully fixed 'responsiveness' of the mouse cursor/event handling
- Disabled auto dirty rects which caused major gfx problems - Added default mouse cursor for Manhole: N&E - Fixed sound rate for Manhole: N&E - Don't automatically show mouse cursor when a new cursor was loaded svn-id: r32279
Diffstat (limited to 'engines/made/scriptfuncs.cpp')
-rw-r--r--engines/made/scriptfuncs.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/made/scriptfuncs.cpp b/engines/made/scriptfuncs.cpp
index f068e2619b..f67b7c89c6 100644
--- a/engines/made/scriptfuncs.cpp
+++ b/engines/made/scriptfuncs.cpp
@@ -195,6 +195,9 @@ int16 ScriptFunctions::sfShowPage(int16 argc, int16 *argv) {
}
int16 ScriptFunctions::sfPollEvent(int16 argc, int16 *argv) {
+
+ _vm->_system->updateScreen();
+
int16 eventNum = _vm->_eventNum;
_vm->_eventNum = 0;
return eventNum;
@@ -487,7 +490,6 @@ int16 ScriptFunctions::sfLoadMouseCursor(int16 argc, int16 *argv) {
if (flex) {
Graphics::Surface *surf = flex->getPicture();
CursorMan.replaceCursor((const byte *)surf->pixels, surf->w, surf->h, argv[1], argv[0], 0);
- CursorMan.showMouse(true);
_vm->_res->freeResource(flex);
}
return 0;