mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-03 03:31:28 +03:00
Asset type reordering
This commit is contained in:
@@ -23,10 +23,10 @@ public class MapPatchesDialog extends BaseDialog{
|
|||||||
private TextureRegionDrawable[] typeIcons = {
|
private TextureRegionDrawable[] typeIcons = {
|
||||||
Icon.fileCode,
|
Icon.fileCode,
|
||||||
Icon.box,
|
Icon.box,
|
||||||
|
Icon.fileText,
|
||||||
Icon.image,
|
Icon.image,
|
||||||
Icon.volumeUp,
|
Icon.volumeUp,
|
||||||
Icon.music,
|
Icon.music
|
||||||
Icon.fileText
|
|
||||||
};
|
};
|
||||||
|
|
||||||
public MapPatchesDialog(){
|
public MapPatchesDialog(){
|
||||||
|
|||||||
@@ -6,10 +6,11 @@ import arc.struct.*;
|
|||||||
public enum DataAssetType{
|
public enum DataAssetType{
|
||||||
patch("patches", Seq.with("json", "hjson", "json5"), PatchAsset::new, true),
|
patch("patches", Seq.with("json", "hjson", "json5"), PatchAsset::new, true),
|
||||||
content("content", Seq.with("json", "hjson", "json5"), ContentAsset::new, true),
|
content("content", Seq.with("json", "hjson", "json5"), ContentAsset::new, true),
|
||||||
|
bundle("bundles", Seq.with("properties"), BundleAsset::new, false),
|
||||||
image("sprites", Seq.with("png"), ImageAsset::new, false),
|
image("sprites", Seq.with("png"), ImageAsset::new, false),
|
||||||
sound("sounds", Seq.with("mp3", "ogg"), SoundAsset::new, false),
|
sound("sounds", Seq.with("mp3", "ogg"), SoundAsset::new, false),
|
||||||
music("music", Seq.with("mp3", "ogg"), MusicAsset::new, false),
|
music("music", Seq.with("mp3", "ogg"), MusicAsset::new, false)
|
||||||
bundle("bundles", Seq.with("properties"), BundleAsset::new, false);
|
;
|
||||||
|
|
||||||
public final String folder;
|
public final String folder;
|
||||||
public final Seq<String> extensions;
|
public final Seq<String> extensions;
|
||||||
|
|||||||
Reference in New Issue
Block a user