mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-12 22:56:06 +09:00
wires are now separated from blocks
This commit is contained in:
@@ -223,11 +223,9 @@ object ModMgr {
|
||||
|
||||
|
||||
object GameBlockLoader {
|
||||
val blockPath = "blocks/"
|
||||
|
||||
@JvmStatic operator fun invoke(module: String) {
|
||||
BlockCodex(module, blockPath + "blocks.csv")
|
||||
WireCodex(module, blockPath + "wires.csv")
|
||||
BlockCodex(module, "blocks/blocks.csv")
|
||||
WireCodex(module, "wires/wires.csv")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ internal object BlocksDrawer {
|
||||
)
|
||||
|
||||
//TODO make wire work with the TileAtlas system
|
||||
tilesWire = TextureRegionPack(ModMgr.getGdxFile("basegame", "blocks/wire.tga"), TILE_SIZE, TILE_SIZE)
|
||||
tilesWire = TextureRegionPack(ModMgr.getGdxFile("basegame", "wires/wire.tga"), TILE_SIZE, TILE_SIZE)
|
||||
tilesFluid = TextureRegionPack(Texture(AppLoader.tileMaker.atlasFluid), TILE_SIZE, TILE_SIZE)
|
||||
tilesGlow = TextureRegionPack(Texture(AppLoader.tileMaker.atlasGlow), TILE_SIZE, TILE_SIZE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user