aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-10-02 11:31:11 +0000
committerTravis Howell2006-10-02 11:31:11 +0000
commit6201707122c9f6d6af38909eec20ec35eacc000b (patch)
treeb9aa9b96fee807bf846c7f59f0ae830184e9fb64 /engines
parent62df08578bcaef2d36f5da533cc39aadbf3e8990 (diff)
downloadscummvm-rg350-6201707122c9f6d6af38909eec20ec35eacc000b.tar.gz
scummvm-rg350-6201707122c9f6d6af38909eec20ec35eacc000b.tar.bz2
scummvm-rg350-6201707122c9f6d6af38909eec20ec35eacc000b.zip
Fix display and input in dimp
svn-id: r24068
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/cursor.cpp4
-rw-r--r--engines/agos/draw.cpp3
2 files changed, 4 insertions, 3 deletions
diff --git a/engines/agos/cursor.cpp b/engines/agos/cursor.cpp
index 1b84c024a0..3d4c6768a4 100644
--- a/engines/agos/cursor.cpp
+++ b/engines/agos/cursor.cpp
@@ -272,7 +272,7 @@ static const byte _mouseOffs[29 * 32] = {
void AGOSEngine::handleMouseMoved() {
uint x;
- if (_mouseHideCount) {
+ if (getGameId() != GID_DIMP && _mouseHideCount) {
CursorMan.showMouse(false);
return;
}
@@ -414,7 +414,7 @@ void AGOSEngine::loadMouseImage() {
}
void AGOSEngine::drawMousePointer() {
- if (getGameType() == GType_PP) {
+ if (getGameType() == GType_PP && getGameId() != GID_DIMP) {
CursorMan.replaceCursor(_mouseData, _maxCursorWidth, _maxCursorHeight, 37, 48, 0);
} else if (getGameType() == GType_SIMON2) {
CursorMan.replaceCursor(_simon2_cursors[_mouseCursor], 16, 16, 7, 7);
diff --git a/engines/agos/draw.cpp b/engines/agos/draw.cpp
index 87255334ce..b5af30fc15 100644
--- a/engines/agos/draw.cpp
+++ b/engines/agos/draw.cpp
@@ -452,7 +452,8 @@ void AGOSEngine::dx_update_screen_and_palette() {
_system->copyRectToScreen(_backBuf, _screenWidth, 0, 0, _screenWidth, _screenHeight);
_system->updateScreen();
- memcpy(_backBuf, _frontBuf, _screenWidth * _screenHeight);
+ if (getGameId() != GID_DIMP)
+ memcpy(_backBuf, _frontBuf, _screenWidth * _screenHeight);
if (getGameType() == GType_FF && _scrollFlag) {
scrollScreen();