diff options
author | Paul Gilbert | 2016-04-23 17:02:22 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:11:50 -0400 |
commit | fc3f2952b097cd0d465efe0216b11602c5ab0191 (patch) | |
tree | 4a7288a548b6249e4caff9108cef817aa43bf9af /engines/titanic/pet_control/pet_glyphs.h | |
parent | d11a95068c2566564e0372bad0ad5c656af79298 (diff) | |
download | scummvm-rg350-fc3f2952b097cd0d465efe0216b11602c5ab0191.tar.gz scummvm-rg350-fc3f2952b097cd0d465efe0216b11602c5ab0191.tar.bz2 scummvm-rg350-fc3f2952b097cd0d465efe0216b11602c5ab0191.zip |
TITANIC: Define Glyph flags enum
Diffstat (limited to 'engines/titanic/pet_control/pet_glyphs.h')
-rw-r--r-- | engines/titanic/pet_control/pet_glyphs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h index 80c2153a1a..c7966e5e6a 100644 --- a/engines/titanic/pet_control/pet_glyphs.h +++ b/engines/titanic/pet_control/pet_glyphs.h @@ -38,6 +38,8 @@ class CPetText; enum GlyphActionMode { ACTION_REMOVE = 0, ACTION_REMOVED = 1, ACTION_CHANGE = 2 }; +enum GlyphFlag { GFLAG_1 = 1, GFLAG_2 = 2, GFLAG_4 = 4, GFLAG_8 = 8, GFLAG_16 = 16 }; + class CGlyphAction { protected: GlyphActionMode _mode; @@ -242,7 +244,7 @@ protected: int _numVisibleGlyphs; int _highlightIndex; int _field1C; - int _field20; + int _flags; void *_field94; CPetSection *_owner; CPetGfxElement _selection; @@ -287,7 +289,7 @@ public: */ virtual bool leave(); - void set20(int val) { _field20 = val; } + void setFlags(int flags) { _flags = flags; } /** * Draw the control |