aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_rooms_glyphs.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-09 20:23:50 -0500
committerPaul Gilbert2016-11-09 20:23:50 -0500
commit56a23b9adaf806fa6d050e2cc2f11745006ac7be (patch)
tree7103f6db0cd31de54ef64b81a019355d936aef41 /engines/titanic/pet_control/pet_rooms_glyphs.h
parent939b7ed885754e2a513e8b8498715f52d14dbaa3 (diff)
downloadscummvm-rg350-56a23b9adaf806fa6d050e2cc2f11745006ac7be.tar.gz
scummvm-rg350-56a23b9adaf806fa6d050e2cc2f11745006ac7be.tar.bz2
scummvm-rg350-56a23b9adaf806fa6d050e2cc2f11745006ac7be.zip
TITANIC: Fix naming and initialization of PET Room glyph images
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms_glyphs.h')
-rw-r--r--engines/titanic/pet_control/pet_rooms_glyphs.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.h b/engines/titanic/pet_control/pet_rooms_glyphs.h
index 1c060c511c..6c51b6f875 100644
--- a/engines/titanic/pet_control/pet_rooms_glyphs.h
+++ b/engines/titanic/pet_control/pet_rooms_glyphs.h
@@ -36,16 +36,16 @@ enum RoomGlyphMode {
class CPetRoomsGlyph : public CPetGlyph {
private:
uint _roomFlags;
- int _field38;
+ uint _mailFlag;
RoomGlyphMode _mode;
- CGameObject *_object0;
- CGameObject *_object1;
- CGameObject *_object2;
- CGameObject *_object3;
- CGameObject *_object4;
- CGameObject *_object5;
- CGameObject *_object6;
- CGameObject *_object7;
+ CGameObject *_chevLeftOnDim;
+ CGameObject *_chevLeftOffDim;
+ CGameObject *_chevLeftOnLit;
+ CGameObject *_chevLeftOffLit;
+ CGameObject *_chevRightOnDim;
+ CGameObject *_chevRightOffDim;
+ CGameObject *_chevRightOnLit;
+ CGameObject *_chevRightOffLit;
private:
/**
* Find the selected button under the given point, based on the buttons
@@ -113,7 +113,10 @@ public:
*/
uint getRoomFlags() const { return _roomFlags; }
- void set38(int val) { _field38 = val; }
+ /**
+ * Set mail status flag
+ */
+ void setFlag(uint val) { _mailFlag = val; }
/**
* Sets the mode of the glyph