diff options
author | Eugene Sandulenko | 2015-12-20 14:08:50 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-27 15:40:57 +0100 |
commit | bb46957defcc1dc5182af6b8efe91086e572e991 (patch) | |
tree | 176e489a6a0ea00c146f5cda139750604f00545e /engines | |
parent | a4ba9313be311637ac9c1a6185184b497182c540 (diff) | |
download | scummvm-rg350-bb46957defcc1dc5182af6b8efe91086e572e991.tar.gz scummvm-rg350-bb46957defcc1dc5182af6b8efe91086e572e991.tar.bz2 scummvm-rg350-bb46957defcc1dc5182af6b8efe91086e572e991.zip |
WAGE: Fixed ver/horisontal lines thickness
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/design.cpp | 4 | ||||
-rw-r--r-- | engines/wage/wage.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index bafb3ad63f..0b9db3b2a2 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -560,13 +560,13 @@ void Design::drawThickLine (int x1, int y1, int x2, int y2, int thick, int color if (dx == 0) { if (y1 > y2) SWAP(y1, y2); - Common::Rect r(x1, y1, x1 + thick, y2); + Common::Rect r(x1, y1, x1 + thick - 1, y2); drawFilledRect(r, color, plotProc, data); return; } else if (dy == 0) { if (x1 > x2) SWAP(x1, x2); - Common::Rect r(x1, y1, x2, y1 + thick); + Common::Rect r(x1, y1, x2, y1 + thick - 1); drawFilledRect(r, color, plotProc, data); return; } diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index 52a5f5c600..093c94a2f0 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -108,8 +108,8 @@ Common::Error WageEngine::run() { Graphics::Surface screen; screen.create(640, 480, Graphics::PixelFormat::createFormatCLUT8()); Common::Rect r(0, 0, screen.w, screen.h); - //_world->_objs["frank.1"]->_design->setBounds(&r); - //_world->_objs["frank.1"]->_design->paint(&screen, _world->_patterns, false); + _world->_objs["frank.1"]->_design->setBounds(&r); + _world->_objs["frank.1"]->_design->paint(&screen, _world->_patterns, false); _world->_scenes["temple of the holy mackeral"]->_design->setBounds(&r); _world->_scenes["temple of the holy mackeral"]->_design->paint(&screen, _world->_patterns, false); //_world->_scenes["tower level 3"]->_design->setBounds(&r); |