aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_rooms_glyphs.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-23 23:30:17 -0400
committerPaul Gilbert2016-07-10 16:11:57 -0400
commit4180e85bc0da500c347a3c5076ec7e6921e8daff (patch)
tree4a690e74f1d04daf5a6a811fe79f691b11ff8014 /engines/titanic/pet_control/pet_rooms_glyphs.h
parent73258800cf10f94cee5a9745649f8c5dbb67109c (diff)
downloadscummvm-rg350-4180e85bc0da500c347a3c5076ec7e6921e8daff.tar.gz
scummvm-rg350-4180e85bc0da500c347a3c5076ec7e6921e8daff.tar.bz2
scummvm-rg350-4180e85bc0da500c347a3c5076ec7e6921e8daff.zip
TITANIC: Beginnings of PET Rooms glyph
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms_glyphs.h')
-rw-r--r--engines/titanic/pet_control/pet_rooms_glyphs.h37
1 files changed, 29 insertions, 8 deletions
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.h b/engines/titanic/pet_control/pet_rooms_glyphs.h
index ee79917b57..80c3d36ad8 100644
--- a/engines/titanic/pet_control/pet_rooms_glyphs.h
+++ b/engines/titanic/pet_control/pet_rooms_glyphs.h
@@ -32,20 +32,41 @@ protected:
int _field34;
int _field38;
int _field3C;
- int _field40;
- int _field44;
- int _field48;
- int _field4C;
- int _field50;
- int _field54;
- int _field58;
- int _field5C;
+ CGameObject *_field40;
+ CGameObject *_field44;
+ CGameObject *_field48;
+ CGameObject *_field4C;
+ CGameObject *_field50;
+ CGameObject *_field54;
+ CGameObject *_field58;
+ CGameObject *_field5C;
public:
CPetRoomsGlyph();
void set34(int val);
void set38(int val);
+
+ /**
+ * Setup the glyph
+ */
+ virtual bool setup(CPetControl *petControl, CPetGlyphs *owner);
+
+ /**
+ * Draw the glyph at a specified position
+ */
+ virtual void drawAt(CScreenManager *screenManager, const Point &pt);
+
+ /**
+ * Handles any secondary drawing of the glyph
+ */
+ virtual void draw2(CScreenManager *screenManager) {}
+
+ virtual void proc28(const Point &pt);
+ virtual int proc29(const Point &pt);
+ virtual void proc32();
+ virtual int proc33();
+ virtual void proc39();
};
class CPetRoomsGlyphs : public CPetGlyphs {