#include <sprites.hpp>
Inheritance diagram for SpritesBase:
Public Member Functions | |
| void | initOAM (void) |
| Loops through all of the OAM entires turning the sprites off. | |
| void | updateOAM (void) |
| Copy the internal OAM data to the real OAM memory. | |
| SpritesBase () | |
| Simple constructor initializes internal variables. | |
| void | MoveSprite (Sprite *sp) |
| Updates the sprites attributes to move it's location as indicated by the current x/y coordinates for the sprite. | |
| virtual | ~SpritesBase () |
| Virtual destructor due to inheritance. | |
Public Attributes | |
| SpriteEntry | OAMCopy [128] |
| Copy of the OAM memory for updating while the screen is being drawn. This copy is for the touch screen. | |
| SpriteRotation * | rotationData |
| Overlay of the rotation data on top of the OAM. This rotation data is for the touch screen. | |
| SpriteEntry | OAMSubCopy [128] |
| Copy of the OAM memory for updating while the screen is being drawn. This copy is for the top screen. | |
| SpriteRotation * | rotationSubData |
| Overlay of the rotation data on top of the OAM. This rotation data is for the top screen. | |
|
|
Copy the internal OAM data to the real OAM memory. This can only be done during VBlank, or HBlank if specifically requested in the mode using H_BLANK_OAM. |
|
|
Updates the sprites attributes to move it's location as indicated by the current x/y coordinates for the sprite.
|
|
|
Copy of the OAM memory for updating while the screen is being drawn. This copy is for the touch screen. Copied during the VBlank (or sometimes the HBlank.) |
|
|
Overlay of the rotation data on top of the OAM. This rotation data is for the touch screen. Apparently, there are 128 sprites, but only 32 rotation entries. Each sprite can point to one of the 32 rotation entries. |
|
|
Copy of the OAM memory for updating while the screen is being drawn. This copy is for the top screen. Copied during the VBlank (or sometimes the HBlank.) |
|
|
Overlay of the rotation data on top of the OAM. This rotation data is for the top screen. Apparently, there are 128 sprites, but only 32 rotation entries. Each sprite can point to one of the 32 rotation entries. |
1.3.6