aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-10-22 23:45:35 +1100
committerPaul Gilbert2011-10-23 22:12:04 +1100
commitdddf7a3bff52c8304a87e8abbb63ba8a64422dab (patch)
tree473f7fa521a9254e6d1e91baad3045ddce6ccaac /engines/tsage
parent8a7f3e69ffc050d70446db3d6e51b2e2215121b2 (diff)
downloadscummvm-rg350-dddf7a3bff52c8304a87e8abbb63ba8a64422dab.tar.gz
scummvm-rg350-dddf7a3bff52c8304a87e8abbb63ba8a64422dab.tar.bz2
scummvm-rg350-dddf7a3bff52c8304a87e8abbb63ba8a64422dab.zip
TSAGE: Added correct resource loads for Ringworld 2 cursors
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/events.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/tsage/events.cpp b/engines/tsage/events.cpp
index 97b2c8ce3b..073cbc35b9 100644
--- a/engines/tsage/events.cpp
+++ b/engines/tsage/events.cpp
@@ -165,10 +165,13 @@ void EventsClass::setCursor(CursorType cursorType) {
case CURSOR_LOOK:
// Look cursor
- if (g_vm->getGameID() == GType_BlueForce)
+ if (g_vm->getGameID() == GType_BlueForce) {
cursor = g_resourceManager->getSubResource(1, 5, 3, &size);
- else
+ } else if (g_vm->getGameID() == GType_Ringworld2) {
+ cursor = g_resourceManager->getSubResource(5, 1, 5, &size);
+ } else {
cursor = g_resourceManager->getSubResource(4, 1, 5, &size);
+ }
_currentCursor = CURSOR_LOOK;
break;
@@ -176,6 +179,8 @@ void EventsClass::setCursor(CursorType cursorType) {
// Use cursor
if (g_vm->getGameID() == GType_BlueForce) {
cursor = g_resourceManager->getSubResource(1, 5, 2, &size);
+ } else if (g_vm->getGameID() == GType_Ringworld2) {
+ cursor = g_resourceManager->getSubResource(5, 1, 4, &size);
} else {
cursor = g_resourceManager->getSubResource(4, 1, 4, &size);
}
@@ -186,6 +191,8 @@ void EventsClass::setCursor(CursorType cursorType) {
// Talk cursor
if (g_vm->getGameID() == GType_BlueForce) {
cursor = g_resourceManager->getSubResource(1, 5, 4, &size);
+ } else if (g_vm->getGameID() == GType_Ringworld2) {
+ cursor = g_resourceManager->getSubResource(5, 1, 6, &size);
} else {
cursor = g_resourceManager->getSubResource(4, 1, 3, &size);
}