22 #ifndef TWINE_PARSER_ENTITY_H 23 #define TWINE_PARSER_ENTITY_H 25 #include "common/array.h" 26 #include "common/memstream.h" 27 #include "common/stream.h" 28 #include "twine/parser/body.h" 29 #include "twine/parser/parser.h" 30 #include "twine/shared.h" 42 AnimationTypes animation;
46 ActionType type = ActionType::ACTION_NOP;
48 uint8 lastAnimFrame = 0;
50 byte sampleVolume = 0;
52 int16 spriteIndex = 0;
53 uint8 targetActor = 0;
54 int16 sampleIndex = 0;
71 int16 sizeSuperHit = 0;
92 void reset()
override;
100 int32 getAnimIndex(AnimationTypes animation)
const;
int index
Definition: entity.h:35
Graphics::Surface * scale(const Graphics::Surface &srcImage, int xSize, int ySize)
Associate 3d models from body hqr with animations from anim.hqr for the game characters.
Definition: entity.h:83
Definition: achievements_tables.h:27
int hqrBodyIndex
Definition: entity.h:37
Axis aligned bounding box.
Definition: shared.h:188