[Scummvm-cvs-logs] SF.net SVN: scummvm:[53167] scummvm/trunk/engines/hugo/route.cpp
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Tue Oct 12 22:00:23 CEST 2010
Revision: 53167
http://scummvm.svn.sourceforge.net/scummvm/?rev=53167&view=rev
Author: strangerke
Date: 2010-10-12 20:00:23 +0000 (Tue, 12 Oct 2010)
Log Message:
-----------
HUGO: enable left diagonals
Modified Paths:
--------------
scummvm/trunk/engines/hugo/route.cpp
Modified: scummvm/trunk/engines/hugo/route.cpp
===================================================================
--- scummvm/trunk/engines/hugo/route.cpp 2010-10-12 19:44:40 UTC (rev 53166)
+++ scummvm/trunk/engines/hugo/route.cpp 2010-10-12 20:00:23 UTC (rev 53167)
@@ -69,12 +69,12 @@
case Common::KEYCODE_END:
obj->currImagePtr = obj->seqList[LEFT].seqPtr;
break;
-// case Common::KEYCODE_PRIOR:
-// obj->currImagePtr = obj->seqList[RIGHT].seqPtr;
-// break;
-// case Common::KEYCODE_NEXT:
-// obj->currImagePtr = obj->seqList[RIGHT].seqPtr;
-// break;
+ case Common::KEYCODE_PAGEUP:
+ obj->currImagePtr = obj->seqList[RIGHT].seqPtr;
+ break;
+ case Common::KEYCODE_PAGEDOWN:
+ obj->currImagePtr = obj->seqList[RIGHT].seqPtr;
+ break;
}
}
@@ -117,14 +117,14 @@
obj->vx = -DX;
obj->vy = DY / 2;
break;
-// case Common::KEYCODE_PRIOR:
-// obj->vx = DX;
-// obj->vy = -DY / 2;
-// break;
-// case Common::KEYCODE_NEXT:
-// obj->vx = DX;
-// obj->vy = DY / 2;
-// break;
+ case Common::KEYCODE_PAGEUP:
+ obj->vx = DX;
+ obj->vy = -DY / 2;
+ break;
+ case Common::KEYCODE_PAGEDOWN:
+ obj->vx = DX;
+ obj->vy = DY / 2;
+ break;
}
oldDirection = direction;
obj->cycling = CYCLE_FORWARD;
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