aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/exec_br.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2009-03-23 00:56:05 +0000
committerNicola Mettifogo2009-03-23 00:56:05 +0000
commit71f42a954988bfe490d9c76e16edfa06873fe1b8 (patch)
treee641a159bd307189d96dc6afca2efbec56f9316e /engines/parallaction/exec_br.cpp
parente3f9acc3e6c66ab42e6e992536c933069771c99e (diff)
downloadscummvm-rg350-71f42a954988bfe490d9c76e16edfa06873fe1b8.tar.gz
scummvm-rg350-71f42a954988bfe490d9c76e16edfa06873fe1b8.tar.bz2
scummvm-rg350-71f42a954988bfe490d9c76e16edfa06873fe1b8.zip
Fully implemented scrolling.
svn-id: r39622
Diffstat (limited to 'engines/parallaction/exec_br.cpp')
-rw-r--r--engines/parallaction/exec_br.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp
index 04969fcad4..a3eb919354 100644
--- a/engines/parallaction/exec_br.cpp
+++ b/engines/parallaction/exec_br.cpp
@@ -264,7 +264,9 @@ DECLARE_COMMAND_OPCODE(zeta) {
DECLARE_COMMAND_OPCODE(scroll) {
- warning("Parallaction_br::cmdOp_scroll not yet implemented");
+ Common::Point p;
+ _vm->_gfx->getScrollPos(p);
+ _vm->_gfx->initiateScroll(ctxt._cmd->u._counterValue - p.x, 0);
}