Skip to content

Commit

Permalink
TSAGE: Renamings for R2R Spill Mountains bedroom 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Nov 3, 2013
1 parent fb08979 commit d7e65a3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
28 changes: 14 additions & 14 deletions engines/tsage/ringworld2/ringworld2_scenes2.cpp
Expand Up @@ -1794,7 +1794,7 @@ void Scene2435::signal() {
*
*--------------------------------------------------------------------------*/

bool Scene2440::Actor1::startAction(CursorType action, Event &event) {
bool Scene2440::Companion::startAction(CursorType action, Event &event) {
return SceneActor::startAction(action, event);
}

Expand Down Expand Up @@ -1849,24 +1849,24 @@ void Scene2440::postInit(SceneObjectList *OwnerList) {
}
R2_GLOBALS._player.setPosition(Common::Point(210, 200));
if (R2_GLOBALS._player._characterScene[R2_QUINN] == R2_GLOBALS._player._characterScene[R2_SEEKER]) {
_actor1.postInit();
_companion.postInit();
if (R2_GLOBALS._player._characterIndex == R2_QUINN) {
_actor1.setup(20, 5, 1);
_actor1.setDetails(9002, 0, 4, 3, 1, (SceneItem *)NULL);
_companion.setup(20, 5, 1);
_companion.setDetails(9002, 0, 4, 3, 1, (SceneItem *)NULL);
} else {
_actor1.setup(2008, 5, 1);
_actor1.setDetails(9002, 0, 5, 3, 1, (SceneItem *)NULL);
_companion.setup(2008, 5, 1);
_companion.setDetails(9002, 0, 5, 3, 1, (SceneItem *)NULL);
}
_actor1.setPosition(Common::Point(38, 119));
_companion.setPosition(Common::Point(38, 119));
}

_item2.setDetails(Rect(125, 25, 142, 73), 2430, 15, -1, 14, 1, NULL);
_item3.setDetails(Rect(124, 78, 237, 120), 2430, 36, -1, 38, 1, NULL);
_item4.setDetails(Rect(250, 3, 265, 133), 2430, 30, 31, 32, 1, NULL);
_item5.setDetails(Rect(91, 117, 203, 140), 2430, 9, -1, 11, 1, NULL);
_item6.setDetails(Rect(48, 78, 103, 112), 2430, 6, -1, -1, 1, NULL);
_item7.setDetails(Rect(48, 31, 73, 52), 2430, 33, -1, 18, 1, NULL);
_item1.setDetails(Rect(0, 0, 320, 200), 2430, 0, -1, -1, 1, NULL);
_garments.setDetails(Rect(125, 25, 142, 73), 2430, 15, -1, 14, 1, NULL);
_bedspread.setDetails(Rect(124, 78, 237, 120), 2430, 36, -1, 38, 1, NULL);
_post.setDetails(Rect(250, 3, 265, 133), 2430, 30, 31, 32, 1, NULL);
_rug.setDetails(Rect(91, 117, 203, 140), 2430, 9, -1, 11, 1, NULL);
_furnishings.setDetails(Rect(48, 78, 103, 112), 2430, 6, -1, -1, 1, NULL);
_bottles.setDetails(Rect(48, 31, 73, 52), 2430, 33, -1, 18, 1, NULL);
_background.setDetails(Rect(0, 0, 320, 200), 2430, 0, -1, -1, 1, NULL);

R2_GLOBALS._player.disableControl();

Expand Down
18 changes: 9 additions & 9 deletions engines/tsage/ringworld2/ringworld2_scenes2.h
Expand Up @@ -260,7 +260,7 @@ class Scene2435 : public SceneExt {
};

class Scene2440 : public SceneExt {
class Actor1 : public SceneActor {
class Companion : public SceneActor {
public:
bool startAction(CursorType action, Event &event);
};
Expand All @@ -274,14 +274,14 @@ class Scene2440 : public SceneExt {
virtual void changeScene();
};
public:
NamedHotspot _item1;
NamedHotspot _item2;
NamedHotspot _item3;
NamedHotspot _item4;
NamedHotspot _item5;
NamedHotspot _item6;
NamedHotspot _item7;
Actor1 _actor1;
NamedHotspot _background;
NamedHotspot _garments;
NamedHotspot _bedspread;
NamedHotspot _post;
NamedHotspot _rug;
NamedHotspot _furnishings;
NamedHotspot _bottles;
Companion _companion;
OilLamp _oilLamp;
Exit1 _exit1;
SequenceManager _sequenceManager;
Expand Down

0 comments on commit d7e65a3

Please sign in to comment.