summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-06 01:37:31 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-06 01:37:31 +0300
commit95c8a3c0b4d2f0d39c81a6671452e1aa34a626f9 (patch)
tree0a7950fed627861dfaa402f838016a0246995a5f /src/map.h
parenta5e45cef061b921981012176ad7dc9cb5e03dacc (diff)
downloadManaVerse-95c8a3c0b4d2f0d39c81a6671452e1aa34a626f9.tar.gz
ManaVerse-95c8a3c0b4d2f0d39c81a6671452e1aa34a626f9.tar.bz2
ManaVerse-95c8a3c0b4d2f0d39c81a6671452e1aa34a626f9.tar.xz
ManaVerse-95c8a3c0b4d2f0d39c81a6671452e1aa34a626f9.zip
Improve a bit draw map speed.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/map.h b/src/map.h
index fb06c26a6..c8ce7918c 100644
--- a/src/map.h
+++ b/src/map.h
@@ -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;
};