Alchemy
Loading...
Searching...
No Matches

ResourceSlot Struct Reference

A resource slot: the tag of the animation loaded into it (slot number and animation id) and the buffer holding its frames. More...

#include <field/animspr.h>

Data Fields

s32 tag
 (slot << 12) | animation id
void * buffer
 the decoded frames, their offsets made pointers

Detailed Description

A resource slot: the tag of the animation loaded into it (slot number and animation id) and the buffer holding its frames.

Definition at line 59 of file animspr.h.

Field Documentation

◆ tag

s32 ResourceSlot::tag

(slot << 12) | animation id

Definition at line 60 of file animspr.h.

Referenced by Animation_LookupValueByKey(), and ResourceSlot_Load().

◆ buffer

void* ResourceSlot::buffer

the decoded frames, their offsets made pointers

Definition at line 61 of file animspr.h.

Referenced by Animation_LookupValueByKey(), and ResourceSlot_Load().