22 #ifndef HODJNPODJ_GFX_PALETTE_H 23 #define HODJNPODJ_GFX_PALETTE_H 25 #include "graphics/palette.h" 26 #include "bagel/boflib/palette.h" 31 constexpr byte BLACK = 0;
32 constexpr byte WHITE = 255;
33 #define RED PALETTERGB(255, 0, 255) 34 #define BLUE PALETTERGB(0, 0, 255) 35 #define CYAN PALETTERGB(0, 255, 255) 36 #define PURPLE PALETTERGB(0x80, 0, 0x80) 43 void loadInitialPalette();
virtual void setPalette(const byte *palette)
virtual byte getPaletteIndex(uint32 color) const
virtual Graphics::Palette getPalette() const
Simple class for handling a palette data.
Definition: palette.h:55
virtual void loadPalette(const byte *palette)