mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
some minor touches
This commit is contained in:
10
build.gradle
10
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"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user