Chapter 3 Binary Format

3-16. AnimList

1. AnimList Area

The AnimList area describes the animation data in a scene. Mapping for AnimList is as follows.

AnimListHeader | u32 | anim_list_tag
u32 | anim_list_header_size
u32 | anim_list_size
u32 | anim_group_num
u32 | nintendo_extension_block_size
u32 | user_extension_block_size
u32 | anim_group_num_byte(0)
...
u32 | anim_group_num_byte(anim_group_num - 1)
| AnimGroup(0)
...
AnimGroup(anim_group_num - 1)
NintendoExtensionBlock
UserExtensionBlock

Figure: AnimList Area Memory Map

u32 anim_list_tag | Tag indicating AnimList. Set the following flag.
    TAG_ANIM_LIST	0x000c0000
u32 anim_list_header_size | Size of AnimListHeader
u32 anim_list_size | Size of AnimList
u32 anim_group_num | Total number of AnimGroup in AnimList
u32 nintendo_extension_block_size | Nintendo extension block size
u32 user_extension_block_size | User extension block size
u32 anim_group_num_byte | Number of bytes corresponding to AnimGroup
AnimGroup | Actual animation data
NintendoExtensionBlock | Nintendo extension block
UserExtensionBlock | User extension block