diff --git a/core/src/io/anuke/mindustry/graphics/MultiPacker.java b/core/src/io/anuke/mindustry/graphics/MultiPacker.java index 7c8396f79f..578aa677ba 100644 --- a/core/src/io/anuke/mindustry/graphics/MultiPacker.java +++ b/core/src/io/anuke/mindustry/graphics/MultiPacker.java @@ -42,6 +42,13 @@ public class MultiPacker implements Disposable{ } } + + //There are several pages for sprites. + //main page (sprites.png) - all sprites for units, weapons, placeable blocks, effects, bullets, etc + //environment page (sprites2.png) - all sprites for things in the environmental cache layer + //editor page (sprites3.png) - all sprites needed for rendering in the editor, including block icons and a few minor sprites + //zone page (sprites4.png) - zone previews + //ui page (sprites5.png) - content icons, white icons and UI elements public enum PageType{ main, environment, diff --git a/core/src/io/anuke/mindustry/mod/Mods.java b/core/src/io/anuke/mindustry/mod/Mods.java index 37a35e6f53..bc3023c448 100644 --- a/core/src/io/anuke/mindustry/mod/Mods.java +++ b/core/src/io/anuke/mindustry/mod/Mods.java @@ -153,13 +153,6 @@ public class Mods implements Loadable{ Log.info("Time to update textures: {0}", Time.elapsed()); } - //There are several pages for sprites. - //main page (sprites.png) - all sprites for units, weapons, placeable blocks, effects, bullets, etc - //environment page (sprites2.png) - all sprites for things in the environmental cache layer - //editor page (sprites3.png) - all sprites needed for rendering in the editor, including block icons and a few minor sprites - //zone page (sprites4.png) - zone previews - //ui page (sprites5.png) - content icons, white icons and UI elements - private PageType getPage(AtlasRegion region){ return region.getTexture() == Core.atlas.find("white").getTexture() ? PageType.main :