[Scummvm-cvs-logs] scummvm master -> d837605477ce7d945d4f3bc1ecbf48eb89549e7c
dreammaster
dreammaster at scummvm.org
Mon Sep 16 03:00:28 CEST 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d837605477 TSAGE: GFX fix for changing to a standard screen from a full height screen
Commit: d837605477ce7d945d4f3bc1ecbf48eb89549e7c
https://github.com/scummvm/scummvm/commit/d837605477ce7d945d4f3bc1ecbf48eb89549e7c
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2013-09-15T17:59:20-07:00
Commit Message:
TSAGE: GFX fix for changing to a standard screen from a full height screen
Changed paths:
engines/tsage/core.cpp
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 065d4eb..fbbf982 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -1516,6 +1516,10 @@ void ScenePalette::changeBackground(const Rect &bounds, FadeMode fadeMode) {
g_globals->_screenSurface.copyFrom(g_globals->_sceneManager._scene->_backSurface,
tempRect, Rect(0, 0, tempRect.width(), tempRect.height()), NULL);
+ if (g_vm->getGameID() == GType_Ringworld2 && !GLOBALS._player._uiEnabled
+ && T2_GLOBALS._interfaceY == UI_INTERFACE_Y) {
+ g_globals->_screenSurface.fillRect(Rect(0, UI_INTERFACE_Y, SCREEN_WIDTH, SCREEN_HEIGHT), 0);
+ }
for (SynchronizedList<PaletteModifier *>::iterator i = tempPalette._listeners.begin(); i != tempPalette._listeners.end(); ++i)
delete *i;
More information about the Scummvm-git-logs
mailing list