Rectangle get_shape_rect(Sprite *sprite) { return get_shape_rect(sprite, sprite->get_cx(), sprite->get_cy()); }
Rectangle get_shape_rect(Game_object *obj) { Shape_frame *s = get_shape(*obj); int cx = obj->get_cx(), cy = obj->get_cy(); int lft = 4*obj->get_lift(); return Rectangle( (cx - chunkx)*chunksize + obj->get_shape_pos_x()*tilesize + tilesize - s->xleft - lft, (cy - chunky)*chunksize + obj->get_shape_pos_y()*tilesize + tilesize - s->yabove - lft, s->get_width(), s->get_height() ); }
	Rectangle get_shape_rect(Sprite *sprite)		{ return get_shape_rect(sprite, sprite->get_cx(),							sprite->get_cy()); }