Files
tmc/include/sprite.h
T
2020-06-18 15:48:30 -07:00

26 lines
477 B
C

#ifndef SPRITE_H
#define SPRITE_H
#include "global.h"
typedef struct {
u8 index;
u8 duration;
union {
u8 raw;
struct {
u8 unk : 6;
u8 hFlip : 1;
u8 vFlip : 1;
} PACKED b;
} PACKED spriteSettings;
union {
u8 raw;
struct {
u8 extraFrameIndex : 6;
u8 unk : 1;
u8 endOfAnimation : 1;
} PACKED b;
} PACKED frameSettings;
} Frame;
#endif