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 end of animation script
Definition: anim.h:43
adjust animated object y animation point
Definition: anim.h:49
uint32 SCNHANDLE
Definition: dw.h:31
OBJECT * pObject
object to animate (assumed to be multi-part)
Definition: anim.h:36
uint32 hScript
animation script handle
Definition: anim.h:37
flip animated object vertically
Definition: anim.h:46
int aniRate
animation speed
Definition: anim.h:34
hide animated object
Definition: anim.h:53
flip animated object in both directions
Definition: anim.h:47
uint32 hFrame
treat as a animation frame handle
Definition: anim.h:60
call routine
Definition: anim.h:52
adjust animated object x animation point
Definition: anim.h:48
animation script jump
Definition: anim.h:44
flip animated object horizontally
Definition: anim.h:45
int scriptIndex
current position in animation script
Definition: anim.h:38
stop sound
Definition: anim.h:54
int aniDelta
animation speed delta counter
Definition: anim.h:35
do not sleep for this frame
Definition: anim.h:51
int32 op
treat as an opcode or operand
Definition: anim.h:59
adjust animated object x & y animation points
Definition: anim.h:50
SCRIPTSTATE
Definition: anim.h:69