aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/hero.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/prince/hero.h')
-rw-r--r--engines/prince/hero.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/prince/hero.h b/engines/prince/hero.h
index 3db2181653..ae33419176 100644
--- a/engines/prince/hero.h
+++ b/engines/prince/hero.h
@@ -99,6 +99,14 @@ public:
kMove_BORED2
};
+ // Used instead of offset in getData
+ enum AttrId {
+ kHeroLastDir = 26,
+ kHeroAnimSet = 120
+ };
+
+ uint16 getData(AttrId dataId);
+
Hero(PrinceEngine *vm, GraphicsMan *graph);
~Hero();
bool loadAnimSet(uint32 heroAnimNumber);
@@ -177,7 +185,7 @@ public:
Common::Array<int> _inventory; // Inventory array of items
Common::Array<int> _inventory2; // Inventory2 array of items
// Font subtitiles font
- // Color subtitiles color
+ int _color; // Color Subtitles color
// AnimSet number of animation set
Common::Array<Animation *> _moveSet; // MoveAnims MoveSet
// TurnAnim ??