diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-17 22:52:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-17 23:32:42 +0300 |
commit | 13692130cf5545d183d336a7f560cb41488e2e63 (patch) | |
tree | e84d177037d55b43741c78d5d2078fa806bb3518 /src/map.h | |
parent | 932a7f3ca748f04448c72c5d31515bc3a8008144 (diff) | |
download | ManaVerse-13692130cf5545d183d336a7f560cb41488e2e63.tar.gz ManaVerse-13692130cf5545d183d336a7f560cb41488e2e63.tar.bz2 ManaVerse-13692130cf5545d183d336a7f560cb41488e2e63.tar.xz ManaVerse-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.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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; }; |