[Scummvm-cvs-logs] SF.net SVN: scummvm: [30377] scummvm/trunk/engines/agi/keyboard.cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Thu Jan 10 13:40:59 CET 2008
Revision: 30377
http://scummvm.svn.sourceforge.net/scummvm/?rev=30377&view=rev
Author: buddha_
Date: 2008-01-10 04:40:57 -0800 (Thu, 10 Jan 2008)
Log Message:
-----------
Remove disabling of moving using mouse in mines in Amiga's Gold Rush introduced in r30375. So bug #1733297 remains although not stricly in its original form (Moving using mouse in the mines bugs still but not identically as when the bug report was given).
Modified Paths:
--------------
scummvm/trunk/engines/agi/keyboard.cpp
Modified: scummvm/trunk/engines/agi/keyboard.cpp
===================================================================
--- scummvm/trunk/engines/agi/keyboard.cpp 2008-01-10 12:22:15 UTC (rev 30376)
+++ scummvm/trunk/engines/agi/keyboard.cpp 2008-01-10 12:40:57 UTC (rev 30377)
@@ -180,18 +180,10 @@
if (!(getFeatures() & GF_AGIMOUSE)) {
/* Handle mouse button events */
if (key == BUTTON_LEFT) {
- // FIXME: Implement adj.ego.move.to.x.y-command properly (With 2 arguments) and remove this hack.
- // This is a hack for preventing mouse usage in the mines (Rooms 147-162) in Amiga Gold Rush as
- // moving with mouse bugs in the mines because adj.ego.move.to.x.y isn't properly implemented yet.
- if (getGameID() == GID_GOLDRUSH && getPlatform() == Common::kPlatformAmiga && _game.vars[0] >= 147 && _game.vars[0] <= 162) {
- messageBox("Use yer arrow keys ta walk.");
- return true;
- } else {
- v->flags |= ADJ_EGO_XY;
- v->parm1 = WIN_TO_PIC_X(g_mouse.x);
- v->parm2 = WIN_TO_PIC_Y(g_mouse.y);
- return true;
- }
+ v->flags |= ADJ_EGO_XY;
+ v->parm1 = WIN_TO_PIC_X(g_mouse.x);
+ v->parm2 = WIN_TO_PIC_Y(g_mouse.y);
+ return true;
}
}
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