From f2a68b708b3ebfca9573576e585b0b373f3db0f6 Mon Sep 17 00:00:00 2001 From: LimePotato Date: Sat, 28 Oct 2023 21:09:10 -0600 Subject: [PATCH] erm --- README.md | 4 +++- src/main/kotlin/group/ouroboros/potrogue/GameConfig.kt | 2 +- src/main/kotlin/group/ouroboros/potrogue/view/PlayView.kt | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d490b18..92703d6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # PotRogue +### A WIP, opensource, roguelike project built in [Kotlin](https://kotlinlang.org/), utilizing [Zircon](https://hexworks.org/projects/zircon/). + +The plan is to be able to self-contain the entire game on a DVD/Blue-Ray once "completed." thatd be so cool and so epic. -A WIP, opensource, roguelike project built in [Kotlin](https://kotlinlang.org/), utilizing [Zircon](https://hexworks.org/projects/zircon/). diff --git a/src/main/kotlin/group/ouroboros/potrogue/GameConfig.kt b/src/main/kotlin/group/ouroboros/potrogue/GameConfig.kt index c79e17b..1d505b1 100644 --- a/src/main/kotlin/group/ouroboros/potrogue/GameConfig.kt +++ b/src/main/kotlin/group/ouroboros/potrogue/GameConfig.kt @@ -14,7 +14,7 @@ object GameConfig { val TILESET = CP437TilesetResources.rogueYun16x16() val THEME = ColorThemes.cyberpunk() const val SIDEBAR_WIDTH = 18 - const val LOG_AREA_HEIGHT = 8 + const val LOG_AREA_HEIGHT = 12 // sizing const val WINDOW_WIDTH = 80 diff --git a/src/main/kotlin/group/ouroboros/potrogue/view/PlayView.kt b/src/main/kotlin/group/ouroboros/potrogue/view/PlayView.kt index 87c9b9f..a094695 100644 --- a/src/main/kotlin/group/ouroboros/potrogue/view/PlayView.kt +++ b/src/main/kotlin/group/ouroboros/potrogue/view/PlayView.kt @@ -21,14 +21,14 @@ class PlayView (private val grid: TileGrid, private val game: Game = Game.create init { //Create Sidebar val sidebar = Components.panel() - .withSize(GameConfig.SIDEBAR_WIDTH, GameConfig.WINDOW_HEIGHT) + .withSize(GameConfig.SIDEBAR_WIDTH, GameConfig.WINDOW_HEIGHT - LOG_AREA_HEIGHT) .withDecorations(box()) .build() //Create area for logging val logArea = Components.logArea() .withDecorations(box(title = "Log")) - .withSize(WINDOW_WIDTH - SIDEBAR_WIDTH, LOG_AREA_HEIGHT) + .withSize(WINDOW_WIDTH, LOG_AREA_HEIGHT) .withAlignmentWithin(screen, ComponentAlignment.BOTTOM_RIGHT) .build()