Documentation ¶
Overview ¶
Package d2pl2 handles processing of PL2 palette files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PL2 ¶
type PL2 struct { BasePalette PL2Palette LightLevelVariations [32]PL2PaletteTransform InvColorVariations [16]PL2PaletteTransform SelectedUintShift PL2PaletteTransform AlphaBlend [3][256]PL2PaletteTransform AdditiveBlend [256]PL2PaletteTransform MultiplicativeBlend [256]PL2PaletteTransform HueVariations [111]PL2PaletteTransform RedTones PL2PaletteTransform GreenTones PL2PaletteTransform BlueTones PL2PaletteTransform UnknownVariations [14]PL2PaletteTransform MaxComponentBlend [256]PL2PaletteTransform DarkendColorShift PL2PaletteTransform TextColors [13]PL2Color24Bits TextColorShifts [13]PL2PaletteTransform }
PL2 represents a palette file.
type PL2Color24Bits ¶
PL2Color24Bits represents an RGB color
type PL2Palette ¶
type PL2Palette struct {
Colors [256]PL2Color
}
PL2Palette represents a PL2 palette.
type PL2PaletteTransform ¶
type PL2PaletteTransform struct {
Indices [256]uint8
}
PL2PaletteTransform represents a PL2 palette transform.
Click to show internal directories.
Click to hide internal directories.