diff --git a/.gitignore b/.gitignore index 4ebcbb7233..5e3b7987ef 100644 --- a/.gitignore +++ b/.gitignore @@ -168,3 +168,6 @@ android/libs/ # ignored due to frequent branch conflicts. core/assets/logicids.dat + +# project files for the sectors +core/assets-raw/sprites/ui/sectors/*.json \ No newline at end of file diff --git a/core/assets-raw/sprites/ui/sectors/sector-biomassFacility.png b/core/assets-raw/sprites/ui/sectors/sector-biomassFacility.png new file mode 100644 index 0000000000..998605309c Binary files /dev/null and b/core/assets-raw/sprites/ui/sectors/sector-biomassFacility.png differ diff --git a/core/assets-raw/sprites/ui/sectors/sector-craters.png b/core/assets-raw/sprites/ui/sectors/sector-craters.png new file mode 100644 index 0000000000..fdf2b01fb3 Binary files /dev/null and b/core/assets-raw/sprites/ui/sectors/sector-craters.png differ diff --git a/core/assets-raw/sprites/ui/sectors/sector-frozenForest.png b/core/assets-raw/sprites/ui/sectors/sector-frozenForest.png new file mode 100644 index 0000000000..c1480b6729 Binary files /dev/null and b/core/assets-raw/sprites/ui/sectors/sector-frozenForest.png differ diff --git a/core/assets-raw/sprites/ui/sectors/sector-groundZero.png b/core/assets-raw/sprites/ui/sectors/sector-groundZero.png new file mode 100644 index 0000000000..66fa502e75 Binary files /dev/null and b/core/assets-raw/sprites/ui/sectors/sector-groundZero.png differ diff --git a/core/assets-raw/sprites/ui/sectors/sector-ruinousShores.png b/core/assets-raw/sprites/ui/sectors/sector-ruinousShores.png new file mode 100644 index 0000000000..75f932b979 Binary files /dev/null and b/core/assets-raw/sprites/ui/sectors/sector-ruinousShores.png differ diff --git a/core/src/mindustry/type/SectorPreset.java b/core/src/mindustry/type/SectorPreset.java index fee095e66a..786c58829c 100644 --- a/core/src/mindustry/type/SectorPreset.java +++ b/core/src/mindustry/type/SectorPreset.java @@ -1,5 +1,6 @@ package mindustry.type; +import arc.*; import arc.func.*; import mindustry.ctype.*; import mindustry.game.*; @@ -63,7 +64,7 @@ public class SectorPreset extends UnlockableContent{ @Override public void loadIcon(){ if(Icon.terrain != null){ - uiIcon = fullIcon = Icon.terrain.getRegion(); + uiIcon = fullIcon = Core.atlas.find("sector-" + name, Icon.terrain.getRegion()); } }