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