OpenXcom
1.0
Open-source clone of the original X-Com
|
help class used for Surface::blitNShade More...
Static Public Member Functions | |
static void | func (Uint8 &dest, const Uint8 &src, const int &shade, const int &newColor, const int &) |
Function used by ShaderDraw in Surface::blitNShade set shade and replace color in that surface. More... | |
help class used for Surface::blitNShade
|
inlinestatic |
Function used by ShaderDraw in Surface::blitNShade set shade and replace color in that surface.
dest | destination pixel |
src | source pixel |
shade | value of shade of this surface |
newColor | new color to set (it should be offseted by 4) |