aboutsummaryrefslogtreecommitdiff
path: root/common/image-map.h
diff options
context:
space:
mode:
authorStephen Kennedy2008-08-07 15:44:48 +0000
committerStephen Kennedy2008-08-07 15:44:48 +0000
commit66e4e3ec1a038bc653bb1c04893c39033ac3fb62 (patch)
treedec2202b6716c8a7af066258278d75b301424288 /common/image-map.h
parentd6ffc14a7ec15c07f03e59c5ade996714497bee6 (diff)
downloadscummvm-rg350-66e4e3ec1a038bc653bb1c04893c39033ac3fb62.tar.gz
scummvm-rg350-66e4e3ec1a038bc653bb1c04893c39033ac3fb62.tar.bz2
scummvm-rg350-66e4e3ec1a038bc653bb1c04893c39033ac3fb62.zip
* Removed Shape base class
* Reverted Rect to not derive from Shape * ImageMap now just uses Polygon's svn-id: r33680
Diffstat (limited to 'common/image-map.h')
-rw-r--r--common/image-map.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/common/image-map.h b/common/image-map.h
index eaf803178d..ee64d96ba1 100644
--- a/common/image-map.h
+++ b/common/image-map.h
@@ -28,7 +28,6 @@
#include "common/hashmap.h"
#include "common/hash-str.h"
-#include "common/rect.h"
#include "common/polygon.h"
namespace Common {
@@ -39,14 +38,13 @@ public:
~ImageMap();
- Rect *createRectArea(const String& id);
- Polygon *createPolygonArea(const String& id);
+ Polygon *createArea(const String& id);
void removeArea(const String& id);
void removeAllAreas();
String findMapArea(int16 x, int16 y);
protected:
- HashMap<String, Shape*> _areas;
+ HashMap<String, Polygon*> _areas;
};