mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-10-02 14:31:06 -05:00
Move PokemonSpriteShadow to pokemon sprite struct def header
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
|
||||
#include "struct_defs/sprite_animation_frame.h"
|
||||
#include "struct_defs/struct_02007C7C_sub1.h"
|
||||
#include "struct_defs/struct_02007C7C_sub2.h"
|
||||
|
||||
typedef struct PokemonSprite PokemonSprite;
|
||||
|
||||
@@ -24,6 +23,21 @@ typedef struct PokemonSpriteTemplate {
|
||||
u32 personality; //< Cached personality value for Pokemon front-sprites. Specifically used for Spinda spots.
|
||||
} PokemonSpriteTemplate;
|
||||
|
||||
typedef struct PokemonSpriteShadow {
|
||||
u16 plttSlot : 2;
|
||||
u16 shouldAdjustX : 1;
|
||||
u16 shouldAdjustY : 1;
|
||||
u16 isAffine : 1;
|
||||
u16 size : 2;
|
||||
u16 padding_00 : 9;
|
||||
s8 height;
|
||||
u8 padding_03;
|
||||
s16 x;
|
||||
s16 y;
|
||||
s16 xOffset;
|
||||
s16 yOffset;
|
||||
} PokemonSpriteShadow;
|
||||
|
||||
struct PokemonSprite {
|
||||
u32 unk_00_0 : 1;
|
||||
u32 unk_00_1 : 6;
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
#ifndef POKEPLATINUM_STRUCT_02007C7C_SUB2_H
|
||||
#define POKEPLATINUM_STRUCT_02007C7C_SUB2_H
|
||||
|
||||
typedef struct {
|
||||
u16 plttSlot : 2;
|
||||
u16 shouldAdjustX : 1;
|
||||
u16 shouldAdjustY : 1;
|
||||
u16 isAffine : 1;
|
||||
u16 size : 2;
|
||||
u16 padding_00 : 9;
|
||||
s8 height;
|
||||
u8 padding_03;
|
||||
s16 x;
|
||||
s16 y;
|
||||
s16 xOffset;
|
||||
s16 yOffset;
|
||||
} PokemonSpriteShadow;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_02007C7C_SUB2_H
|
||||
Reference in New Issue
Block a user