Worldstone
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
WorldStone::PL2 Struct Reference

Precomputed palette variations in the form of palette shifts. More...

#include <Palette.h>

Static Public Member Functions

static std::unique_ptr< PL2CreateFromPalette (const Palette &palette)
 
static std::unique_ptr< PL2ReadFromStream (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]
 

Detailed Description

Precomputed palette variations in the form of palette shifts.

Definition at line 67 of file Palette.h.


The documentation for this struct was generated from the following files: