Skip to content

Commit dcf244d

Browse files
committed
Better logging and remove texture settings
1 parent b40b1ae commit dcf244d

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

common/src/main/kotlin/com/lambda/graphics/renderer/gui/font/LambdaEmoji.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ enum class LambdaEmoji(private val zipUrl: String) {
1717
object Loader : Loadable {
1818
override fun load(): String {
1919
entries.forEach(LambdaEmoji::loadGlyphs)
20-
return "Loaded ${entries.size} emoji sets"
20+
return "Loaded ${entries.size} emoji sets with a total of ${entries.sumOf { it.glyphs.count }} emojis"
2121
}
2222
}
2323
}

common/src/main/kotlin/com/lambda/graphics/renderer/gui/font/glyph/EmojiGlyphs.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ class EmojiGlyphs(zipUrl: String) {
2525
private lateinit var image: BufferedImage
2626
private lateinit var graphics: Graphics2D
2727

28+
val count get() = emojiMap.size
29+
2830
init {
2931
runCatching {
3032
downloadAndProcessZip(zipUrl)
31-
LOG.info("Loaded ${emojiMap.size} emojis")
3233
}.onFailure {
3334
LOG.error("Failed to load emojis: ${it.message}", it)
3435
fontTexture = MipmapTexture(BufferedImage(1024, 1024, BufferedImage.TYPE_INT_ARGB))

common/src/main/kotlin/com/lambda/interaction/PlayerPacketManager.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import com.lambda.core.Loadable
55
import com.lambda.event.EventFlow.post
66
import com.lambda.event.EventFlow.postChecked
77
import com.lambda.event.events.PlayerPacketEvent
8-
import com.lambda.interaction.rotation.Rotation.Companion.fixSensitivity
98
import com.lambda.threading.runSafe
109
import com.lambda.util.collections.LimitedOrderedSet
1110
import com.lambda.util.math.VecUtils.approximate

common/src/main/kotlin/com/lambda/module/modules/client/RenderSettings.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ object RenderSettings : Module(
1818
val baselineOffset by setting("Vertical Offset", 0.0, -10.0..10.0, 0.5) { page == Page.Font }
1919
private val lodBiasSetting by setting("Smoothing", 0.0, -10.0..10.0, 0.5) { page == Page.Font }
2020

21-
// Texture
22-
val textureCompression by setting("Compression", 1, 1..9, 1, description = "Texture compression level, higher is slower") { page == Page.TEXTURE }
23-
val threadedCompression by setting("Threaded Compression", false, description = "Use multiple threads for texture compression") { page == Page.TEXTURE }
24-
2521
// ESP
2622
val uploadsPerTick by setting("Uploads", 16, 1..256, 1, unit = " chunk/tick") { page == Page.ESP }
2723
val rebuildsPerTick by setting("Rebuilds", 64, 1..256, 1, unit = " chunk/tick") { page == Page.ESP }
@@ -32,7 +28,6 @@ object RenderSettings : Module(
3228

3329
private enum class Page {
3430
Font,
35-
TEXTURE,
3631
ESP,
3732
}
3833
}

0 commit comments

Comments
 (0)