From 69b1485a22dc2b8a2cfe0bd10edcbaad0da0cf6e Mon Sep 17 00:00:00 2001 From: strangerke Date: Thu, 12 May 2011 01:13:57 +0200 Subject: GIT: Clean up: Suppress SVN tags, now useless --- engines/mohawk/livingbooks_code.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'engines/mohawk/livingbooks_code.cpp') diff --git a/engines/mohawk/livingbooks_code.cpp b/engines/mohawk/livingbooks_code.cpp index 4237c712d9..1cc8aea873 100644 --- a/engines/mohawk/livingbooks_code.cpp +++ b/engines/mohawk/livingbooks_code.cpp @@ -18,9 +18,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * $URL$ - * $Id$ - * */ #include "mohawk/livingbooks.h" -- cgit v1.2.3 From 3ed095434f471d1cecde2f8c2c805f7d22aed572 Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Fri, 13 May 2011 23:03:47 +0200 Subject: MOHAWK: Stub another two LB script functions. --- engines/mohawk/livingbooks_code.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'engines/mohawk/livingbooks_code.cpp') diff --git a/engines/mohawk/livingbooks_code.cpp b/engines/mohawk/livingbooks_code.cpp index 1cc8aea873..165ca4a328 100644 --- a/engines/mohawk/livingbooks_code.cpp +++ b/engines/mohawk/livingbooks_code.cpp @@ -606,7 +606,7 @@ CodeCommandInfo generalCommandInfo[NUM_GENERAL_COMMANDS] = { { "move", 0 }, { 0, 0 }, { 0, 0 }, - { "setDragParams", 0 }, + { "setDragParams", &LBCode::cmdSetDragParams }, { "resetDragParams", 0 }, { "enableRollover", &LBCode::cmdUnimplemented /* FIXME */ }, { "setCursor", 0 }, @@ -801,6 +801,10 @@ void LBCode::cmdRight(const Common::Array ¶ms) { _stack.push(rect.right); } +void LBCode::cmdSetDragParams(const Common::Array ¶ms) { + warning("ignoring setDragParams"); +} + void LBCode::cmdSetPlayParams(const Common::Array ¶ms) { if (params.size() > 8) error("too many parameters (%d) to setPlayParams", params.size()); @@ -875,7 +879,7 @@ CodeCommandInfo itemCommandInfo[NUM_ITEM_COMMANDS] = { { "isLoaded", 0 }, { "isDragging", 0 }, { "load", 0 }, - { "moveTo", 0 }, + { "moveTo", &LBCode::itemMoveTo }, { "mute", 0 }, { "play", 0 }, { "seek", 0 }, @@ -910,6 +914,10 @@ void LBCode::itemIsPlaying(const Common::Array ¶ms) { _stack.push(0); } +void LBCode::itemMoveTo(const Common::Array ¶ms) { + warning("ignoring moveTo"); +} + void LBCode::itemSetParent(const Common::Array ¶ms) { if (params.size() > 2) error("incorrect number of parameters (%d) to setParent", params.size()); -- cgit v1.2.3