diff options
author | Vladimir Menshakov | 2009-09-05 08:45:32 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-09-05 08:45:32 +0000 |
commit | 6cce301d1c39e86a666488e5a4b02f6aefeed975 (patch) | |
tree | f513c12adecb92e72562eba8412f0f24a7aef311 /engines/teenagent | |
parent | efc3b4063358259d5704c3fef921617a1d6a881c (diff) | |
download | scummvm-rg350-6cce301d1c39e86a666488e5a4b02f6aefeed975.tar.gz scummvm-rg350-6cce301d1c39e86a666488e5a4b02f6aefeed975.tar.bz2 scummvm-rg350-6cce301d1c39e86a666488e5a4b02f6aefeed975.zip |
removed debug rendering of bounding boxes
svn-id: r43957
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/scene.cpp | 3 | ||||
-rw-r--r-- | engines/teenagent/teenagent.cpp | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index fbed57a365..825887e96a 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -346,11 +346,12 @@ bool Scene::render(OSystem * system) { busy |= processEventQueue(); //if (!current_event.empty()) // current_event.dump(); - + /* for (byte i = 0; i < walkboxes; ++i) { Walkbox * w = walkbox[i]; w->rect.render(surface, 0xd0 + i); } + */ if (!message.empty()) { Resources::instance()->font7.render(surface, message_pos.x, message_pos.y, message); diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp index 1caa19a245..c472b109ff 100644 --- a/engines/teenagent/teenagent.cpp +++ b/engines/teenagent/teenagent.cpp @@ -287,8 +287,8 @@ Common::Error TeenAgentEngine::run() { uint w = res->font7.render(NULL, 0, 0, name); res->font7.render(surface, (320 - w) / 2, 180, name, true); if (current_object) { - current_object->rect.render(surface, 0x80); - current_object->actor_rect.render(surface, 0x81); + //current_object->rect.render(surface, 0x80); + //current_object->actor_rect.render(surface, 0x81); } } } |