/* Draw a string in the currently set font. 
The spacing between consequtive characters in the string is the fixed number of pixels of the character width of the current global font. */
int stringColor(SDL_Surface *dst, Sint16 x, Sint16 y, const char *s, Uint32 color)
/* Draw a string in the currently set font. 
The spacing between consequtive characters in the string is the fixed number of pixels of the character width of the current global font. */
int stringColor(SDL_Surface *dst, Sint16 x, Sint16 y, const char *s, Uint32 color)
{
	int result = 0;
	Sint16 curx = x;
	Sint16 cury = y;
	const char *curchar = s;
	while (*curchar && !result) {
		result |= characterColor(dst, curx, cury, *curchar, color);
		switch (charRotation)
		{
		case 0:
			curx += charWidthLocal;
			break;
		case 2:
			curx -= charWidthLocal;
			break;
		case 1:
			cury += charHeightLocal;
			break;
		case 3:
			cury -= charHeightLocal;
			break;
		}
		curchar++;
	}
	return (result);
}