Initial renaming pass.

This commit is contained in:
Liv Gorence committed 2023-01-24 21:37:24 -08:00
1 parent 5d7bf94e5c
commit 83ae7df4a6
139 files changed
+335 -317

No files matched your search

+1 -1
View File
@@ -6,5 +6,5 @@ dependencies {
}
listOf(tasks.jar, tasks.shadowJar).map { it.get() }.forEach { task ->
task.manifest.attributes["Main-Class"] = "cloud.kubelet.foundation.gjallarhorn.MainKt"
task.manifest.attributes["Main-Class"] = "gay.pizza.foundation.gjallarhorn.MainKt"
}
@@ -1,11 +0,0 @@
package cloud.kubelet.foundation.gjallarhorn.export
import cloud.kubelet.foundation.gjallarhorn.state.BlockExpanse
import cloud.kubelet.foundation.gjallarhorn.state.SparseBlockStateMap
import kotlinx.serialization.Serializable
@Serializable
class CombinedChunkFormat(
val expanse: BlockExpanse,
val map: SparseBlockStateMap
)
@@ -1,14 +0,0 @@
package cloud.kubelet.foundation.gjallarhorn
import cloud.kubelet.foundation.gjallarhorn.commands.BlockChangeTimelapseCommand
import cloud.kubelet.foundation.gjallarhorn.commands.ChunkExportLoaderCommand
import cloud.kubelet.foundation.gjallarhorn.commands.PlayerPositionExport
import cloud.kubelet.foundation.gjallarhorn.commands.PlayerSessionExport
import com.github.ajalt.clikt.core.subcommands
fun main(args: Array<String>) = GjallarhornCommand().subcommands(
BlockChangeTimelapseCommand(),
PlayerSessionExport(),
PlayerPositionExport(),
ChunkExportLoaderCommand()
).main(args)
@@ -1,8 +0,0 @@
package cloud.kubelet.foundation.gjallarhorn.render
import cloud.kubelet.foundation.gjallarhorn.state.BlockStateMap
import cloud.kubelet.foundation.gjallarhorn.state.ChangelogSlice
interface BlockMapRenderer<T> {
fun render(slice: ChangelogSlice, map: BlockStateMap): T
}
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn
package gay.pizza.foundation.gjallarhorn
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.parameters.options.default
@@ -1,10 +1,5 @@
package cloud.kubelet.foundation.gjallarhorn.commands
package gay.pizza.foundation.gjallarhorn.commands
import cloud.kubelet.foundation.gjallarhorn.render.*
import cloud.kubelet.foundation.gjallarhorn.state.*
import cloud.kubelet.foundation.gjallarhorn.util.compose
import cloud.kubelet.foundation.gjallarhorn.util.savePngFile
import cloud.kubelet.foundation.heimdall.view.BlockChangeView
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.requireObject
import com.github.ajalt.clikt.parameters.options.default
@@ -13,6 +8,11 @@ import com.github.ajalt.clikt.parameters.options.option
import com.github.ajalt.clikt.parameters.options.required
import com.github.ajalt.clikt.parameters.types.enum
import com.github.ajalt.clikt.parameters.types.int
import gay.pizza.foundation.gjallarhorn.render.*
import gay.pizza.foundation.gjallarhorn.state.*
import gay.pizza.foundation.gjallarhorn.util.compose
import gay.pizza.foundation.gjallarhorn.util.savePngFile
import gay.pizza.foundation.heimdall.view.BlockChangeView
import org.jetbrains.exposed.sql.Database
import org.jetbrains.exposed.sql.SqlExpressionBuilder.greaterEq
import org.jetbrains.exposed.sql.SqlExpressionBuilder.lessEq
@@ -1,11 +1,5 @@
package cloud.kubelet.foundation.gjallarhorn.commands
package gay.pizza.foundation.gjallarhorn.commands
import cloud.kubelet.foundation.gjallarhorn.export.ChunkExportLoader
import cloud.kubelet.foundation.gjallarhorn.export.CombinedChunkFormat
import cloud.kubelet.foundation.gjallarhorn.state.BlockExpanse
import cloud.kubelet.foundation.gjallarhorn.state.BlockLogTracker
import cloud.kubelet.foundation.gjallarhorn.state.ChangelogSlice
import cloud.kubelet.foundation.gjallarhorn.util.savePngFile
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.requireObject
import com.github.ajalt.clikt.parameters.arguments.argument
@@ -14,6 +8,12 @@ import com.github.ajalt.clikt.parameters.options.option
import com.github.ajalt.clikt.parameters.types.enum
import com.github.ajalt.clikt.parameters.types.int
import com.github.ajalt.clikt.parameters.types.path
import gay.pizza.foundation.gjallarhorn.export.ChunkExportLoader
import gay.pizza.foundation.gjallarhorn.export.CombinedChunkFormat
import gay.pizza.foundation.gjallarhorn.state.BlockExpanse
import gay.pizza.foundation.gjallarhorn.state.BlockLogTracker
import gay.pizza.foundation.gjallarhorn.state.ChangelogSlice
import gay.pizza.foundation.gjallarhorn.util.savePngFile
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.decodeFromStream
import kotlinx.serialization.json.encodeToStream
@@ -1,7 +1,7 @@
package cloud.kubelet.foundation.gjallarhorn.commands
package gay.pizza.foundation.gjallarhorn.commands
import cloud.kubelet.foundation.gjallarhorn.render.*
import cloud.kubelet.foundation.gjallarhorn.state.BlockExpanse
import gay.pizza.foundation.gjallarhorn.render.*
import gay.pizza.foundation.gjallarhorn.state.BlockExpanse
import org.jetbrains.exposed.sql.Database
@Suppress("unused")
@@ -1,11 +1,11 @@
package cloud.kubelet.foundation.gjallarhorn.commands
package gay.pizza.foundation.gjallarhorn.commands
import cloud.kubelet.foundation.gjallarhorn.state.PlayerPositionChangelog
import cloud.kubelet.foundation.gjallarhorn.util.compose
import cloud.kubelet.foundation.heimdall.table.PlayerPositionTable
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.requireObject
import com.github.ajalt.clikt.parameters.options.option
import gay.pizza.foundation.gjallarhorn.state.PlayerPositionChangelog
import gay.pizza.foundation.gjallarhorn.util.compose
import gay.pizza.foundation.heimdall.table.PlayerPositionTable
import org.jetbrains.exposed.sql.Database
import org.jetbrains.exposed.sql.SqlExpressionBuilder.eq
import org.jetbrains.exposed.sql.SqlExpressionBuilder.greaterEq
@@ -13,7 +13,7 @@ import org.jetbrains.exposed.sql.SqlExpressionBuilder.lessEq
import org.jetbrains.exposed.sql.and
import org.jetbrains.exposed.sql.transactions.transaction
import java.time.Instant
import java.util.*
import java.util.UUID
class PlayerPositionExport : CliktCommand(name = "export-player-positions", help = "Export Player Positions") {
private val db by requireObject<Database>()
@@ -1,16 +1,16 @@
package cloud.kubelet.foundation.gjallarhorn.commands
package gay.pizza.foundation.gjallarhorn.commands
import cloud.kubelet.foundation.gjallarhorn.util.compose
import cloud.kubelet.foundation.heimdall.table.PlayerSessionTable
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.requireObject
import com.github.ajalt.clikt.parameters.options.option
import gay.pizza.foundation.gjallarhorn.util.compose
import gay.pizza.foundation.heimdall.table.PlayerSessionTable
import org.jetbrains.exposed.sql.Database
import org.jetbrains.exposed.sql.SqlExpressionBuilder.eq
import org.jetbrains.exposed.sql.and
import org.jetbrains.exposed.sql.select
import org.jetbrains.exposed.sql.transactions.transaction
import java.util.*
import java.util.UUID
class PlayerSessionExport : CliktCommand(name = "export-player-sessions", help = "Export Player Sessions") {
private val db by requireObject<Database>()
@@ -1,10 +1,10 @@
package cloud.kubelet.foundation.gjallarhorn.export
package gay.pizza.foundation.gjallarhorn.export
import cloud.kubelet.foundation.gjallarhorn.state.BlockCoordinate
import cloud.kubelet.foundation.gjallarhorn.state.BlockLogTracker
import cloud.kubelet.foundation.gjallarhorn.state.BlockState
import cloud.kubelet.foundation.gjallarhorn.state.SparseBlockStateMap
import cloud.kubelet.foundation.heimdall.export.ExportedChunk
import gay.pizza.foundation.gjallarhorn.state.BlockCoordinate
import gay.pizza.foundation.gjallarhorn.state.BlockLogTracker
import gay.pizza.foundation.gjallarhorn.state.BlockState
import gay.pizza.foundation.gjallarhorn.state.SparseBlockStateMap
import gay.pizza.foundation.heimdall.export.ExportedChunk
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.decodeFromStream
import org.slf4j.LoggerFactory
@@ -0,0 +1,11 @@
package gay.pizza.foundation.gjallarhorn.export
import gay.pizza.foundation.gjallarhorn.state.BlockExpanse
import gay.pizza.foundation.gjallarhorn.state.SparseBlockStateMap
import kotlinx.serialization.Serializable
@Serializable
class CombinedChunkFormat(
val expanse: BlockExpanse,
val map: SparseBlockStateMap
)
@@ -0,0 +1,14 @@
package gay.pizza.foundation.gjallarhorn
import com.github.ajalt.clikt.core.subcommands
import gay.pizza.foundation.gjallarhorn.commands.BlockChangeTimelapseCommand
import gay.pizza.foundation.gjallarhorn.commands.ChunkExportLoaderCommand
import gay.pizza.foundation.gjallarhorn.commands.PlayerPositionExport
import gay.pizza.foundation.gjallarhorn.commands.PlayerSessionExport
fun main(args: Array<String>) = GjallarhornCommand().subcommands(
BlockChangeTimelapseCommand(),
PlayerSessionExport(),
PlayerPositionExport(),
ChunkExportLoaderCommand()
).main(args)
@@ -1,11 +1,10 @@
package cloud.kubelet.foundation.gjallarhorn.render
package gay.pizza.foundation.gjallarhorn.render
import cloud.kubelet.foundation.gjallarhorn.state.BlockExpanse
import cloud.kubelet.foundation.gjallarhorn.state.BlockStateMap
import cloud.kubelet.foundation.gjallarhorn.state.SparseBlockStateMap
import cloud.kubelet.foundation.gjallarhorn.state.ChangelogSlice
import cloud.kubelet.foundation.gjallarhorn.util.BlockColorKey
import cloud.kubelet.foundation.gjallarhorn.util.defaultBlockColorMap
import gay.pizza.foundation.gjallarhorn.state.BlockExpanse
import gay.pizza.foundation.gjallarhorn.state.BlockStateMap
import gay.pizza.foundation.gjallarhorn.state.ChangelogSlice
import gay.pizza.foundation.gjallarhorn.util.BlockColorKey
import gay.pizza.foundation.gjallarhorn.util.defaultBlockColorMap
import java.awt.Color
import java.awt.image.BufferedImage
@@ -1,6 +1,6 @@
package cloud.kubelet.foundation.gjallarhorn.render
package gay.pizza.foundation.gjallarhorn.render
import cloud.kubelet.foundation.gjallarhorn.state.BlockExpanse
import gay.pizza.foundation.gjallarhorn.state.BlockExpanse
import java.awt.Color
import java.awt.Graphics2D
import java.awt.Rectangle
@@ -1,8 +1,8 @@
package cloud.kubelet.foundation.gjallarhorn.render
package gay.pizza.foundation.gjallarhorn.render
import cloud.kubelet.foundation.gjallarhorn.state.BlockExpanse
import cloud.kubelet.foundation.gjallarhorn.util.ColorGradient
import cloud.kubelet.foundation.gjallarhorn.util.FloatClamp
import gay.pizza.foundation.gjallarhorn.state.BlockExpanse
import gay.pizza.foundation.gjallarhorn.util.ColorGradient
import gay.pizza.foundation.gjallarhorn.util.FloatClamp
import java.awt.Color
import java.awt.image.BufferedImage
@@ -1,10 +1,10 @@
package cloud.kubelet.foundation.gjallarhorn.render
package gay.pizza.foundation.gjallarhorn.render
import cloud.kubelet.foundation.gjallarhorn.state.BlockExpanse
import cloud.kubelet.foundation.gjallarhorn.state.BlockStateMap
import cloud.kubelet.foundation.gjallarhorn.state.SparseBlockStateMap
import cloud.kubelet.foundation.gjallarhorn.state.ChangelogSlice
import cloud.kubelet.foundation.gjallarhorn.util.FloatClamp
import gay.pizza.foundation.gjallarhorn.state.BlockExpanse
import gay.pizza.foundation.gjallarhorn.state.BlockStateMap
import gay.pizza.foundation.gjallarhorn.state.ChangelogSlice
import gay.pizza.foundation.gjallarhorn.state.SparseBlockStateMap
import gay.pizza.foundation.gjallarhorn.util.FloatClamp
import java.awt.image.BufferedImage
class BlockHeightMapRenderer(val expanse: BlockExpanse, quadPixelSize: Int = defaultQuadPixelSize) :
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.render
package gay.pizza.foundation.gjallarhorn.render
import java.awt.image.BufferedImage
@@ -0,0 +1,8 @@
package gay.pizza.foundation.gjallarhorn.render
import gay.pizza.foundation.gjallarhorn.state.BlockStateMap
import gay.pizza.foundation.gjallarhorn.state.ChangelogSlice
interface BlockMapRenderer<T> {
fun render(slice: ChangelogSlice, map: BlockStateMap): T
}
@@ -1,10 +1,10 @@
package cloud.kubelet.foundation.gjallarhorn.render
package gay.pizza.foundation.gjallarhorn.render
import cloud.kubelet.foundation.gjallarhorn.state.BlockExpanse
import cloud.kubelet.foundation.gjallarhorn.state.BlockStateMap
import cloud.kubelet.foundation.gjallarhorn.state.SparseBlockStateMap
import cloud.kubelet.foundation.gjallarhorn.state.ChangelogSlice
import cloud.kubelet.foundation.gjallarhorn.util.FloatClamp
import gay.pizza.foundation.gjallarhorn.state.BlockExpanse
import gay.pizza.foundation.gjallarhorn.state.BlockStateMap
import gay.pizza.foundation.gjallarhorn.state.ChangelogSlice
import gay.pizza.foundation.gjallarhorn.state.SparseBlockStateMap
import gay.pizza.foundation.gjallarhorn.util.FloatClamp
import java.awt.image.BufferedImage
class BlockVerticalFillMapRenderer(val expanse: BlockExpanse, quadPixelSize: Int = defaultQuadPixelSize) :
@@ -1,9 +1,9 @@
package cloud.kubelet.foundation.gjallarhorn.render
package gay.pizza.foundation.gjallarhorn.render
import cloud.kubelet.foundation.gjallarhorn.render.ui.GraphicalRenderSession
import cloud.kubelet.foundation.gjallarhorn.state.BlockExpanse
import cloud.kubelet.foundation.gjallarhorn.state.BlockStateMap
import cloud.kubelet.foundation.gjallarhorn.state.ChangelogSlice
import gay.pizza.foundation.gjallarhorn.render.ui.GraphicalRenderSession
import gay.pizza.foundation.gjallarhorn.state.BlockExpanse
import gay.pizza.foundation.gjallarhorn.state.BlockStateMap
import gay.pizza.foundation.gjallarhorn.state.ChangelogSlice
import java.awt.image.BufferedImage
import javax.swing.WindowConstants
@@ -1,15 +1,19 @@
package cloud.kubelet.foundation.gjallarhorn.render
package gay.pizza.foundation.gjallarhorn.render
import cloud.kubelet.foundation.gjallarhorn.state.*
import cloud.kubelet.foundation.gjallarhorn.util.BlockColorKey
import cloud.kubelet.foundation.heimdall.table.PlayerPositionTable
import gay.pizza.foundation.gjallarhorn.state.BlockCoordinate
import gay.pizza.foundation.gjallarhorn.state.BlockCoordinateSparseMap
import gay.pizza.foundation.gjallarhorn.state.BlockExpanse
import gay.pizza.foundation.gjallarhorn.state.BlockStateMap
import gay.pizza.foundation.gjallarhorn.state.ChangelogSlice
import gay.pizza.foundation.gjallarhorn.util.BlockColorKey
import gay.pizza.foundation.heimdall.table.PlayerPositionTable
import org.jetbrains.exposed.sql.Database
import org.jetbrains.exposed.sql.and
import org.jetbrains.exposed.sql.select
import org.jetbrains.exposed.sql.transactions.transaction
import java.awt.Color
import java.awt.image.BufferedImage
import java.util.*
import java.util.UUID
class PlayerLocationShareRenderer(
val expanse: BlockExpanse,
@@ -1,10 +1,10 @@
package cloud.kubelet.foundation.gjallarhorn.render.ui
package gay.pizza.foundation.gjallarhorn.render.ui
import cloud.kubelet.foundation.gjallarhorn.render.BlockDiversityRenderer
import cloud.kubelet.foundation.gjallarhorn.render.BlockHeightMapRenderer
import cloud.kubelet.foundation.gjallarhorn.render.BlockVerticalFillMapRenderer
import cloud.kubelet.foundation.gjallarhorn.state.BlockExpanse
import cloud.kubelet.foundation.gjallarhorn.state.BlockStateMap
import gay.pizza.foundation.gjallarhorn.render.BlockDiversityRenderer
import gay.pizza.foundation.gjallarhorn.render.BlockHeightMapRenderer
import gay.pizza.foundation.gjallarhorn.render.BlockVerticalFillMapRenderer
import gay.pizza.foundation.gjallarhorn.state.BlockExpanse
import gay.pizza.foundation.gjallarhorn.state.BlockStateMap
import java.awt.Dimension
import javax.swing.JFrame
import javax.swing.JTabbedPane
@@ -1,8 +1,8 @@
package cloud.kubelet.foundation.gjallarhorn.render.ui
package gay.pizza.foundation.gjallarhorn.render.ui
import cloud.kubelet.foundation.gjallarhorn.render.BlockImageRenderer
import cloud.kubelet.foundation.gjallarhorn.state.BlockStateMap
import cloud.kubelet.foundation.gjallarhorn.state.ChangelogSlice
import gay.pizza.foundation.gjallarhorn.render.BlockImageRenderer
import gay.pizza.foundation.gjallarhorn.state.BlockStateMap
import gay.pizza.foundation.gjallarhorn.state.ChangelogSlice
import java.awt.Graphics
import javax.swing.JComponent
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import java.time.Instant
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import kotlinx.serialization.Serializable
@@ -1,6 +1,6 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import cloud.kubelet.foundation.heimdall.view.BlockChangeView
import gay.pizza.foundation.heimdall.view.BlockChangeView
import org.jetbrains.exposed.sql.Database
import org.jetbrains.exposed.sql.Op
import org.jetbrains.exposed.sql.select
@@ -1,7 +1,7 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import java.util.*
import kotlinx.serialization.Serializable
import java.util.Objects
@Serializable
data class BlockCoordinate(
@@ -1,8 +1,7 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import cloud.kubelet.foundation.gjallarhorn.util.maxOfAll
import cloud.kubelet.foundation.gjallarhorn.util.minOfAll
import java.util.*
import gay.pizza.foundation.gjallarhorn.util.maxOfAll
import gay.pizza.foundation.gjallarhorn.util.minOfAll
import kotlin.math.absoluteValue
open class BlockCoordinateSparseMap<T>(blocks: Map<Long, Map<Long, Map<Long, T>>> = mutableMapOf()) : BlockCoordinateStore<T> {
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
interface BlockCoordinateStore<T> {
fun get(position: BlockCoordinate): T?
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import kotlinx.serialization.Serializable
@@ -1,7 +1,7 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import cloud.kubelet.foundation.gjallarhorn.util.maxOfAll
import cloud.kubelet.foundation.gjallarhorn.util.minOfAll
import gay.pizza.foundation.gjallarhorn.util.maxOfAll
import gay.pizza.foundation.gjallarhorn.util.minOfAll
import java.util.concurrent.ConcurrentHashMap
import kotlin.math.absoluteValue
@@ -1,6 +1,6 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import cloud.kubelet.foundation.gjallarhorn.render.BlockMapRenderer
import gay.pizza.foundation.gjallarhorn.render.BlockMapRenderer
import org.slf4j.LoggerFactory
import java.util.concurrent.ConcurrentHashMap
import java.util.concurrent.Future
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
interface BlockMapRenderPoolDelegate<T> {
fun onSinglePlaybackComplete(pool: BlockMapRenderPool<T>, slice: ChangelogSlice, tracker: BlockLogTracker)
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
class BlockMapTimelapse<T> :
BlockMapRenderPoolDelegate<T> {
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import kotlinx.serialization.Serializable
import java.util.concurrent.ConcurrentHashMap
@@ -1,3 +1,3 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
typealias BlockStateMap = BlockCoordinateStore<BlockState>
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import kotlinx.serialization.KSerializer
import kotlinx.serialization.builtins.serializer
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
enum class BlockTrackMode {
RemoveOnDelete,
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import java.time.Duration
import java.time.Instant
@@ -1,7 +1,7 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import java.time.Instant
import java.util.*
import java.util.UUID
data class PlayerPositionChange(
val time: Instant,
@@ -1,6 +1,6 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import cloud.kubelet.foundation.heimdall.table.PlayerPositionTable
import gay.pizza.foundation.heimdall.table.PlayerPositionTable
import org.jetbrains.exposed.sql.Database
import org.jetbrains.exposed.sql.Op
import org.jetbrains.exposed.sql.select
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import kotlinx.serialization.Serializable
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.state
package gay.pizza.foundation.gjallarhorn.state
import kotlinx.serialization.KSerializer
import kotlinx.serialization.builtins.MapSerializer
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.util
package gay.pizza.foundation.gjallarhorn.util
import java.awt.Color
import java.util.concurrent.ConcurrentHashMap
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.util
package gay.pizza.foundation.gjallarhorn.util
import java.awt.Color
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.util
package gay.pizza.foundation.gjallarhorn.util
import java.awt.Color
import kotlin.math.max
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.util
package gay.pizza.foundation.gjallarhorn.util
import java.awt.Color
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.util
package gay.pizza.foundation.gjallarhorn.util
import kotlin.math.roundToLong
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.util
package gay.pizza.foundation.gjallarhorn.util
import java.awt.image.BufferedImage
import java.io.File
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.util
package gay.pizza.foundation.gjallarhorn.util
import org.jetbrains.exposed.sql.Op
@@ -1,4 +1,4 @@
package cloud.kubelet.foundation.gjallarhorn.util
package gay.pizza.foundation.gjallarhorn.util
fun <T> Iterable<T>.minOfAll(fieldCount: Int, block: (value: T) -> List<Long>): List<Long> {
val fieldRange = 0 until fieldCount