From 7d151c8fc05cd7feaf1e1cee33fd8289208fa18d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Jul 2011 02:12:24 +0300 Subject: Add map reduce feature for software drawing. Now invisible tiles will be removed if this mode enabled. --- src/map.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index c8ce7918c..e33a9a35c 100644 --- a/src/map.h +++ b/src/map.h @@ -119,6 +119,8 @@ class TileAnimation class MapLayer: public ConfigListener { public: + friend class Map; + /** * Constructor, taking layer origin, size and whether this layer is the * fringe layer. The fringe layer is the layer that draws the actors. @@ -468,6 +470,8 @@ class Map : public Properties, public ConfigListener void setVersion(int n) { mVersion = n; } + void reduce(); + protected: friend class Actor; friend class Minimap; -- cgit v1.2.3-70-g09d2