28 #ifndef WINTERMUTE_ADOBJECT_H 29 #define WINTERMUTE_ADOBJECT_H 31 #include "engines/wintermute/ad/ad_types.h" 32 #include "engines/wintermute/base/base_object.h" 36 class AdWaypointGroup;
44 #define MAX_NUM_REGIONS 10 49 virtual PartEmitter *createParticleEmitter(
bool followParent =
false,
int offsetX = 0,
int offsetY = 0);
50 virtual bool updatePartEmitter();
51 bool _partFollowParent;
55 bool invalidateCurrRegions();
56 bool _subtitlesModRelative;
57 bool _subtitlesModXCenter;
60 int32 _subtitlesWidth;
62 bool _sceneIndependent;
64 bool updateBlockRegion();
65 bool _forcedTalkAnimUsed;
66 char *_forcedTalkAnimName;
67 bool getExtendedFlag(
const char *flagName)
override;
68 bool resetSoundPan()
override;
69 bool updateSounds()
override;
72 virtual void talk(
const char *text,
const char *sound =
nullptr, uint32 duration = 0,
const char *stances =
nullptr, TTextAlign align = TAL_CENTER);
73 int32 getHeight()
override;
75 bool setFont(
const char *filename);
76 bool update()
override;
77 bool display()
override;
80 virtual bool playAnim(
const char *filename);
84 TObjectState _nextState;
98 bool afterMove()
override;
99 AdRegion *_currentRegions[MAX_NUM_REGIONS];
103 bool scSetProperty(
const char *name,
ScValue *value)
override;
105 const char *scToString()
override;
110 bool updateSpriteAttachments();
111 bool displaySpriteAttachments(
bool preDisplay);
115 bool displaySpriteAttachment(
AdObject *attachment);
119 bool getScale(
float *scaleX,
float *scaleY);
Definition: ad_inventory.h:37
Definition: base_game.h:75
Definition: ad_sentence.h:42
Definition: script_value.h:42
Definition: ad_object.h:46
Definition: ad_region.h:35
Definition: base_dynamic_buffer.h:35
Definition: base_region.h:36
Definition: script_stack.h:41
Definition: part_emitter.h:38
Definition: coll_templ.h:347
Definition: base_font.h:37
Definition: ad_waypoint_group.h:35
Definition: base_sprite.h:40
Definition: base_object.h:49
Definition: achievements_tables.h:27