WIP sector icons

This commit is contained in:
Anuken 2025-04-08 01:23:58 -04:00
parent 7bab72df04
commit 3096397fd3
7 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View file

@ -168,3 +168,6 @@ android/libs/
# ignored due to frequent branch conflicts. # ignored due to frequent branch conflicts.
core/assets/logicids.dat core/assets/logicids.dat
# project files for the sectors
core/assets-raw/sprites/ui/sectors/*.json

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -1,5 +1,6 @@
package mindustry.type; package mindustry.type;
import arc.*;
import arc.func.*; import arc.func.*;
import mindustry.ctype.*; import mindustry.ctype.*;
import mindustry.game.*; import mindustry.game.*;
@ -63,7 +64,7 @@ public class SectorPreset extends UnlockableContent{
@Override @Override
public void loadIcon(){ public void loadIcon(){
if(Icon.terrain != null){ if(Icon.terrain != null){
uiIcon = fullIcon = Icon.terrain.getRegion(); uiIcon = fullIcon = Core.atlas.find("sector-" + name, Icon.terrain.getRegion());
} }
} }