mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
WIP sector icons
This commit is contained in:
parent
7bab72df04
commit
3096397fd3
7 changed files with 5 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -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
|
||||||
BIN
core/assets-raw/sprites/ui/sectors/sector-biomassFacility.png
Normal file
BIN
core/assets-raw/sprites/ui/sectors/sector-biomassFacility.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
core/assets-raw/sprites/ui/sectors/sector-craters.png
Normal file
BIN
core/assets-raw/sprites/ui/sectors/sector-craters.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
core/assets-raw/sprites/ui/sectors/sector-frozenForest.png
Normal file
BIN
core/assets-raw/sprites/ui/sectors/sector-frozenForest.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
core/assets-raw/sprites/ui/sectors/sector-groundZero.png
Normal file
BIN
core/assets-raw/sprites/ui/sectors/sector-groundZero.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
core/assets-raw/sprites/ui/sectors/sector-ruinousShores.png
Normal file
BIN
core/assets-raw/sprites/ui/sectors/sector-ruinousShores.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
|
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue