aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorstrangerke2011-05-06 19:47:13 +0200
committerstrangerke2011-05-06 20:45:43 +0200
commit86daaedf964b9c5e7128937848216e6a1891cc7d (patch)
treeb12c9ff5530191998a5af99d005fcd07f87258e3 /engines
parentdea5aa8a2017ec9b9abc16b34683a1e37aafbe46 (diff)
downloadscummvm-rg350-86daaedf964b9c5e7128937848216e6a1891cc7d.tar.gz
scummvm-rg350-86daaedf964b9c5e7128937848216e6a1891cc7d.tar.bz2
scummvm-rg350-86daaedf964b9c5e7128937848216e6a1891cc7d.zip
TSAGE: For consistency, renamed sceneItem1 into Hotspot1 in scene 7000
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/ringworld_scenes8.cpp6
-rw-r--r--engines/tsage/ringworld_scenes8.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/tsage/ringworld_scenes8.cpp b/engines/tsage/ringworld_scenes8.cpp
index 0969ba8a4e..43bff50b47 100644
--- a/engines/tsage/ringworld_scenes8.cpp
+++ b/engines/tsage/ringworld_scenes8.cpp
@@ -346,7 +346,7 @@ void Scene7000::Action7::signal() {
/*--------------------------------------------------------------------------*/
-void Scene7000::SceneItem1::doAction(int action) {
+void Scene7000::Hotspot1::doAction(int action) {
if (action == CURSOR_LOOK)
SceneItem::display2(7000, 2);
else
@@ -608,8 +608,8 @@ void Scene7000::postInit(SceneObjectList *OwnerList) {
setAction(&_action3);
}
- _sceneItem1.setBounds(Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT));
- _globals->_sceneItems.push_back(&_sceneItem1);
+ _hotspot1.setBounds(Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT));
+ _globals->_sceneItems.push_back(&_hotspot1);
}
/*--------------------------------------------------------------------------*/
diff --git a/engines/tsage/ringworld_scenes8.h b/engines/tsage/ringworld_scenes8.h
index c40a43eba6..713520c6a0 100644
--- a/engines/tsage/ringworld_scenes8.h
+++ b/engines/tsage/ringworld_scenes8.h
@@ -95,7 +95,7 @@ class Scene7000 : public Scene {
};
/* Items */
- class SceneItem1 : public SceneHotspot {
+ class Hotspot1 : public SceneHotspot {
public:
virtual void doAction(int action);
};
@@ -125,7 +125,7 @@ public:
Action5 _action5;
Action6 _action6;
Action7 _action7;
- SceneItem1 _sceneItem1;
+ Hotspot1 _hotspot1;
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();