summaryrefslogtreecommitdiff
path: root/src/resources/map/speciallayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/speciallayer.h')
-rw-r--r--src/resources/map/speciallayer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/map/speciallayer.h b/src/resources/map/speciallayer.h
index 1c69ab4be..ba9470bff 100644
--- a/src/resources/map/speciallayer.h
+++ b/src/resources/map/speciallayer.h
@@ -57,16 +57,19 @@ class SpecialLayer final : public MemoryCounter
void addRoad(const Path &road);
- void clean() const;
+ void clean();
int calcMemoryLocal() const override final;
std::string getCounterName() const override final
{ return mName; }
+ void updateCache();
+
private:
const std::string mName;
MapItem **mTiles;
+ int *mCache;
int mWidth;
int mHeight;
};