diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/defs/FrameGrid.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/defs/FrameGrid.kt
deleted file mode 100644
index c5fc2316..00000000
--- a/src/main/kotlin/ru/dbotthepony/kstarbound/defs/FrameGrid.kt
+++ /dev/null
@@ -1,355 +0,0 @@
-package ru.dbotthepony.kstarbound.defs
-
-import com.google.common.collect.ImmutableList
-import com.google.gson.*
-import it.unimi.dsi.fastutil.ints.Int2ObjectArrayMap
-import it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap
-import org.apache.logging.log4j.LogManager
-import ru.dbotthepony.kstarbound.Starbound
-import ru.dbotthepony.kvector.vector.nint.Vector2i
-import java.io.FileNotFoundException
-import kotlin.collections.HashMap
-
-class MalformedFrameGridException(message: String? = null, cause: Throwable? = null) : Throwable(message, cause)
-
-data class Frame(
- val texture: String,
- val texturePosition: Vector2i,
- val textureSize: Vector2i,
-) {
- val textureEndPosition = texturePosition + textureSize
- val width get() = textureSize.x
- val height get() = textureSize.y
-
- val aspectRatioWH: Float get() {
- if (height == 0) {
- return 1f
- }
-
- return width.toFloat() / height.toFloat()
- }
-
- val aspectRatioHW: Float get() {
- if (width == 0) {
- return 1f
- }
-
- return height.toFloat() / width.toFloat()
- }
-}
-
-data class FrameSet(
- val texture: String,
- val name: String,
- val frames: List,
-) {
- val frameCount get() = frames.size
- fun frame(num: Int) = frames[num]
-}
-
-private class FrameSetBuilder(val name: String) {
- val frames = Object2ObjectArrayMap()
-
- fun build(texture: String): FrameSet {
- val list = ImmutableList.builder()
- val rebuild = Int2ObjectArrayMap()
-
- for ((k, v) in frames) {
- val int = k.toIntOrNull()
-
- if (int != null) {
- rebuild[int] = v
- }
- }
-
- if (rebuild.size == 0) {
- throw IllegalStateException("Frame Set $name is empty")
- }
-
- for (i in 0 until rebuild.size) {
- list.add(rebuild[i] ?: throw IllegalStateException("Frame Set $name has gap at $i"))
- }
-
- return FrameSet(
- texture = texture,
- name = name,
- frames = list.build()
- )
- }
-}
-
-interface IFrameGrid {
- val texture: String
- val size: Vector2i
- val dimensions: Vector2i
- val frames: List