[Scummvm-cvs-logs] SF.net SVN: scummvm: [26983] scummvm/trunk/engines/saga/script.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Mon May 28 01:30:23 CEST 2007
Revision: 26983
http://scummvm.svn.sourceforge.net/scummvm/?rev=26983&view=rev
Author: thebluegr
Date: 2007-05-27 16:30:21 -0700 (Sun, 27 May 2007)
Log Message:
-----------
Made verbs "push" and "swallow" work in IHNM. It's now possible to choose a monitor with Ted
Modified Paths:
--------------
scummvm/trunk/engines/saga/script.cpp
Modified: scummvm/trunk/engines/saga/script.cpp
===================================================================
--- scummvm/trunk/engines/saga/script.cpp 2007-05-27 23:28:24 UTC (rev 26982)
+++ scummvm/trunk/engines/saga/script.cpp 2007-05-27 23:30:21 UTC (rev 26983)
@@ -358,6 +358,8 @@
}
}
else {
+ // TODO: This is ugly and needs rewriting, but
+ // it works for now
switch (verbType) {
case kVerbNone:
return kVerbIHNMNone;
@@ -372,13 +374,11 @@
case kVerbTalkTo:
return kVerbIHNMTalkTo;
case kVerbOpen:
- return -2;
- // return kVerbIHNMSwallow;
+ return kVerbIHNMSwallow;
case kVerbGive:
return kVerbIHNMGive;
case kVerbClose:
- return -2;
- // return kVerbIHNMPush;
+ return kVerbIHNMPush;
case kVerbEnter:
return kVerbIHNMEnter;
case kVerbWalkOnly:
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