diff options
author | Paul Gilbert | 2016-06-23 22:14:50 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:24:25 -0400 |
commit | fd2fd2cdc5e730b43510d2a6b866a9aa67c3c7d5 (patch) | |
tree | 23b4269980c3e82533e11529014bf0ca239f267c /engines/titanic/pet_control/pet_rooms_glyphs.h | |
parent | 5b98885f8797d5c36336a22a9399611b11a3715f (diff) | |
download | scummvm-rg350-fd2fd2cdc5e730b43510d2a6b866a9aa67c3c7d5.tar.gz scummvm-rg350-fd2fd2cdc5e730b43510d2a6b866a9aa67c3c7d5.tar.bz2 scummvm-rg350-fd2fd2cdc5e730b43510d2a6b866a9aa67c3c7d5.zip |
TITANIC: Added PET Room Glyph drawing
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms_glyphs.h')
-rw-r--r-- | engines/titanic/pet_control/pet_rooms_glyphs.h | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.h b/engines/titanic/pet_control/pet_rooms_glyphs.h index 574403b0c6..f0b243ea7c 100644 --- a/engines/titanic/pet_control/pet_rooms_glyphs.h +++ b/engines/titanic/pet_control/pet_rooms_glyphs.h @@ -37,20 +37,25 @@ private: uint _roomFlags; int _field38; RoomGlyphMode _mode; - CGameObject *_field40; - CGameObject *_field44; - CGameObject *_field48; - CGameObject *_field4C; - CGameObject *_field50; - CGameObject *_field54; - CGameObject *_field58; - CGameObject *_field5C; + CGameObject *_object0; + CGameObject *_object1; + CGameObject *_object2; + CGameObject *_object3; + CGameObject *_object4; + CGameObject *_object5; + CGameObject *_object6; + CGameObject *_object7; private: /** * Find the selected button under the given point, based on the buttons * starting at a designated top/left position */ int getSelection(const Point &topLeft, const Point &pt); + + /** + * Draws the objects + */ + void drawObjects(uint flags, const Point &pt, CScreenManager *screenManager); public: CPetRoomsGlyph(); CPetRoomsGlyph(uint flags); @@ -63,7 +68,7 @@ public: /** * Draw the glyph at a specified position */ - virtual void drawAt(CScreenManager *screenManager, const Point &pt); + virtual void drawAt(CScreenManager *screenManager, const Point &pt, bool isHighlighted); /** * Handles any secondary drawing of the glyph |