diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-06 01:37:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-06 01:37:31 +0300 |
commit | 95c8a3c0b4d2f0d39c81a6671452e1aa34a626f9 (patch) | |
tree | 0a7950fed627861dfaa402f838016a0246995a5f /src/map.h | |
parent | a5e45cef061b921981012176ad7dc9cb5e03dacc (diff) | |
download | manaplus-95c8a3c0b4d2f0d39c81a6671452e1aa34a626f9.tar.gz manaplus-95c8a3c0b4d2f0d39c81a6671452e1aa34a626f9.tar.bz2 manaplus-95c8a3c0b4d2f0d39c81a6671452e1aa34a626f9.tar.xz manaplus-95c8a3c0b4d2f0d39c81a6671452e1aa34a626f9.zip |
Improve a bit draw map speed.
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -158,8 +158,14 @@ class MapLayer: public ConfigListener int startX, int startY, int endX, int endY, int scrollX, int scrollY, - const Actors &actors, - int mDebugFlags, int yFix) const; + int mDebugFlags) const; + + void drawFringe(Graphics *graphics, + int startX, int startY, + int endX, int endY, + int scrollX, int scrollY, + const Actors &actors, + int mDebugFlags, int yFix) const; bool isFringeLayer() { return mIsFringeLayer; } @@ -556,6 +562,7 @@ class Map : public Properties, public ConfigListener SpecialLayer *mSpecialLayer; SpecialLayer *mTempLayer; ObjectsLayer *mObjects; + MapLayer *mFringeLayer; }; |