aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_remote_glyphs.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-11 21:14:17 -0500
committerPaul Gilbert2016-11-11 21:14:17 -0500
commitc542c2827f2d8dd65e12b3129cfbbf09dc48f150 (patch)
treee7a7d2927d94f3338ce653e21241fe774408ae9e /engines/titanic/pet_control/pet_remote_glyphs.h
parentd786b7383f500e9f0f882331a8996f8bc9afe282 (diff)
downloadscummvm-rg350-c542c2827f2d8dd65e12b3129cfbbf09dc48f150.tar.gz
scummvm-rg350-c542c2827f2d8dd65e12b3129cfbbf09dc48f150.tar.bz2
scummvm-rg350-c542c2827f2d8dd65e12b3129cfbbf09dc48f150.zip
TITANIC: Setup room indexes for each Remote Goto glyph
Diffstat (limited to 'engines/titanic/pet_control/pet_remote_glyphs.h')
-rw-r--r--engines/titanic/pet_control/pet_remote_glyphs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/pet_control/pet_remote_glyphs.h b/engines/titanic/pet_control/pet_remote_glyphs.h
index 83b6e16a4b..c661a1e2af 100644
--- a/engines/titanic/pet_control/pet_remote_glyphs.h
+++ b/engines/titanic/pet_control/pet_remote_glyphs.h
@@ -150,13 +150,13 @@ public:
class CRemoteGotoGlyph : public CPetRemoteGlyph {
protected:
int _roomIndex;
- CPetGfxElement *_gfxElement;
+ CPetGfxElement *_goButton;
CString _gfxName, _tooltip;
public:
- CRemoteGotoGlyph() : CPetRemoteGlyph(), _gfxElement(nullptr), _roomIndex(21) {}
- CRemoteGotoGlyph(const CString &gfxName, const CString &tooltip) :
- CPetRemoteGlyph(), _gfxElement(nullptr), _roomIndex(21),
- _gfxName(gfxName), _tooltip(tooltip) {}
+ CRemoteGotoGlyph() : CPetRemoteGlyph(), _goButton(nullptr), _roomIndex(21) {}
+ CRemoteGotoGlyph(const CString &gfxName, const CString &tooltip, int roomIndex) :
+ CPetRemoteGlyph(), _gfxName(gfxName), _tooltip(tooltip), _roomIndex(roomIndex),
+ _goButton(nullptr) {}
/**
* Setup the glyph