diff options
author | Paul Gilbert | 2011-10-31 16:11:43 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-10-31 16:11:43 +1100 |
commit | 8d27da169caac3f581c984f5713caabd0723eb37 (patch) | |
tree | 2d2d004d05f7f948fb3932fdfbcabd3dea441f28 /engines | |
parent | 79a9973b4af6acc6146ed33087962327845502c6 (diff) | |
download | scummvm-rg350-8d27da169caac3f581c984f5713caabd0723eb37.tar.gz scummvm-rg350-8d27da169caac3f581c984f5713caabd0723eb37.tar.bz2 scummvm-rg350-8d27da169caac3f581c984f5713caabd0723eb37.zip |
TSAGE: Implemented proper descriptions for inventory items in R2RW
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/user_interface.cpp | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/engines/tsage/user_interface.cpp b/engines/tsage/user_interface.cpp index 9657d25875..807e788cb9 100644 --- a/engines/tsage/user_interface.cpp +++ b/engines/tsage/user_interface.cpp @@ -71,12 +71,27 @@ void UIQuestion::process(Event &event) { } void UIQuestion::showDescription(CursorType cursor) { - if (cursor == INV_FOREST_RAP) { - // Forest rap item has a graphical display - showItem(5, 1, 1); - } else { - // Display object description - SceneItem::display2(9001, (int)cursor); + switch (g_vm->getGameID()) { + case GType_BlueForce: + if (cursor == INV_FOREST_RAP) { + // Forest rap item has a graphical display + showItem(5, 1, 1); + } else { + // Display object description + SceneItem::display2(9001, (int)cursor); + } + break; + case GType_Ringworld2: + if ((cursor == R2_9) || (cursor == R2_39)) { + // Show communicator + warning("TODO: Communicator"); + } else { + // Show object description + SceneItem::display2(3, (int)cursor); + } + break; + default: + break; } } |