From ddff83a87ebf258a5e9832958714133098677459 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 8 Jun 2014 12:09:14 +0200 Subject: 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. --- engines/tsage/user_interface.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engines/tsage') 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, -- cgit v1.2.3