more floors
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@@ -605,3 +605,5 @@
|
|||||||
63077=crux-floor-3|block-crux-floor-3-ui
|
63077=crux-floor-3|block-crux-floor-3-ui
|
||||||
63076=crux-floor-4|block-crux-floor-4-ui
|
63076=crux-floor-4|block-crux-floor-4-ui
|
||||||
63075=colored-floor|block-colored-floor-ui
|
63075=colored-floor|block-colored-floor-ui
|
||||||
|
63074=crux-floor-5|block-crux-floor-5-ui
|
||||||
|
63073=crux-floor-6|block-crux-floor-6-ui
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ public class Blocks{
|
|||||||
shaleBoulder, sandBoulder, daciteBoulder, boulder, snowBoulder, basaltBoulder, carbonBoulder, ferricBoulder, beryllicBoulder, yellowStoneBoulder,
|
shaleBoulder, sandBoulder, daciteBoulder, boulder, snowBoulder, basaltBoulder, carbonBoulder, ferricBoulder, beryllicBoulder, yellowStoneBoulder,
|
||||||
arkyicBoulder, crystalCluster, vibrantCrystalCluster, crystalBlocks, crystalOrbs, crystallineBoulder, redIceBoulder, rhyoliteBoulder, redStoneBoulder,
|
arkyicBoulder, crystalCluster, vibrantCrystalCluster, crystalBlocks, crystalOrbs, crystallineBoulder, redIceBoulder, rhyoliteBoulder, redStoneBoulder,
|
||||||
metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor4, metalFloor5, basalt, magmarock, hotrock, snowWall, saltWall,
|
metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor4, metalFloor5, basalt, magmarock, hotrock, snowWall, saltWall,
|
||||||
darkPanel1, darkPanel2, darkPanel3, darkPanel4, darkPanel5, darkPanel6, darkMetal, cruxFloor1, cruxFloor2, cruxFloor3, cruxFloor4, coloredFloor,
|
darkPanel1, darkPanel2, darkPanel3, darkPanel4, darkPanel5, darkPanel6, darkMetal, cruxFloor1, cruxFloor2, cruxFloor3, cruxFloor4, cruxFloor5, cruxFloor6, coloredFloor,
|
||||||
pebbles, tendrils,
|
pebbles, tendrils,
|
||||||
|
|
||||||
//ores
|
//ores
|
||||||
@@ -837,10 +837,24 @@ public class Blocks{
|
|||||||
drawEdgeIn = false;
|
drawEdgeIn = false;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
cruxFloor5 = new Floor("crux-floor-5"){{
|
||||||
|
autotile = true;
|
||||||
|
drawEdgeOut = false;
|
||||||
|
drawEdgeIn = false;
|
||||||
|
}};
|
||||||
|
|
||||||
|
cruxFloor6 = new Floor("crux-floor-6"){{
|
||||||
|
autotile = true;
|
||||||
|
drawEdgeOut = false;
|
||||||
|
drawEdgeIn = false;
|
||||||
|
}};
|
||||||
|
|
||||||
coloredFloor = new ColoredFloor("colored-floor"){{
|
coloredFloor = new ColoredFloor("colored-floor"){{
|
||||||
autotile = true;
|
autotile = true;
|
||||||
drawEdgeOut = false;
|
drawEdgeOut = false;
|
||||||
drawEdgeIn = false;
|
drawEdgeIn = false;
|
||||||
|
//there is no proper support for displaying colors or placing with colors
|
||||||
|
inEditor = false;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
Seq.with(metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor4, metalFloor5, darkPanel1, darkPanel2, darkPanel3, darkPanel4, darkPanel5, darkPanel6)
|
Seq.with(metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor4, metalFloor5, darkPanel1, darkPanel2, darkPanel3, darkPanel4, darkPanel5, darkPanel6)
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public class ColoredFloor extends Floor{
|
|||||||
public void drawBase(Tile tile){
|
public void drawBase(Tile tile){
|
||||||
//make sure to mask out the alpha channel - it's generally undesirable, and leads to invisible blocks when the data is not initialized
|
//make sure to mask out the alpha channel - it's generally undesirable, and leads to invisible blocks when the data is not initialized
|
||||||
Draw.color(tile.extraData | 0xff);
|
Draw.color(tile.extraData | 0xff);
|
||||||
if((tile.extraData & 0xff) == flagSmoothBlend){
|
if((tile.extraData & 0xff) == flagSmoothBlend && autotile){
|
||||||
//Only autotiling is supported right now for the sake of simplicity
|
//Only autotiling is supported right now for the sake of simplicity
|
||||||
int bits = 0;
|
int bits = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user