From 63a18c31ee0ccc5f4ac967aaa2f674eb89f90528 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 26 Apr 2017 00:44:51 +0300 Subject: Improve a bit creating empty atlas. --- src/resources/atlas/atlasmanager.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/resources/atlas/atlasmanager.h') 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 &images); + static void emptySort(const std::string &restrict name, + std::vector &restrict atlases, + const std::vector &restrict images); + static void simpleSort(const std::string &restrict name, std::vector &restrict atlases, const std::vector &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 -- cgit v1.2.3-70-g09d2