23 #ifndef TINSEL_ANIM_H // prevent multiple includes 26 #include "tinsel/dw.h" 69 enum SCRIPTSTATE {ScriptFinished, ScriptNoSleep, ScriptSleep};
74 void InitStepAnimScript(
87 bool AboutToJumpOrEnd(
ANIM *pAnim);
91 #endif // TINSEL_ANIM_H adjust animated object y animation point
Definition: anim.h:49
flip animated object horizontally
Definition: anim.h:45
uint32 SCNHANDLE
Definition: dw.h:31
call routine
Definition: anim.h:52
adjust animated object x animation point
Definition: anim.h:48
OBJECT * pObject
object to animate (assumed to be multi-part)
Definition: anim.h:36
uint32 hScript
animation script handle
Definition: anim.h:37
do not sleep for this frame
Definition: anim.h:51
adjust animated object x & y animation points
Definition: anim.h:50
int aniRate
animation speed
Definition: anim.h:34
uint32 hFrame
treat as a animation frame handle
Definition: anim.h:60
flip animated object in both directions
Definition: anim.h:47
int scriptIndex
current position in animation script
Definition: anim.h:38
flip animated object vertically
Definition: anim.h:46
stop sound
Definition: anim.h:54
int aniDelta
animation speed delta counter
Definition: anim.h:35
end of animation script
Definition: anim.h:43
int32 op
treat as an opcode or operand
Definition: anim.h:59
animation script jump
Definition: anim.h:44
hide animated object
Definition: anim.h:53
SCRIPTSTATE
Definition: anim.h:69