Alchemy
Loading...
Searching...
No Matches

AnimationMetadata Struct Reference

An animation's metadata: the sprite's size, scale and offsets, how its frames are drawn and decoded, its frames and its animation scripts. More...

#include <system/metadata_lookup.h>

Data Fields

u8 width
 pixels
u8 height
 pixels
u16 scale
 8.8 fixed point, 0x100 full size
u8 drawKind
u8 animationCount
s8 adjustX
 pixels
s8 adjustY
 pixels
u8 boxX
u8 boxY
u8 frameCodec
void ** frames
u8 ** animation

Detailed Description

An animation's metadata: the sprite's size, scale and offsets, how its frames are drawn and decoded, its frames and its animation scripts.

Definition at line 14 of file metadata_lookup.h.

Field Documentation

◆ width

◆ height

u8 AnimationMetadata::height

◆ scale

u16 AnimationMetadata::scale

8.8 fixed point, 0x100 full size

Definition at line 17 of file metadata_lookup.h.

Referenced by Animation_InitializeObjects(), and ResourceMetadata_Register().

◆ drawKind

◆ animationCount

◆ adjustX

s8 AnimationMetadata::adjustX

◆ adjustY

◆ boxX

u8 AnimationMetadata::boxX

◆ boxY

u8 AnimationMetadata::boxY

Definition at line 23 of file metadata_lookup.h.

Referenced by BattleActor_SpawnObjectsForList(), and FieldObject_Create().

◆ frameCodec

u8 AnimationMetadata::frameCodec

◆ frames

void** AnimationMetadata::frames

◆ animation