diff --git a/build.gradle b/build.gradle index f28ac99dd..ad592d7b1 100644 --- a/build.gradle +++ b/build.gradle @@ -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" } diff --git a/src/net/torvald/terrarum/tests/WorldgenNoiseSandbox.kt b/src/net/torvald/terrarum/tests/WorldgenNoiseSandbox.kt index 2cd9a982b..6938ba441 100644 --- a/src/net/torvald/terrarum/tests/WorldgenNoiseSandbox.kt +++ b/src/net/torvald/terrarum/tests/WorldgenNoiseSandbox.kt @@ -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