WIP sector icons
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -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
|
||||
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;
|
||||
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user