summaryrefslogtreecommitdiff
path: root/src/resources/atlas/atlasmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-26 00:44:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-26 02:01:27 +0300
commit63a18c31ee0ccc5f4ac967aaa2f674eb89f90528 (patch)
tree9fa32c6ad2b6998529c1bdabd8f29535b74ab5ab /src/resources/atlas/atlasmanager.h
parent916dfcf76e6ffa46cd61656e2c0087be4624cf80 (diff)
downloadplus-63a18c31ee0ccc5f4ac967aaa2f674eb89f90528.tar.gz
plus-63a18c31ee0ccc5f4ac967aaa2f674eb89f90528.tar.bz2
plus-63a18c31ee0ccc5f4ac967aaa2f674eb89f90528.tar.xz
plus-63a18c31ee0ccc5f4ac967aaa2f674eb89f90528.zip
Improve a bit creating empty atlas.
Diffstat (limited to 'src/resources/atlas/atlasmanager.h')
-rw-r--r--src/resources/atlas/atlasmanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/atlas/atlasmanager.h b/src/resources/atlas/atlasmanager.h
index e619ce736..13db9717e 100644
--- a/src/resources/atlas/atlasmanager.h
+++ b/src/resources/atlas/atlasmanager.h
@@ -58,6 +58,10 @@ class AtlasManager final
static void loadEmptyImages(const StringVect &files,
std::vector<Image*> &images);
+ static void emptySort(const std::string &restrict name,
+ std::vector<TextureAtlas*> &restrict atlases,
+ const std::vector<Image*> &restrict images);
+
static void simpleSort(const std::string &restrict name,
std::vector<TextureAtlas*> &restrict atlases,
const std::vector<Image*> &restrict images,
@@ -66,6 +70,8 @@ class AtlasManager final
static void createSDLAtlas(TextureAtlas *const atlas) A_NONNULL(1);
static void convertAtlas(TextureAtlas *const atlas) A_NONNULL(1);
+
+ static void convertEmptyAtlas(TextureAtlas *const atlas) A_NONNULL(1);
};
#endif // USE_OPENGL