aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/core.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2011-09-05 20:57:06 +1000
committerPaul Gilbert2011-09-05 20:57:06 +1000
commit850501147253fa1f0c3f1458ccfb11a733eaa355 (patch)
tree7090d94db310103b3d36807790623af641934db1 /engines/tsage/core.cpp
parent3a5e17d5525bfe1f42a465247b47f4b74d6f5c6c (diff)
downloadscummvm-rg350-850501147253fa1f0c3f1458ccfb11a733eaa355.tar.gz
scummvm-rg350-850501147253fa1f0c3f1458ccfb11a733eaa355.tar.bz2
scummvm-rg350-850501147253fa1f0c3f1458ccfb11a733eaa355.zip
TSAGE: Further user interface fixes, and minor dialog tweaks
Diffstat (limited to 'engines/tsage/core.cpp')
-rw-r--r--engines/tsage/core.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 4dc4c72fc8..71f001db80 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -1619,8 +1619,13 @@ void SceneItem::display(int resNum, int lineNum, ...) {
_globals->_sceneText.remove();
}
- if ((_vm->getGameID() == GType_BlueForce) && BF_GLOBALS._uiElements._active)
+ if ((_vm->getGameID() == GType_BlueForce) && BF_GLOBALS._uiElements._active) {
+ // Show user interface
BF_GLOBALS._uiElements.show();
+
+ // Re-show the cursor
+ BF_GLOBALS._events.setCursor(BF_GLOBALS._events.getCursor());
+ }
}
void SceneItem::display2(int resNum, int lineNum) {
@@ -2774,6 +2779,12 @@ void SceneText::synchronize(Serializer &s) {
_textSurface.synchronize(s);
}
+void SceneText::updateScreen() {
+ // In Blue Force, stop clearing text in the user interface area screwing up user interface
+ if ((_vm->getGameID() != GType_BlueForce) || (_bounds.top < BF_INTERFACE_Y))
+ SceneObject::updateScreen();
+}
+
/*--------------------------------------------------------------------------*/
Visage::Visage() {