Configuration for the dynamic sprite engine. More...
#include <sprite.h>
Public Attributes | |
| u8 | sizeMode |
| u16 | slotLargeInit |
| u16 | slotSmallInit |
| u16 | vramLarge |
| u16 | vramSmall |
Configuration for the dynamic sprite engine.
Pass this to oamDynamicInit instead of the 5 positional arguments of oamInitDynamicSprite. Equivalent at runtime; clearer at the call site and easier to evolve without breaking existing callers.
| u8 OamDynamicConfig::sizeMode |
OBJ_SIZE_* — defines the small/large pixel sizes
| u16 OamDynamicConfig::slotLargeInit |
Initial OAM slot for large sprites (was oamsp0init)
| u16 OamDynamicConfig::slotSmallInit |
Initial OAM slot for small sprites (was oamsp1init)
| u16 OamDynamicConfig::vramLarge |
VRAM base for large-size tile pool (was gfxsp0adr)
| u16 OamDynamicConfig::vramSmall |
VRAM base for small-size tile pool (was gfxsp1adr)