Saner naming scheme of wall blocks
BIN
core/assets-raw/sprites/blocks/environment/dirt1.png
Normal file
|
After Width: | Height: | Size: 143 B |
BIN
core/assets-raw/sprites/blocks/environment/dirt2.png
Normal file
|
After Width: | Height: | Size: 155 B |
BIN
core/assets-raw/sprites/blocks/environment/dirt3.png
Normal file
|
After Width: | Height: | Size: 585 B |
|
Before Width: | Height: | Size: 631 B |
|
Before Width: | Height: | Size: 256 B |
|
Before Width: | Height: | Size: 239 B |
|
Before Width: | Height: | Size: 526 B |
|
Before Width: | Height: | Size: 255 B |
|
Before Width: | Height: | Size: 268 B |
|
Before Width: | Height: | Size: 390 B |
|
Before Width: | Height: | Size: 215 B |
|
Before Width: | Height: | Size: 211 B |
|
Before Width: | Height: | Size: 499 B |
|
Before Width: | Height: | Size: 260 B |
|
Before Width: | Height: | Size: 261 B |
|
Before Width: | Height: | Size: 671 B |
|
Before Width: | Height: | Size: 291 B |
|
Before Width: | Height: | Size: 268 B |
|
Before Width: | Height: | Size: 496 B |
|
Before Width: | Height: | Size: 252 B |
|
Before Width: | Height: | Size: 238 B |
|
Before Width: | Height: | Size: 471 B |
|
Before Width: | Height: | Size: 264 B |
|
Before Width: | Height: | Size: 247 B |
|
Before Width: | Height: | Size: 489 B |
|
Before Width: | Height: | Size: 267 B |
|
Before Width: | Height: | Size: 213 B |
@@ -292,3 +292,14 @@
|
|||||||
63452=cataclyst|unit-cataclyst-medium
|
63452=cataclyst|unit-cataclyst-medium
|
||||||
63451=scepter|unit-scepter-medium
|
63451=scepter|unit-scepter-medium
|
||||||
63450=reign|unit-reign-medium
|
63450=reign|unit-reign-medium
|
||||||
|
63449=dirt|block-dirt-medium
|
||||||
|
63448=dirtwall|block-dirtwall-medium
|
||||||
|
63447=stone-wall|block-stone-wall-medium
|
||||||
|
63446=spore-wall|block-spore-wall-medium
|
||||||
|
63445=ice-wall|block-ice-wall-medium
|
||||||
|
63444=snow-wall|block-snow-wall-medium
|
||||||
|
63443=dune-wall|block-dune-wall-medium
|
||||||
|
63442=sand-wall|block-sand-wall-medium
|
||||||
|
63441=salt-wall|block-salt-wall-medium
|
||||||
|
63440=shale-wall|block-shale-wall-medium
|
||||||
|
63439=dirt-wall|block-dirt-wall-medium
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 794 B After Width: | Height: | Size: 803 B |
|
Before Width: | Height: | Size: 368 KiB After Width: | Height: | Size: 368 KiB |
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 183 KiB |
|
Before Width: | Height: | Size: 307 KiB After Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 406 KiB After Width: | Height: | Size: 407 KiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 184 KiB |
|
Before Width: | Height: | Size: 302 KiB After Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 416 KiB After Width: | Height: | Size: 418 KiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
@@ -34,10 +34,10 @@ public class Blocks implements ContentList{
|
|||||||
public static Block
|
public static Block
|
||||||
|
|
||||||
//environment
|
//environment
|
||||||
air, spawn, cliff, deepwater, water, taintedWater, tar, slag, stone, craters, charr, sand, darksand, ice, snow, darksandTaintedWater,
|
air, spawn, cliff, deepwater, water, taintedWater, tar, slag, stone, craters, charr, sand, darksand, dirt, ice, snow, darksandTaintedWater,
|
||||||
holostone, rocks, sporerocks, icerocks, cliffs, sporePine, snowPine, pine, shrubs, whiteTree, whiteTreeDead, sporeCluster,
|
holostone, stoneWall, dirtWall, sporeWall, iceWall, cliffs, sporePine, snowPine, pine, shrubs, whiteTree, whiteTreeDead, sporeCluster,
|
||||||
iceSnow, sandWater, darksandWater, duneRocks, sandRocks, moss, sporeMoss, shale, shaleRocks, shaleBoulder, sandBoulder, grass, salt,
|
iceSnow, sandWater, darksandWater, duneWall, sandWall, moss, sporeMoss, shale, shaleWall, shaleBoulder, sandBoulder, grass, salt,
|
||||||
metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor5, ignarock, magmarock, hotrock, snowrocks, rock, snowrock, saltRocks,
|
metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor5, ignarock, magmarock, hotrock, snowWall, rock, snowrock, saltWall,
|
||||||
darkPanel1, darkPanel2, darkPanel3, darkPanel4, darkPanel5, darkPanel6, darkMetal,
|
darkPanel1, darkPanel2, darkPanel3, darkPanel4, darkPanel5, darkPanel6, darkMetal,
|
||||||
pebbles, tendrils,
|
pebbles, tendrils,
|
||||||
|
|
||||||
@@ -258,6 +258,8 @@ public class Blocks implements ContentList{
|
|||||||
attributes.set(Attribute.oil, 1.5f);
|
attributes.set(Attribute.oil, 1.5f);
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
dirt = new Floor("dirt");
|
||||||
|
|
||||||
((ShallowLiquid)darksandTaintedWater).set(Blocks.taintedWater, Blocks.darksand);
|
((ShallowLiquid)darksandTaintedWater).set(Blocks.taintedWater, Blocks.darksand);
|
||||||
((ShallowLiquid)sandWater).set(Blocks.water, Blocks.sand);
|
((ShallowLiquid)sandWater).set(Blocks.water, Blocks.sand);
|
||||||
((ShallowLiquid)darksandWater).set(Blocks.water, Blocks.darksand);
|
((ShallowLiquid)darksandWater).set(Blocks.water, Blocks.darksand);
|
||||||
@@ -295,11 +297,11 @@ public class Blocks implements ContentList{
|
|||||||
fillsTile = false;
|
fillsTile = false;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
rocks = new StaticWall("rocks"){{
|
stoneWall = new StaticWall("stone-wall"){{
|
||||||
variants = 2;
|
variants = 2;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
sporerocks = new StaticWall("sporerocks"){{
|
sporeWall = new StaticWall("spore-wall"){{
|
||||||
variants = 2;
|
variants = 2;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
@@ -311,25 +313,29 @@ public class Blocks implements ContentList{
|
|||||||
variants = 2;
|
variants = 2;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
icerocks = new StaticWall("icerocks"){{
|
dirtWall = new StaticWall("dirt-wall"){{
|
||||||
|
variants = 2;
|
||||||
|
}};
|
||||||
|
|
||||||
|
iceWall = new StaticWall("ice-wall"){{
|
||||||
variants = 2;
|
variants = 2;
|
||||||
iceSnow.asFloor().wall = this;
|
iceSnow.asFloor().wall = this;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
snowrocks = new StaticWall("snowrocks"){{
|
snowWall = new StaticWall("snow-wall"){{
|
||||||
variants = 2;
|
variants = 2;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
duneRocks = new StaticWall("dunerocks"){{
|
duneWall = new StaticWall("dune-wall"){{
|
||||||
variants = 2;
|
variants = 2;
|
||||||
ignarock.asFloor().wall = this;
|
ignarock.asFloor().wall = this;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
sandRocks = new StaticWall("sandrocks"){{
|
sandWall = new StaticWall("sand-wall"){{
|
||||||
variants = 2;
|
variants = 2;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
saltRocks = new StaticWall("saltrocks");
|
saltWall = new StaticWall("salt-wall");
|
||||||
|
|
||||||
sporePine = new StaticTree("spore-pine"){{
|
sporePine = new StaticTree("spore-pine"){{
|
||||||
variants = 0;
|
variants = 0;
|
||||||
@@ -358,7 +364,7 @@ public class Blocks implements ContentList{
|
|||||||
attributes.set(Attribute.oil, 1f);
|
attributes.set(Attribute.oil, 1f);
|
||||||
}};
|
}};
|
||||||
|
|
||||||
shaleRocks = new StaticWall("shalerocks"){{
|
shaleWall = new StaticWall("shale-wall"){{
|
||||||
variants = 2;
|
variants = 2;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
@@ -379,7 +385,7 @@ public class Blocks implements ContentList{
|
|||||||
sporeMoss = new Floor("spore-moss"){{
|
sporeMoss = new Floor("spore-moss"){{
|
||||||
variants = 3;
|
variants = 3;
|
||||||
attributes.set(Attribute.spores, 0.3f);
|
attributes.set(Attribute.spores, 0.3f);
|
||||||
wall = sporerocks;
|
wall = sporeWall;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
metalFloor = new Floor("metal-floor"){{
|
metalFloor = new Floor("metal-floor"){{
|
||||||
|
|||||||
@@ -50,21 +50,21 @@ public class MenuRenderer implements Disposable{
|
|||||||
Simplex s3 = new Simplex(offset + 2);
|
Simplex s3 = new Simplex(offset + 2);
|
||||||
RidgedPerlin rid = new RidgedPerlin(1 + offset, 1);
|
RidgedPerlin rid = new RidgedPerlin(1 + offset, 1);
|
||||||
Block[] selected = Structs.select(
|
Block[] selected = Structs.select(
|
||||||
new Block[]{Blocks.sand, Blocks.sandRocks},
|
new Block[]{Blocks.sand, Blocks.sandWall},
|
||||||
new Block[]{Blocks.shale, Blocks.shaleRocks},
|
new Block[]{Blocks.shale, Blocks.shaleWall},
|
||||||
new Block[]{Blocks.ice, Blocks.icerocks},
|
new Block[]{Blocks.ice, Blocks.iceWall},
|
||||||
new Block[]{Blocks.sand, Blocks.sandRocks},
|
new Block[]{Blocks.sand, Blocks.sandWall},
|
||||||
new Block[]{Blocks.shale, Blocks.shaleRocks},
|
new Block[]{Blocks.shale, Blocks.shaleWall},
|
||||||
new Block[]{Blocks.ice, Blocks.icerocks},
|
new Block[]{Blocks.ice, Blocks.iceWall},
|
||||||
new Block[]{Blocks.moss, Blocks.sporePine}
|
new Block[]{Blocks.moss, Blocks.sporePine}
|
||||||
);
|
);
|
||||||
Block[] selected2 = Structs.select(
|
Block[] selected2 = Structs.select(
|
||||||
new Block[]{Blocks.ignarock, Blocks.duneRocks},
|
new Block[]{Blocks.ignarock, Blocks.duneWall},
|
||||||
new Block[]{Blocks.ignarock, Blocks.duneRocks},
|
new Block[]{Blocks.ignarock, Blocks.duneWall},
|
||||||
new Block[]{Blocks.stone, Blocks.rocks},
|
new Block[]{Blocks.stone, Blocks.stoneWall},
|
||||||
new Block[]{Blocks.stone, Blocks.rocks},
|
new Block[]{Blocks.stone, Blocks.stoneWall},
|
||||||
new Block[]{Blocks.moss, Blocks.sporerocks},
|
new Block[]{Blocks.moss, Blocks.sporeWall},
|
||||||
new Block[]{Blocks.salt, Blocks.saltRocks}
|
new Block[]{Blocks.salt, Blocks.saltWall}
|
||||||
);
|
);
|
||||||
|
|
||||||
Block ore1 = ores.random();
|
Block ore1 = ores.random();
|
||||||
@@ -146,7 +146,7 @@ public class MenuRenderer implements Disposable{
|
|||||||
floor = Mathf.chance(0.2) ? Blocks.sporeMoss : Blocks.moss;
|
floor = Mathf.chance(0.2) ? Blocks.sporeMoss : Blocks.moss;
|
||||||
|
|
||||||
if(wall != Blocks.air){
|
if(wall != Blocks.air){
|
||||||
wall = Blocks.sporerocks;
|
wall = Blocks.sporeWall;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,17 @@ public abstract class SaveFileReader{
|
|||||||
|
|
||||||
"mass-conveyor", "payload-conveyor",
|
"mass-conveyor", "payload-conveyor",
|
||||||
"vestige", "scepter",
|
"vestige", "scepter",
|
||||||
"turbine-generator", "steam-generator"
|
"turbine-generator", "steam-generator",
|
||||||
|
|
||||||
|
"rocks", "stone-wall",
|
||||||
|
"sporerocks", "spore-wall",
|
||||||
|
"icerocks", "ice-wall",
|
||||||
|
"dunerocks", "dune-wall",
|
||||||
|
"sandrocks", "sand-wall",
|
||||||
|
"shalerocks", "shale-wall",
|
||||||
|
"snowrocks", "snow-wall",
|
||||||
|
"saltrocks", "salt-wall",
|
||||||
|
"dirtwall", "dirt-wall"
|
||||||
);
|
);
|
||||||
|
|
||||||
protected final ReusableByteOutStream byteOutput = new ReusableByteOutStream();
|
protected final ReusableByteOutStream byteOutput = new ReusableByteOutStream();
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import static mindustry.maps.filters.FilterOption.wallsOnly;
|
|||||||
|
|
||||||
public class NoiseFilter extends GenerateFilter{
|
public class NoiseFilter extends GenerateFilter{
|
||||||
float scl = 40, threshold = 0.5f, octaves = 3f, falloff = 0.5f;
|
float scl = 40, threshold = 0.5f, octaves = 3f, falloff = 0.5f;
|
||||||
Block floor = Blocks.stone, block = Blocks.rocks;
|
Block floor = Blocks.stone, block = Blocks.stoneWall;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FilterOption[] options(){
|
public FilterOption[] options(){
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import static mindustry.maps.filters.FilterOption.wallsOnly;
|
|||||||
|
|
||||||
public class RiverNoiseFilter extends GenerateFilter{
|
public class RiverNoiseFilter extends GenerateFilter{
|
||||||
float scl = 40, threshold = 0f, threshold2 = 0.1f;
|
float scl = 40, threshold = 0f, threshold2 = 0.1f;
|
||||||
Block floor = Blocks.water, floor2 = Blocks.deepwater, block = Blocks.sandRocks;
|
Block floor = Blocks.water, floor2 = Blocks.deepwater, block = Blocks.sandWall;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FilterOption[] options(){
|
public FilterOption[] options(){
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import static mindustry.maps.filters.FilterOption.wallsOnly;
|
|||||||
|
|
||||||
public class TerrainFilter extends GenerateFilter{
|
public class TerrainFilter extends GenerateFilter{
|
||||||
float scl = 40, threshold = 0.9f, octaves = 3f, falloff = 0.5f, magnitude = 1f, circleScl = 2.1f;
|
float scl = 40, threshold = 0.9f, octaves = 3f, falloff = 0.5f, magnitude = 1f, circleScl = 2.1f;
|
||||||
Block floor = Blocks.stone, block = Blocks.rocks;
|
Block floor = Blocks.stone, block = Blocks.stoneWall;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FilterOption[] options(){
|
public FilterOption[] options(){
|
||||||
|
|||||||