25 #include "common/hashmap.h" 26 #include "common/ptr.h" 27 #include "common/rect.h" 28 #include "common/scummsys.h" 31 class SeekableReadStream;
67 int _movementDirections;
68 int _fogMinZ, _fogMaxZ;
70 struct AnimationDescription {
80 const AnimationDescription *_description;
82 bool animate(
int direction,
int speed,
bool jokes);
91 const AnimationDescription *animationDescription(uint index)
const {
92 auto it = _animations.find(index);
93 return it != _animations.end() ? &it->_value :
nullptr;
108 void enable(
bool enabled =
true) {
112 void visible(
bool visible);
113 bool visible()
const {
114 return _visible && _shown;
117 bool active()
const {
118 return _enabled && _visible;
127 return _jokes ? _phase : -1;
129 void phase(
int phase) {
146 bool direction(
int dir);
148 int direction()
const {
149 return _jokes ? _jokesDirection : _direction;
152 void tick(
bool reactivate);
Definition: managed_surface.h:51
Definition: character.h:48
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: character.h:71