mirror of
https://github.com/zeldaret/tmc
synced 2026-08-18 13:43:31 -04:00
Merge pull request #512 from octorock/mcss
This commit is contained in:
+5
-5
@@ -150,7 +150,7 @@ typedef struct Entity_ {
|
||||
/*0x15*/ u8 direction; /**< Facing direction. @see Direction */
|
||||
/*0x16*/ u8 carryFlags; /**< Flags for carrying this Entity. */
|
||||
/*0x17*/ u8 followerFlag; /**< Controls collisions between followers, unused. */
|
||||
/*0x18*/ struct {
|
||||
/*0x18*/ struct SpriteSettings {
|
||||
/* */ u32 draw : 2; /**< Draw type. 0 = disabled, 1 = clip to screen, 3 = draw always */ /* 0x2 */
|
||||
/* */ u32 ss2 : 1; /* 4 */
|
||||
/* */ u32 ss3 : 1; /* 8 */
|
||||
@@ -158,20 +158,20 @@ typedef struct Entity_ {
|
||||
/* */ u32 flipX : 1; /**< Flip sprite horizontally. */ /* 0x40 */
|
||||
/* */ u32 flipY : 1; /**< Flip sprite vertically. */ /* 0x80 */
|
||||
/* */ } PACKED spriteSettings;
|
||||
/*0x19*/ struct {
|
||||
/*0x19*/ struct SpriteRendering {
|
||||
/* */ u32 b0 : 2; /* 1-2 */
|
||||
/* */ u32 alphaBlend : 2; /* 4-8 */
|
||||
/* */ u32 b2 : 2; /* 0x10 */
|
||||
/* */ u32 b3 : 2; /* 0x40 */
|
||||
/* */ } PACKED spriteRendering;
|
||||
/*0x1a*/ union {
|
||||
/*0x1a*/ union Palette {
|
||||
/* */ u8 raw;
|
||||
/* */ struct {
|
||||
/* */ struct PaletteB {
|
||||
/* */ u8 b0 : 4;
|
||||
/* */ u8 b4 : 4;
|
||||
/* */ } PACKED b;
|
||||
/* */ } PACKED palette;
|
||||
/*0x1b*/ struct {
|
||||
/*0x1b*/ struct SpriteOrientation {
|
||||
/* */ u32 b0 : 1; /* 1 */
|
||||
/* */ u32 b1 : 5; /* 0x2-0x10 */
|
||||
/* */ u32 flipY : 2; /* 0x20-0x40 */
|
||||
|
||||
Reference in New Issue
Block a user