flappy_xm/flappy_xm.cpp
int updateScrollText(FrameCanvas *canvas, const Font &font, int x, const char *str) {
	int length = DrawText(canvas, font, x, 0 + font.baseline(), color, &bg_color, str, 0);

	if (--x + length < 0)
		x = x_orig;

	return x;
}
//Draw text on the screen and update the given x variable.
Draw text on the screen and update the given x variable.
Draw text on the screen and update the given x variable .
int updateScrollText(FrameCanvas *canvas, const Font &font, int x, const char *str) {
	int length = DrawText(canvas, font, x, 0 + font.baseline(), color, &bg_color, str, 0);
	if (--x + length < 0)
		x = x_orig;
	return x;
}
int updateScrollText ( FrameCanvas * canvas , const Font & font , int x , const char * str ) { int length = DrawText ( canvas , font , x , 0 + font . baseline ( ) , color , & bg_color , str , 0 ) ; if ( -- x + length < 0 ) x = x_orig ; return x ; }
Draw text on the screen and update the given x variable.
Draw text on the screen and update the given x variable .