diff options
author | Thanasis Antoniou | 2019-05-01 12:03:00 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-05-01 12:03:00 +0300 |
commit | c572828132eb9c5dfbb4b596a663e95f25357ee0 (patch) | |
tree | b05a0eb952535e7381880a32b407d1376bb9301f /engines/bladerunner/script/police_maze.cpp | |
parent | 4cd7c3d19fd2cdf043c4cade221683b24b0e2afd (diff) | |
download | scummvm-rg350-c572828132eb9c5dfbb4b596a663e95f25357ee0.tar.gz scummvm-rg350-c572828132eb9c5dfbb4b596a663e95f25357ee0.tar.bz2 scummvm-rg350-c572828132eb9c5dfbb4b596a663e95f25357ee0.zip |
BLADERUNNER: Debugger command show maze score
Diffstat (limited to 'engines/bladerunner/script/police_maze.cpp')
-rw-r--r-- | engines/bladerunner/script/police_maze.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/bladerunner/script/police_maze.cpp b/engines/bladerunner/script/police_maze.cpp index 99a5384e94..f5b9a1daa2 100644 --- a/engines/bladerunner/script/police_maze.cpp +++ b/engines/bladerunner/script/police_maze.cpp @@ -30,8 +30,8 @@ #include "bladerunner/script/police_maze.h" #include "bladerunner/script/scene_script.h" #include "bladerunner/time.h" -//#include "bladerunner/subtitles.h" // Display score and debug info on-screen - +#include "bladerunner/subtitles.h" +#include "bladerunner/debugger.h" // ---------------------- // Maze point system info // ---------------------- @@ -152,8 +152,10 @@ void PoliceMaze::tick() { } } -// _vm->_subtitles->setGameSubsText(Common::String::format("Score: %02d", Global_Variable_Query(kVariablePoliceMazeScore)), true); // for debug purposes, show maze score -// _vm->_subtitles->show(); // for debug purposes, show maze score + if (_vm->_debugger->_showMazeScore && _isActive && !_isEnding) { + _vm->_subtitles->setGameSubsText(Common::String::format("Score: %02d", Global_Variable_Query(kVariablePoliceMazeScore)), true); + _vm->_subtitles->show(); + } if (notFound && _isActive && !_isEnding) { _isActive = false; |