summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-31 19:18:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-31 19:18:31 +0300
commit3d2518d7fb6085a17e4a818e12ce2bc559977169 (patch)
treef5ee5e325d077aa5307a2d28dea6046ea9f3963a /src/resources/map/maplayer.h
parent537085e221d25f710ed7162e1fc8add8ffe4a72f (diff)
downloadplus-3d2518d7fb6085a17e4a818e12ce2bc559977169.tar.gz
plus-3d2518d7fb6085a17e4a818e12ce2bc559977169.tar.bz2
plus-3d2518d7fb6085a17e4a818e12ce2bc559977169.tar.xz
plus-3d2518d7fb6085a17e4a818e12ce2bc559977169.zip
Restore drawing special layer on top of fringe layer.
But special layer still drawed in old slow way.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r--src/resources/map/maplayer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index 10be2d3aa..b80be7445 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -192,6 +192,13 @@ class MapLayer final: public MemoryCounter, public ConfigListener
void updateCache(const int width,
const int height) restrict;
+ void drawSpecialLayer(Graphics *const graphics,
+ const int y,
+ const int startX,
+ const int endX,
+ const int scrollX,
+ const int scrollY) const restrict;
+
private:
const int mX;
const int mY;