mirror of
https://github.com/zeldaret/tmc
synced 2026-09-10 04:11:53 -04:00
entity.h UPDATE
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user