/* Pixel draw with blending enabled and using alpha weight on color.  */
int pixelColorWeight(SDL_Surface *dst, Sint16 x, Sint16 y, Uint32 color, Uint32 weight)
/* Pixel draw with blending enabled and using alpha weight on color.  */
int pixelColorWeight(SDL_Surface *dst, Sint16 x, Sint16 y, Uint32 color, Uint32 weight)
{
	Uint32 a;
	a = (color & (Uint32) 0x000000ff);
	a = ((a * weight) >> 8);
	return (pixelColor(dst, x, y, (color & (Uint32) 0xffffff00) | (Uint32) a));
}