Data Fields
OamState Struct Reference

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.
 pointer to shadow oam memory
 pointer to shadow oam memory for rotation

Detailed Description

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.

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