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 TDirection _targetDir{DI_NONE};
56 TDirection _afterWalkDir;
57 virtual void turnTo(TDirection dir);
68 bool loadFile(
const char *filename);
69 bool loadBuffer(
char *buffer,
bool complete =
true);
78 bool playAnim(
const char *filename)
override;
83 bool scSetProperty(
const char *name,
ScValue *value)
override;
85 const char *scToString()
override;
87 bool setDefaultAnimNames();
88 BaseSprite *getTalkStanceOld(
const char *stance);
89 bool mergeAnims(
const char *animsFilename);
Definition: base_game.h:75
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:347
Definition: base_sprite.h:40
Definition: achievements_tables.h:27