The SGADE Documentation

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


Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SoRotationAndScale Struct Reference

Sprite rotation and scaling structure. More...


Data Fields

u16 m_Filler0 [3]
 This member is never used; It is for OAM-lay-over purposes;.

u16 m_Attribute0
 Rotation and scaling attribute 0.

u16 m_Filler1 [3]
 This member is never used; It is for OAM-lay-over purposes;.

u16 m_Attribute1
 Rotation and scaling attribute 1.

u16 m_Filler2 [3]
 This member is never used; It is for OAM-lay-over purposes;.

u16 m_Attribute2
 Rotation and scaling attribute 2.

u16 m_Filler3 [3]
 This member is never used; It is for OAM-lay-over purposes;.

u16 m_Attribute3
 Rotation and scaling attribute 3.


Detailed Description

Sprite rotation and scaling structure.

For internal use only.

This structure contains the neccesary attributes to set the scale and rotation for sprites. We put fillers in between each attribute. This way, we can overlay an array of this structure over the GBA's OAM, and acces each scale and rotation struct the easy way.


Field Documentation

u16 SoRotationAndScale::m_Attribute0
 

Rotation and scaling attribute 0.

For internal use only.

u16 SoRotationAndScale::m_Attribute1
 

Rotation and scaling attribute 1.

For internal use only.

u16 SoRotationAndScale::m_Attribute2
 

Rotation and scaling attribute 2.

For internal use only.

u16 SoRotationAndScale::m_Attribute3
 

Rotation and scaling attribute 3.

For internal use only.

u16 SoRotationAndScale::m_Filler0[ 3 ]
 

This member is never used; It is for OAM-lay-over purposes;.

For internal use only.

u16 SoRotationAndScale::m_Filler1[ 3 ]
 

This member is never used; It is for OAM-lay-over purposes;.

For internal use only.

u16 SoRotationAndScale::m_Filler2[ 3 ]
 

This member is never used; It is for OAM-lay-over purposes;.

For internal use only.

u16 SoRotationAndScale::m_Filler3[ 3 ]
 

This member is never used; It is for OAM-lay-over purposes;.

For internal use only.


The documentation for this struct was generated from the following file:
Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.