aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/livingbooks_code.h
diff options
context:
space:
mode:
authorAlyssa Milburn2011-04-07 23:08:55 +0200
committerAlyssa Milburn2011-04-07 23:08:55 +0200
commit10454194bc8ba1bdcc02899ca3b28f8ac6f8ea97 (patch)
treea9325335389ff142cca6272e50409824d40dbde2 /engines/mohawk/livingbooks_code.h
parentac1522e177de979d6d9ef3248c0747de3dba00b5 (diff)
downloadscummvm-rg350-10454194bc8ba1bdcc02899ca3b28f8ac6f8ea97.tar.gz
scummvm-rg350-10454194bc8ba1bdcc02899ca3b28f8ac6f8ea97.tar.bz2
scummvm-rg350-10454194bc8ba1bdcc02899ca3b28f8ac6f8ea97.zip
MOHAWK: Implement some LBCode rect commands.
Diffstat (limited to 'engines/mohawk/livingbooks_code.h')
-rw-r--r--engines/mohawk/livingbooks_code.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/mohawk/livingbooks_code.h b/engines/mohawk/livingbooks_code.h
index 50b5783bbf..bd9a56547b 100644
--- a/engines/mohawk/livingbooks_code.h
+++ b/engines/mohawk/livingbooks_code.h
@@ -210,12 +210,21 @@ protected:
void parseMain();
Common::Array<LBValue> readParams();
+ Common::Rect getRectFromParams(const Common::Array<LBValue> &params);
+
void runGeneralCommand();
void runItemCommand();
void runNotifyCommand();
public:
void cmdUnimplemented(const Common::Array<LBValue> &params);
+ void cmdGetRect(const Common::Array<LBValue> &params);
+ void cmdTopLeft(const Common::Array<LBValue> &params);
+ void cmdBottomRight(const Common::Array<LBValue> &params);
+ void cmdTop(const Common::Array<LBValue> &params);
+ void cmdLeft(const Common::Array<LBValue> &params);
+ void cmdBottom(const Common::Array<LBValue> &params);
+ void cmdRight(const Common::Array<LBValue> &params);
void cmdSetPlayParams(const Common::Array<LBValue> &params);
void cmdSetKeyEvent(const Common::Array<LBValue> &params);
void cmdSetHitTest(const Common::Array<LBValue> &params);