struct Palette
Represent a palette entry (the name “Palette” is not proper here).
| Palette | Represent a palette entry (the name “Palette” is not proper here). |
| Variables | |
| data | Color in RGBA_5_5_5_1 format. |
| Palettes | Represents the full set of palettes. |
| Variables | |
| pram | Reinterpret Cast of the pram of the GBA. |
| Functions | |
| Palette | Builds the Palettes object. |
| GetPaletteBG | Retrieves the color of a background palette. |
| GetPaletteOBJ | Retrieves the color of a sprite palette. |
class Palettes
Represents the full set of palettes.
| Variables | |
| pram | Reinterpret Cast of the pram of the GBA. |
| Functions | |
| Palette | Builds the Palettes object. |
| GetPaletteBG | Retrieves the color of a background palette. |
| GetPaletteOBJ | Retrieves the color of a sprite palette. |
Represent a palette entry (the name “Palette” is not proper here).
struct Palette
Color in RGBA_5_5_5_1 format.
uint16_t data
Represents the full set of palettes.
class Palettes
Reinterpret Cast of the pram of the GBA.
Palette* pram
Builds the Palettes object.
Palettes( Memory * mem )
Retrieves the color of a background palette.
inline Palette* GetPaletteBG ( int section, int id )
Retrieves the color of a sprite palette.
inline Palette* GetPaletteOBJ( int section, int id )