diff options
author | Torbjörn Andersson | 2014-06-08 12:09:14 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2014-06-08 12:09:14 +0200 |
commit | ddff83a87ebf258a5e9832958714133098677459 (patch) | |
tree | d5a70e90b4e54c86bf7689601be42dd902c62c40 /engines/tsage | |
parent | 48ffd0255d565b0bbadfdb335deb4866b9bbe840 (diff) | |
download | scummvm-rg350-ddff83a87ebf258a5e9832958714133098677459.tar.gz scummvm-rg350-ddff83a87ebf258a5e9832958714133098677459.tar.bz2 scummvm-rg350-ddff83a87ebf258a5e9832958714133098677459.zip |
TSAGE: R2R - Fix right-side scene border
The right and left sides of the scene border are actually two
different images. You could see that the colors didn't line up at
the seams, but no one even noticed. Until now.
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/user_interface.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/tsage/user_interface.cpp b/engines/tsage/user_interface.cpp index 45bfe2b5ea..3ee585d5ef 100644 --- a/engines/tsage/user_interface.cpp +++ b/engines/tsage/user_interface.cpp @@ -289,12 +289,13 @@ void UICollection::draw() { void UICollection::r2rDrawFrame() { Visage visage; visage.setVisage(2, 1); - GfxSurface vertLine = visage.getFrame(1); + GfxSurface vertLineLeft = visage.getFrame(1); + GfxSurface vertLineRight = visage.getFrame(3); GfxSurface horizLine = visage.getFrame(2); GLOBALS._screenSurface.copyFrom(horizLine, 0, 0); - GLOBALS._screenSurface.copyFrom(vertLine, 0, 3); - GLOBALS._screenSurface.copyFrom(vertLine, SCREEN_WIDTH - 4, 3); + GLOBALS._screenSurface.copyFrom(vertLineLeft, 0, 3); + GLOBALS._screenSurface.copyFrom(vertLineRight, SCREEN_WIDTH - 4, 3); // Restrict drawing area to exclude the borders at the edge of the screen R2_GLOBALS._screenSurface._clipRect = Rect(4, 3, SCREEN_WIDTH - 4, |