diff options
author | Marisa-Chan | 2014-01-07 18:39:16 +0700 |
---|---|---|
committer | Marisa-Chan | 2014-01-07 18:39:16 +0700 |
commit | 1428cb8950e5bdcfad9d15d0fb2e32ff1dbc0bae (patch) | |
tree | 5baeb94cd7e5249f5416c9af9a0e5e59443bfafa /engines/zvision/console.cpp | |
parent | 48156debaf148b50acd3eb6e3de7020498016a5f (diff) | |
download | scummvm-rg350-1428cb8950e5bdcfad9d15d0fb2e32ff1dbc0bae.tar.gz scummvm-rg350-1428cb8950e5bdcfad9d15d0fb2e32ff1dbc0bae.tar.bz2 scummvm-rg350-1428cb8950e5bdcfad9d15d0fb2e32ff1dbc0bae.zip |
ZVISION: Refactoring of renderManager.
Diffstat (limited to 'engines/zvision/console.cpp')
-rw-r--r-- | engines/zvision/console.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/zvision/console.cpp b/engines/zvision/console.cpp index 400dcb3f39..252a4b75ef 100644 --- a/engines/zvision/console.cpp +++ b/engines/zvision/console.cpp @@ -60,12 +60,12 @@ Console::Console(ZVision *engine) : GUI::Debugger(), _engine(engine) { } bool Console::cmdLoadImage(int argc, const char **argv) { - if (argc == 4) - _engine->getRenderManager()->renderImageToScreen(argv[1], atoi(argv[2]), atoi(argv[3])); - else { - DebugPrintf("Use loadimage <fileName> <destinationX> <destinationY> to load an image to the screen\n"); - return true; - } +// if (argc == 4) +// _engine->getRenderManager()->renderImageToScreen(argv[1], atoi(argv[2]), atoi(argv[3])); +// else { +// DebugPrintf("Use loadimage <fileName> <destinationX> <destinationY> to load an image to the screen\n"); +// return true; +// } return true; } @@ -208,8 +208,8 @@ bool Console::cmdRenderText(int argc, const char **argv) { return true; } - StringManager::TextStyle style = _engine->getStringManager()->getTextStyle(atoi(argv[2])); - _engine->getRenderManager()->renderTextToWorkingWindow(333, Common::String(argv[1]), style.font, atoi(argv[3]), atoi(argv[4]), style.color, atoi(argv[5]), -1, Graphics::kTextAlignLeft, atoi(argv[6]) == 0 ? false : true); + //StringManager::TextStyle style = _engine->getStringManager()->getTextStyle(atoi(argv[2])); + //_engine->getRenderManager()->renderTextToWorkingWindow(333, Common::String(argv[1]), style.font, atoi(argv[3]), atoi(argv[4]), style.color, atoi(argv[5]), -1, Graphics::kTextAlignLeft, atoi(argv[6]) == 0 ? false : true); return true; } |