diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-31 19:18:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-31 19:18:31 +0300 |
commit | 3d2518d7fb6085a17e4a818e12ce2bc559977169 (patch) | |
tree | f5ee5e325d077aa5307a2d28dea6046ea9f3963a /src/resources/map/maplayer.h | |
parent | 537085e221d25f710ed7162e1fc8add8ffe4a72f (diff) | |
download | plus-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.h | 7 |
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; |