NightFox’s Lib
Data Fields
NF_TYPE_SPRITEOAM_INFO Struct Reference

Struct that defines OAM information. More...

#include <nf_sprite256.h>

Data Fields

u8 index
 Sprite number.
 
s16 x
 X coordinate.
 
s16 y
 Y coordinate.
 
u8 layer
 Layer priority.
 
u8 pal
 Palette index.
 
u32 size
 Sprite of the sprite (macro)
 
u32 color
 Color mode (macro)
 
u32 * gfx
 Pointer to the graphics data.
 
s8 rot
 Rotation matrix index (0 - 31, -1 = none)
 
bool doublesize
 Enable double size mode when rotating.
 
bool hide
 Hide the sprite.
 
bool vflip
 Vertical flip.
 
bool hflip
 Horizontal flip.
 
bool mosaic
 Enable mosaic effect.
 
u16 gfxid
 Graphics object ID.
 
u16 frame
 Current frame.
 
u16 framesize
 Size of the frame in bytes.
 
u16 lastframe
 Last frame.
 
bool created
 True if this sprite has been created.
 

Detailed Description

Struct that defines OAM information.


The documentation for this struct was generated from the following file: