rem: int gscale;
add: int gscale, gscale_identity;
context: TFB_Prim_FillRect (PRECT r, TFB_Palette *color){	RECT rect;	int gscale;	rect.corner.x = r->corner.x - _CurFramePtr->HotSpot.x;	rect.corner.y = r->corner.y - _CurFramePtr->HotSpot.y;	rect.extent.width = r->extent.width;	rect.extent.height = r->extent.height;	gscale = GetGraphicScale ();	if (gscale)	{		rect.extent.width = (rect.extent.width * gscale) >> 8;		rect.extent.height = (rect.extent.height * gscale) >> 8;		rect.corner.x += (r->extent.width -				  rect.extent.width) >> 1;		rect.corner.y += (r->extent.height -				  rect.extent.height) >> 1;	}	if (TYPE_GET (_CurFramePtr->TypeIndexAndFlags) == SCREEN_DRAWABLE)		TFB_DrawScreen_Rect (&rect, color->r, color->g, color->b, TFB_SCREEN_MAIN);	else		TFB_DrawImage_Rect (&rect, color->r, color->g, color->b, _CurFramePtr->image);}