|
void | loadInitialPalette () |
|
◆ setPalette()
virtual void Bagel::HodjNPodj::Palette::setPalette |
( |
const byte * |
palette | ) |
|
|
virtual |
Set the palette to use, without changing _gamePalette
◆ getPalette()
Gets the currently active palette
◆ loadPalette()
virtual void Bagel::HodjNPodj::Palette::loadPalette |
( |
const byte * |
palette | ) |
|
|
virtual |
Set the palette to use, saving it in the internal _gamePalette
◆ getPaletteIndex()
virtual byte Bagel::HodjNPodj::Palette::getPaletteIndex |
( |
uint32 |
color | ) |
const |
|
virtual |
Gets the closest palette index to a given rgb color
The documentation for this class was generated from the following file: