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 48 virtual PartEmitter *createParticleEmitter(
bool followParent =
false,
int offsetX = 0,
int offsetY = 0);
49 virtual bool updatePartEmitter();
51 bool invalidateCurrRegions();
53 bool _sceneIndependent;
55 bool updateBlockRegion();
57 bool getExtendedFlag(
const char *flagName)
override;
58 bool resetSoundPan()
override;
59 bool updateSounds()
override;
62 virtual void talk(
const char *text,
const char *sound =
nullptr, uint32 duration = 0,
const char *stances =
nullptr, TTextAlign align = TAL_CENTER);
63 int32 getHeight()
override;
65 bool setFont(
const char *filename);
66 bool update()
override;
67 bool display()
override;
71 virtual bool playAnim(
const char *filename);
73 TObjectType getType()
const;
82 bool afterMove()
override;
86 bool scSetProperty(
const char *name,
ScValue *value)
override;
88 const char *scToString()
override;
89 bool updateSpriteAttachments();
90 bool displaySpriteAttachments(
bool preDisplay);
95 bool _forcedTalkAnimUsed;
96 char *_forcedTalkAnimName;
101 TObjectState _nextState;
108 bool getScale(
float *scaleX,
float *scaleY);
110 bool _partFollowParent;
113 bool _subtitlesModRelative;
114 bool _subtitlesModXCenter;
115 int32 _subtitlesModX;
116 int32 _subtitlesModY;
117 int32 _subtitlesWidth;
118 AdRegion *_currentRegions[MAX_NUM_REGIONS];
121 bool displaySpriteAttachment(
AdObject *attachment);
Definition: ad_inventory.h:37
Definition: base_game.h:75
Definition: ad_sentence.h:43
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:63
Definition: base_font.h:37
Definition: ad_waypoint_group.h:35
Definition: base_sprite.h:40
Definition: base_object.h:57
Definition: achievements_tables.h:27