Mercurial > fife-parpg
diff engine/core/view/camera.i @ 18:40a7c9618ade
* new function which lists instances in a rect
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 07 Jul 2008 01:40:57 +0000 |
parents | 4a0efb7baf70 |
children | 90005975cdbb |
line wrap: on
line diff
--- a/engine/core/view/camera.i Mon Jul 07 00:27:59 2008 +0000 +++ b/engine/core/view/camera.i Mon Jul 07 01:40:57 2008 +0000 @@ -37,6 +37,7 @@ bool isEnabled(); void getMatchingInstances(ScreenPoint screen_coords, Layer& layer, std::list<Instance*>& instances); + void getMatchingInstances(Rect screen_rect, Layer& layer, std::list<Instance*>& instances); void getMatchingInstances(Location& loc, std::list<Instance*>& instances, bool use_exactcoordinates=false); RendererBase* getRenderer(const std::string& name); void resetRenderers();