22 #ifndef ULTIMA8_GFX_PALETTEMANAGER_H 23 #define ULTIMA8_GFX_PALETTEMANAGER_H 25 #include "ultima/shared/std/containers.h" 26 #include "graphics/pixelformat.h" 27 #include "ultima/ultima8/gfx/pal_transforms.h" 40 return _paletteManager;
56 Palette *getPalette(PalIndex index);
58 void duplicate(PalIndex src, PalIndex dest);
void transformPalette(PalIndex index, const int16 matrix[12])
Apply a transform matrix to a palette (-4.11 fixed)
void updatedPalette(PalIndex index, int maxindex=0)
void untransformPalette(PalIndex index)
reset the transformation matrix of a palette
bool getTransformMatrix(int16 matrix[12], PalIndex index)
Get the current TransformMatrix for the given index.
Definition: detection.h:27
void resetTransforms()
Reset all the transforms back to default.
void PixelFormatChanged(const Graphics::PixelFormat &format)
Change the pixel format used by the PaletteManager.
void reset()
Reset the Palette Manager.
Definition: palette_manager.h:34
Definition: containers.h:38
Definition: atari-screen.h:44