Rectangle get_shape_rect(const Game_object *obj)
Rectangle get_shape_rect(const Shape_frame *s, int x, int y)
	Rectangle get_shape_rect(const Game_object *obj)		{		Shape_frame *s = get_shape(*obj);		if(!s)			{			// This is probably fatal.#if DEBUG			cerr << "DEATH! get_shape() returned a NULL pointer: " << __FILE__ << ":" << __LINE__ << endl;			cerr << "Betcha it's a little doggie." << endl;#endif			return Rectangle(0,0,0,0);			}		int tx, ty, tz;		// Get tile coords.		obj->get_abs_tile(tx, ty, tz);		int lftpix = 4*tz;		return get_shape_rect(s,			(tx + 1 - get_scrolltx())*tilesize - 1 - lftpix,			(ty + 1 - get_scrollty())*tilesize - 1 - lftpix);		}