[Scummvm-cvs-logs] SF.net SVN: scummvm: [21829] scummvm/trunk/engines/cine/various.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Wed Apr 12 09:35:02 CEST 2006


Revision: 21829
Author:   eriktorbjorn
Date:     2006-04-12 09:34:23 -0700 (Wed, 12 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21829&view=rev

Log Message:
-----------
Stubbed addPlayerCommandMessage(). I think it may have something to do with
printing default responses to commands.

Modified Paths:
--------------
    scummvm/trunk/engines/cine/various.cpp
Modified: scummvm/trunk/engines/cine/various.cpp
===================================================================
--- scummvm/trunk/engines/cine/various.cpp	2006-04-12 14:54:31 UTC (rev 21828)
+++ scummvm/trunk/engines/cine/various.cpp	2006-04-12 16:34:23 UTC (rev 21829)
@@ -271,6 +271,13 @@
 	computeScriptStack(pNewElement->scriptPtr, pNewElement->stack, relTable[entryIdx].size);
 }
 
+void addPlayerCommandMessage(int16 cmd) {
+	// Something to do with default responses to commands? Currently,
+	// nothing happens if you do silly things like, say, trying to talk to
+	// a tree.
+	warning("STUB: addPlayerCommandMessage(%d)", cmd);
+}
+
 int16 getRelEntryForObject(uint16 param1, uint16 param2, selectedObjStruct *pSelectedObject) {
 	int16 i;
 	int16 di = -1;
@@ -1895,7 +1902,7 @@
 							if (relEntry != -1) {
 								runObjectScript(relEntry);
 							} else {
-								//addPlayerCommandMessage(playerCommand);
+								addPlayerCommandMessage(playerCommand);
 							}
 
 							playerCommand = -1;


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