|
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. | |
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.