[Scummvm-cvs-logs] SF.net SVN: scummvm: [24068] scummvm/trunk/engines/agos
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Mon Oct 2 13:31:18 CEST 2006
Revision: 24068
http://svn.sourceforge.net/scummvm/?rev=24068&view=rev
Author: kirben
Date: 2006-10-02 04:31:11 -0700 (Mon, 02 Oct 2006)
Log Message:
-----------
Fix display and input in dimp
Modified Paths:
--------------
scummvm/trunk/engines/agos/cursor.cpp
scummvm/trunk/engines/agos/draw.cpp
Modified: scummvm/trunk/engines/agos/cursor.cpp
===================================================================
--- scummvm/trunk/engines/agos/cursor.cpp 2006-10-02 10:54:06 UTC (rev 24067)
+++ scummvm/trunk/engines/agos/cursor.cpp 2006-10-02 11:31:11 UTC (rev 24068)
@@ -272,7 +272,7 @@
void AGOSEngine::handleMouseMoved() {
uint x;
- if (_mouseHideCount) {
+ if (getGameId() != GID_DIMP && _mouseHideCount) {
CursorMan.showMouse(false);
return;
}
@@ -414,7 +414,7 @@
}
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);
Modified: scummvm/trunk/engines/agos/draw.cpp
===================================================================
--- scummvm/trunk/engines/agos/draw.cpp 2006-10-02 10:54:06 UTC (rev 24067)
+++ scummvm/trunk/engines/agos/draw.cpp 2006-10-02 11:31:11 UTC (rev 24068)
@@ -452,7 +452,8 @@
_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();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list