The Socrates Gameboy Advance Development Engine
The SGADE is a development library for the Nintendo Gameboy
Advance. It's free for all uses and is distributed without guarantees.
For more information visit
the SGADE page.
#include <SoSprite.h>
Data Fields | |
| u16 | m_Attribute [4] |
| Sprite attributes. | |
You should never instantiate a SoSprite object yourself as a sprite created in this fasion is useless. You should create a pointer to a SoSprite, and use the SoSpriteManagerRequestSprite function to make this pointer point to a valid sprite.
|
|
Sprite attributes.
For internal use only.
Actually you will only ever use the first 3 attributes. But because we use these structures as overlays on OAM, we have to have a fourth attribute to fill it up. This fourth attribute is actually part of one of the 32 rotation and scale settings available. See the SoSpriteManager.c file for more information on this OAM (and shadow OAM, which is interesting). But you never work with these attribute directly anyway, you should use the SoSprite functions instead. So what do you care? :) hehe... |