summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-17 22:52:58 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-17 23:32:42 +0300
commit13692130cf5545d183d336a7f560cb41488e2e63 (patch)
treee84d177037d55b43741c78d5d2078fa806bb3518 /src/map.h
parent932a7f3ca748f04448c72c5d31515bc3a8008144 (diff)
downloadplus-13692130cf5545d183d336a7f560cb41488e2e63.tar.gz
plus-13692130cf5545d183d336a7f560cb41488e2e63.tar.bz2
plus-13692130cf5545d183d336a7f560cb41488e2e63.tar.xz
plus-13692130cf5545d183d336a7f560cb41488e2e63.zip
Disable tiles caching for software mode and safe opengl.
Disable tiles caching in opengl mode while moving.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 1df4a6d9d..763e0cf2b 100644
--- a/src/map.h
+++ b/src/map.h
@@ -173,6 +173,12 @@ class MapLayer: public ConfigListener
* The given actors are only drawn when this layer is the fringe
* layer.
*/
+ void draw(Graphics *graphics,
+ int startX, int startY,
+ int endX, int endY,
+ int scrollX, int scrollY,
+ int mDebugFlags) const;
+
void drawOGL(Graphics *graphics,
int startX, int startY,
int endX, int endY,
@@ -611,6 +617,11 @@ class Map : public Properties, public ConfigListener
int mLastY;
int mLastScrollX;
int mLastScrollY;
+
+ int mDrawX;
+ int mDrawY;
+ int mDrawScrollX;
+ int mDrawScrollY;
bool mRedrawMap;
};