summaryrefslogtreecommitdiff
path: root/src/resources/image/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-31 05:04:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-31 17:30:48 +0300
commit537085e221d25f710ed7162e1fc8add8ffe4a72f (patch)
treed1abf9cdb898005099eb741a1f6ed79417b331fb /src/resources/image/image.h
parent496e74aa95984380e4a36fe8d55d0839002d6f8f (diff)
downloadmv-537085e221d25f710ed7162e1fc8add8ffe4a72f.tar.gz
mv-537085e221d25f710ed7162e1fc8add8ffe4a72f.tar.bz2
mv-537085e221d25f710ed7162e1fc8add8ffe4a72f.tar.xz
mv-537085e221d25f710ed7162e1fc8add8ffe4a72f.zip
Improve fringe map layers drawing.
Pre cache next tile position with image.
Diffstat (limited to 'src/resources/image/image.h')
-rw-r--r--src/resources/image/image.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/image/image.h b/src/resources/image/image.h
index ca5a8a12e..0a6060fef 100644
--- a/src/resources/image/image.h
+++ b/src/resources/image/image.h
@@ -81,6 +81,11 @@ class Image notfinal : public Resource
#endif // USE_OPENGL
public:
+#ifdef UNITTESTS
+ Image(const int width,
+ const int height);
+#endif // UNITTESTS
+
A_DELETE_COPY(Image)
/**