summaryrefslogtreecommitdiff
path: root/src/resources/db/mapdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-20 22:58:11 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-20 22:58:11 +0300
commitea82328250b5b134da350f5bacbd7ee57730ba6b (patch)
tree2d02eec7524ce69bc12f5bede7f409f3d29cb209 /src/resources/db/mapdb.h
parente7f9514cab45863edf6a613ef8563bb15ff66e96 (diff)
downloadmv-ea82328250b5b134da350f5bacbd7ee57730ba6b.tar.gz
mv-ea82328250b5b134da350f5bacbd7ee57730ba6b.tar.bz2
mv-ea82328250b5b134da350f5bacbd7ee57730ba6b.tar.xz
mv-ea82328250b5b134da350f5bacbd7ee57730ba6b.zip
Dont put on maps tiles from empty atlases.
Before in wrong maps and OpenGL enabled modes, manaplus may show artifacts, because tiles from empty atlases really is not loaded and drawed.
Diffstat (limited to 'src/resources/db/mapdb.h')
-rw-r--r--src/resources/db/mapdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/db/mapdb.h b/src/resources/db/mapdb.h
index 97a8f0cb1..e7ccf972c 100644
--- a/src/resources/db/mapdb.h
+++ b/src/resources/db/mapdb.h
@@ -57,6 +57,8 @@ namespace MapDB
const MapInfo *getAtlas(const std::string &name) A_WARN_UNUSED;
+ bool isEmptyTileset(const std::string &name);
+
// Maps DB
typedef std::map<std::string, std::string> Maps;
typedef Maps::iterator MapIterator;