src/system/sprite_metadata.c
Finding a sprite animation's metadata row.
Functions
| Name | Description | |
|---|---|---|
ANIMATION_METADATA * | syResourceGetMetadataRecord (Uint32 descriptorId) | Looks up animation metadata by the sprite id in descriptorId's SPRITE_ID_MASK bits: that row of SpriteAnimationMetadata (graphics/sprite/sprites.s), with no bounds check. |
Description
Finding a sprite animation's metadata row.
Functions in detail
syResourceGetMetadataRecord
ANIMATION_METADATA *syResourceGetMetadataRecord(Uint32 descriptorId)
Looks up animation metadata by the sprite id in descriptorId's SPRITE_ID_MASK
bits: that row of SpriteAnimationMetadata (graphics/sprite/sprites.s), with
no bounds check.
References SpriteAnimationMetadata.
Definition at line 9 of file sprite_metadata.c.