From 246fbfd1e42e2946e10e1e1fe716edac72cbbf4a Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Wed, 6 Feb 2008 14:05:08 +0000 Subject: 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 --- engines/parallaction/parallaction.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/parallaction/parallaction.cpp') 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(); } -- cgit v1.2.3