aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-02-06 14:05:08 +0000
committerNicola Mettifogo2008-02-06 14:05:08 +0000
commit246fbfd1e42e2946e10e1e1fe716edac72cbbf4a (patch)
treeea9fe8a31658ed4a610788250281ce2ca2ef135d /engines/parallaction/parallaction.cpp
parent715e33d63d62dc02dd37c7db9bfb92d5cb323b0c (diff)
downloadscummvm-rg350-246fbfd1e42e2946e10e1e1fe716edac72cbbf4a.tar.gz
scummvm-rg350-246fbfd1e42e2946e10e1e1fe716edac72cbbf4a.tar.bz2
scummvm-rg350-246fbfd1e42e2946e10e1e1fe716edac72cbbf4a.zip
Added experimental debug feature: variables influencing the rendering that can be set via console using the 'set' command. The implementation is still partial. Leveraging on this, the engine can now selectively display the current background mask instead of the background itself.
svn-id: r30808
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r--engines/parallaction/parallaction.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp
index be81bdc4e1..dcacf900be 100644
--- a/engines/parallaction/parallaction.cpp
+++ b/engines/parallaction/parallaction.cpp
@@ -253,12 +253,16 @@ void Parallaction::runGame() {
changeLocation(_location._name);
}
+
+ _gfx->beginFrame();
+
if (_inputMode == kInputModeGame) {
runScripts();
walk();
drawAnimations();
}
+ // change this to endFrame?
updateView();
}