rem: int gscale;
add: int gscale, gscale_identity;
context: TFB_Prim_Rect (PRECT r, TFB_Palette *color){	RECT arm;	int gscale;	gscale = GetGraphicScale ();	if (!gscale)		gscale = 256;	arm = *r;	arm.extent.width = r->extent.width;	arm.extent.height = 1;	TFB_Prim_FillRect (&arm, color);	arm.extent.height = r->extent.height;	arm.extent.width = 1;	TFB_Prim_FillRect (&arm, color);	arm.corner.x += ((r->extent.width * gscale) >> 8) - 1;	TFB_Prim_FillRect (&arm, color);	arm.corner.x = r->corner.x;	arm.corner.y += ((r->extent.height * gscale) >> 8) - 1;	arm.extent.width = r->extent.width;	arm.extent.height = 1;	TFB_Prim_FillRect (&arm, color);	}