libnds
|
Holds the state for a 2D sprite engine. More...
#include <sprite.h>
Data Fields | |
AllocHeader * | allocBuffer |
array, allocation buffer for graphics allocation | |
s16 | allocBufferSize |
current size of the allocation buffer | |
s16 | firstFree |
pointer to the first free block of tiles | |
int | gfxOffsetStep |
The distance between tiles as 2^gfxOffsetStep. | |
SpriteMapping | spriteMapping |
the mapping of the oam. | |
SpriteEntry * | oamMemory |
pointer to shadow oam memory | |
SpriteRotation * | oamRotationMemory |
pointer to shadow oam memory for rotation | |
Holds the state for a 2D sprite engine.
There are two of these objects, oamMain and oamSub and these must be passed in to all oam functions.