22 #ifndef WORLD_ACTORS_ACTORANIMPROCESS_H 23 #define WORLD_ACTORS_ACTORANIMPROCESS_H 25 #include "ultima/ultima8/kernel/process.h" 26 #include "ultima/ultima8/misc/direction.h" 27 #include "ultima/ultima8/world/actors/animation.h" 35 class AnimationTracker;
44 ENABLE_RUNTIME_CLASSTYPE()
46 static const uint16 ACTOR_ANIM_PROC_TYPE = 0x00F0;
54 Animation::Sequence getAction()
const {
73 Animation::Sequence _action;
85 bool _attackedSomething;
void terminate() override
terminate the process. This wakes up all processes waiting for it.
Definition: actor_anim_process.h:38
void saveData(Common::WriteStream *ws) override
save Process data
Definition: detection.h:27
bool _interpolate
Interpolate position on repeated frames.
Definition: actor_anim_process.h:88
Definition: animation_tracker.h:36
void doFireWeaponCru(Actor *actor, const AnimFrame *frame)
Fire weapon.
Definition: anim_action.h:33
void doSpecial()
perform special action for an animation
void doHitSpecial(Item *hit)
perform special action when hitting an opponent
Common::String dumpInfo() const override
dump some info about this process to a string