Worldstone
|
Precomputed palette variations in the form of palette shifts. More...
#include <Palette.h>
Static Public Member Functions | |
static std::unique_ptr< PL2 > | CreateFromPalette (const Palette &palette) |
static std::unique_ptr< PL2 > | ReadFromStream (IStream *stream) |
Public Attributes | |
Palette | basePalette |
PalShiftTransform | lightLevelVariations [32] |
PalShiftTransform | invColorVariations [16] |
PalShiftTransform | selectedUnitShift |
Needs confirmation for usage. | |
PalShiftTransform | alphaBlend [3][256] |
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) | |
PalShiftTransform | additiveBlend [256] |
glBlendFunc(GL_ONE, GL_ONE) | |
PalShiftTransform | multiplicativeBlend [256] |
glBlendFunc(GL_ZERO, GL_SRC_COLOR) | |
PalShiftTransform | hueVariations [111] |
PalShiftTransform | redTones |
PalShiftTransform | greenTones |
PalShiftTransform | blueTones |
PalShiftTransform | unknownColorVariations [14] |
PalShiftTransform | maxComponentBlend [256] |
PalShiftTransform | darkenedColorShift |
Palette::Color24Bits | textColors [13] |
PalShiftTransform | textColorShifts [13] |
Precomputed palette variations in the form of palette shifts.