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

Data Fields

T_areaSound currSound
 
T_word16 frameNumber
 
E_Boolean isActive
 
T_word32 nextAnimationTime
 
T_word16 objTypeNum
 
T_3dObjectp_obj
 
T_objectTypep_objectType
 
T_bodyPartsp_parts
 
T_resource resource
 
T_word16 stanceNumber
 
T_word16 stateData
 

Detailed Description

For each object there is a T_objTypeInstanceStruct that tells what type of object it is, where the information about it is, and what state of animation it is in.

Parameters
nextAnimationTime– When to update the animation cycling.
objTypeNum– Number of the object type.
resource– Resource handle for the object type info block.
p_objectType– Pointer to the actual object type info block.
stanceNumber– Current stance number
frameNumber– Current frameNumber
stateData– accessory data depending on the type
p_obj– pointer to object whose type I am
T_areaSound– area sound handle for my current sound.

Field Documentation

T_areaSound currSound
T_word16 frameNumber
E_Boolean isActive
T_word32 nextAnimationTime
T_word16 objTypeNum
T_3dObject* p_obj
T_objectType* p_objectType
T_bodyParts* p_parts
T_resource resource
T_word16 stanceNumber
T_word16 stateData

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