aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-10-23 22:10:06 +1100
committerPaul Gilbert2011-10-23 22:12:06 +1100
commit32ed9a99e92b88be665a6012efa50c0e5666095d (patch)
tree74fbc4c8466837c8682e1149aabce306c7d71319
parentd3c8a8e95e30da3da73642ddee23c992d3765e05 (diff)
downloadscummvm-rg350-32ed9a99e92b88be665a6012efa50c0e5666095d.tar.gz
scummvm-rg350-32ed9a99e92b88be665a6012efa50c0e5666095d.tar.bz2
scummvm-rg350-32ed9a99e92b88be665a6012efa50c0e5666095d.zip
TSAGE: Changed SceneItem::display2 to handle Ringworld 2
-rw-r--r--engines/tsage/core.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 495d122995..a56b30ad4d 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -1675,14 +1675,21 @@ void SceneItem::display(int resNum, int lineNum, ...) {
}
void SceneItem::display2(int resNum, int lineNum) {
- if (g_vm->getGameID() == GType_BlueForce)
+ switch (g_vm->getGameID()) {
+ case GType_BlueForce:
display(resNum, lineNum, SET_WIDTH, 312,
SET_X, 4 + GLOBALS._sceneManager._scene->_sceneBounds.left,
SET_Y, GLOBALS._sceneManager._scene->_sceneBounds.top + UI_INTERFACE_Y + 2,
SET_FONT, 4, SET_BG_COLOR, 1, SET_FG_COLOR, 19, SET_EXT_BGCOLOR, 9,
SET_EXT_FGCOLOR, 13, LIST_END);
- else
+ break;
+ case GType_Ringworld2:
+ display(resNum, lineNum, SET_WIDTH, 280, SET_X, 20, SET_Y, 20, SET_EXT_BGCOLOR, 60, LIST_END);
+ break;
+ default:
display(resNum, lineNum, SET_WIDTH, 200, SET_EXT_BGCOLOR, 7, LIST_END);
+ break;
+ }
}
void SceneItem::display(const Common::String &msg) {