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