28 #ifndef WINTERMUTE_ADACTOR_H 29 #define WINTERMUTE_ADACTOR_H 31 #include "engines/wintermute/dctypes.h" 32 #include "engines/wintermute/ad/ad_types.h" 33 #include "engines/wintermute/ad/ad_talk_holder.h" 34 #include "engines/wintermute/coll_templ.h" 35 #include "engines/wintermute/base/base_point.h" 36 #include "engines/wintermute/persistent.h" 38 #include "common/str.h" 47 TDirection angleToDirection(
int angle);
49 int32 getHeight()
override;
50 BaseSprite *getTalkStance(
const char *stance)
override;
51 virtual void goTo(
int x,
int y, TDirection afterWalkDir = DI_NONE);
53 bool update()
override;
54 bool display()
override;
55 virtual void turnTo(TDirection dir);
58 bool loadFile(
const char *filename);
59 bool loadBuffer(
char *buffer,
bool complete =
true);
63 TDirection _targetDir;
64 TDirection _afterWalkDir;
81 bool playAnim(
const char *filename)
override;
86 bool scSetProperty(
const char *name,
ScValue *value)
override;
88 const char *scToString()
override;
90 bool setDefaultAnimNames();
91 BaseSprite *getTalkStanceOld(
const char *stance);
92 bool mergeAnims(
const char *animsFilename);
Definition: base_game.h:76
Definition: base_point.h:36
Definition: ad_actor.h:45
Definition: script_value.h:42
Definition: ad_talk_holder.h:35
Definition: script_stack.h:41
Definition: ad_sprite_set.h:36
Definition: coll_templ.h:63
Definition: base_sprite.h:40
Definition: achievements_tables.h:27