aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-04-12 16:34:23 +0000
committerTorbjörn Andersson2006-04-12 16:34:23 +0000
commitcdcf44d3f3cb2920ffd57317b126651076ca7e21 (patch)
tree9916a56787b27637954905a35356c1d8796fd6e9
parent2c3e1fe4ea0473267f213b0ffd286009cc3f3771 (diff)
downloadscummvm-rg350-cdcf44d3f3cb2920ffd57317b126651076ca7e21.tar.gz
scummvm-rg350-cdcf44d3f3cb2920ffd57317b126651076ca7e21.tar.bz2
scummvm-rg350-cdcf44d3f3cb2920ffd57317b126651076ca7e21.zip
Stubbed addPlayerCommandMessage(). I think it may have something to do with
printing default responses to commands. svn-id: r21829
-rw-r--r--engines/cine/various.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp
index 025ea03e7b..02588f720d 100644
--- a/engines/cine/various.cpp
+++ b/engines/cine/various.cpp
@@ -271,6 +271,13 @@ void runObjectScript(int16 entryIdx) {
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 @@ uint16 executePlayerInput(void) {
if (relEntry != -1) {
runObjectScript(relEntry);
} else {
- //addPlayerCommandMessage(playerCommand);
+ addPlayerCommandMessage(playerCommand);
}
playerCommand = -1;