- return board_right(rect_x / tile_w)
- & board_below(rect_y / tile_h)
- & board_above((rect_y + rect_h - 1) / tile_h)
- & board_left((rect_x + rect_w - 1) / tile_w);
+ return board_rect( rect_x/tile_w,
+ rect_y/tile_h,
+ (rect_x+rect_w-1)/tile_w,
+ (rect_y+rect_h-1)/tile_h );