A batch of sprites in screen coordinates, for oamSetBatch(). More...
#include <sprite.h>
Public Attributes | |
| const u8 * | attr |
| u8 | count |
| u8 | first_id |
| const u8 * | tile |
| const s16 * | x |
| const s16 * | y |
A batch of sprites in screen coordinates, for oamSetBatch().
Structure of arrays, as OamWorldBatch. The arrays may live in ROM, in plain RAM or in FAR RAM.
| const u8* OamBatch::attr |
12: attribute byte (vhoopppc), as OAM_ATTR() builds it. May be 0
| u8 OamBatch::count |
17: number of sprites
| u8 OamBatch::first_id |
16: OAM id of the first sprite of the batch
| const u8* OamBatch::tile |
8: tile number, low byte. May be 0: the tile bytes stay as they are
| const s16* OamBatch::x |
0: screen x of each sprite, 0-511 as oamSetXY() takes it
| const s16* OamBatch::y |
4: screen y (the low byte is the OAM byte)