aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/ringworld
diff options
context:
space:
mode:
authorStrangerke2011-10-11 23:10:32 +0200
committerStrangerke2011-10-11 23:10:32 +0200
commit6508135062e0ed655ae32e91d59d982acde5f537 (patch)
treec55f8731950b202304f69cd4cc50ac576080a7c8 /engines/tsage/ringworld
parentfa27d6fe69e9cc2901e1de9ac9fffc59107363dc (diff)
downloadscummvm-rg350-6508135062e0ed655ae32e91d59d982acde5f537.tar.gz
scummvm-rg350-6508135062e0ed655ae32e91d59d982acde5f537.tar.bz2
scummvm-rg350-6508135062e0ed655ae32e91d59d982acde5f537.zip
TSAGE: Rename hotspots in ringworld, scene 9100
Diffstat (limited to 'engines/tsage/ringworld')
-rw-r--r--engines/tsage/ringworld/ringworld_scenes10.cpp15
-rw-r--r--engines/tsage/ringworld/ringworld_scenes10.h12
2 files changed, 14 insertions, 13 deletions
diff --git a/engines/tsage/ringworld/ringworld_scenes10.cpp b/engines/tsage/ringworld/ringworld_scenes10.cpp
index 9a9f63705b..474999d94e 100644
--- a/engines/tsage/ringworld/ringworld_scenes10.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes10.cpp
@@ -54,6 +54,7 @@ void Object9350::draw() {
* Scene 9100 - Near beach: Slave washing clothes
*
*--------------------------------------------------------------------------*/
+// Slave hotspot
void Scene9100::SceneHotspot1::doAction(int action) {
Scene9100 *scene = (Scene9100 *)g_globals->_sceneManager._scene;
@@ -102,7 +103,7 @@ void Scene9100::signal() {
g_globals->_sceneManager.changeScene(9150);
break;
case 9105:
- _sceneHotspot3.remove();
+ _hotspotCleanedClothes.remove();
// No break on purpose
case 9103:
case 9104:
@@ -145,13 +146,13 @@ void Scene9100::postInit(SceneObjectList *OwnerList) {
_object6.setStrip(6);
_object6.setFrame(1);
_object6.setPosition(Common::Point(138, 166));
- _sceneHotspot3.setDetails(145, 125, 166, 156, 9100, 40, 43);
+ _hotspotCleanedClothes.setDetails(145, 125, 166, 156, 9100, 40, 43);
}
- _sceneHotspot1.setDetails(140, 176, 185, 215, 9100, 36, 37);
- _sceneHotspot2.setDetails(161, 138, 182, 175, 9100, 38, 39);
- _sceneHotspot4.setDetails(37, 196, 47, 320, 9100, 44, -1);
- _sceneHotspot5.setDetails(69, 36, 121, 272, 9100, 45, 46);
- _sceneHotspot6.setDetails(127, 0, 200, 52, 9100, 47, 48);
+ _hotspotSlave.setDetails(140, 176, 185, 215, 9100, 36, 37);
+ _hotspotSoiledClothes.setDetails(161, 138, 182, 175, 9100, 38, 39);
+ _hotspotIsland.setDetails(37, 196, 47, 320, 9100, 44, -1);
+ _hotspotBoulders.setDetails(69, 36, 121, 272, 9100, 45, 46);
+ _hotspotTrees.setDetails(127, 0, 200, 52, 9100, 47, 48);
g_globals->_soundHandler.play(251);
if (g_globals->_sceneManager._previousScene == 9150) {
diff --git a/engines/tsage/ringworld/ringworld_scenes10.h b/engines/tsage/ringworld/ringworld_scenes10.h
index 6bca48776b..0193d5af63 100644
--- a/engines/tsage/ringworld/ringworld_scenes10.h
+++ b/engines/tsage/ringworld/ringworld_scenes10.h
@@ -80,12 +80,12 @@ public:
SceneObject _object4;
SceneObject _object5;
SceneObject _object6;
- SceneHotspot1 _sceneHotspot1;
- NamedHotspot _sceneHotspot2;
- NamedHotspot _sceneHotspot3;
- NamedHotspot _sceneHotspot4;
- NamedHotspot _sceneHotspot5;
- NamedHotspot _sceneHotspot6;
+ SceneHotspot1 _hotspotSlave;
+ NamedHotspot _hotspotSoiledClothes;
+ NamedHotspot _hotspotCleanedClothes;
+ NamedHotspot _hotspotIsland;
+ NamedHotspot _hotspotBoulders;
+ NamedHotspot _hotspotTrees;
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();