Skip to content

Commit

Permalink
TSAGE: Implemented proper descriptions for inventory items in R2RW
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 31, 2011
1 parent 79a9973 commit 8d27da1
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions engines/tsage/user_interface.cpp
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 8d27da1

Please sign in to comment.