Amulets & Armor  v1.02
Open Source Game
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Fields
T_objectStance Struct Reference

Data Fields

T_word16 numFrames PACK
 
T_word16 speed PACK
 
E_objectAnimateType type PACK
 
T_word16 nextStance PACK
 
T_word16 offsetFrameList PACK
 

Detailed Description

An animated object can be broken down into the number of stances that makes up the animation. A stance is in itself an animation state (e.g., walking, talking, flying, etc.) or transition (e.g. landing, getting hit, taking off, etc.).

Parameters
numFrames– Number of frames that make up this stance.
speed– Interval in between animation frames. A speed of 0 means not to animate at all. This is useful for objects with only one frame.
type– What type of animation (See E_objectAnimateType)
nextStance– Stance to go to after completion of animation.
offsetFrameList– Offset in bytes from the beginning of T_objectType structure that this stance is in to the list of frames that make up this stance.

Field Documentation

T_word16 numFrames PACK
T_word16 speed PACK
T_word16 nextStance PACK
T_word16 offsetFrameList PACK

The documentation for this struct was generated from the following file: