some minor touches

This commit is contained in:
minjaesong
2019-08-26 16:47:30 +09:00
parent 8973cd93fd
commit 1e6c1eeeaf
2 changed files with 6 additions and 6 deletions

View File

@@ -49,28 +49,28 @@ task game(type: JavaExec) {
classpath sourceSets.main.runtimeClasspath
main = 'net.torvald.terrarum.AppLoader'
group = "Application"
description = "Launches the game. Should be the same as 'gradlew run'."
description = "Launches the game. Should be the same as 'gradlew run'"
}
task gamedebug(type: JavaExec) {
classpath sourceSets.main.runtimeClasspath
main = 'net.torvald.terrarum.AppLoader'
group = "Application"
description = "Launches the game with the debug key."
description = "Launches the game with the debug key"
args = ["isdev=true"]
jvmArgs = ["-ea"]
jvmArgs = ["-ea"] // make assert functions work
}
task spriteassembler(type: JavaExec) {
classpath sourceSets.main.runtimeClasspath
main = 'net.torvald.spriteassembler.SpriteAssemblerAppKt'
group = "Application"
description = "Launches the Sprite Assembler."
description = "Launches the Sprite Assembler"
}
task csveditor(type: JavaExec) {
classpath sourceSets.main.runtimeClasspath
main = 'net.torvald.terrarum.debuggerapp.CSVEditor'
group = "Application"
description = "Launches the CSV Editor. (for Blocks?)"
description = "Launches the CSV Editor for in-game Blocks"
}

View File

@@ -162,7 +162,7 @@ interface NoiseMaker {
object BiomeMaker : NoiseMaker {
override val sampleDensity = HEIGHT.toDouble() // 24: magic number from old code
override val sampleDensity = 24.0 // 24: magic number from old code
override fun draw(x: Int, y: Int, noiseValue: Double, outTex: Pixmap) {
val colPal = biomeColors