diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-08 23:28:02 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-08 23:28:02 -0500 |
| commit | ac0061c277474372a08598362ae1dd9e8a7c0320 (patch) | |
| tree | c838912984d868c1eaeb010a4dbeeec72b40592c | |
| parent | graphics: refactor renderer to hardcode resolution (360p) (diff) | |
| download | DungeonCrawl-ac0061c277474372a08598362ae1dd9e8a7c0320.tar.gz DungeonCrawl-ac0061c277474372a08598362ae1dd9e8a7c0320.tar.bz2 DungeonCrawl-ac0061c277474372a08598362ae1dd9e8a7c0320.zip | |
graphics: update ui padding
| -rw-r--r-- | graphics/src/render.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/src/render.rs b/graphics/src/render.rs index 3232bf3..408d51c 100644 --- a/graphics/src/render.rs +++ b/graphics/src/render.rs @@ -57,13 +57,13 @@ const WALL_HEIGHT: u16 = 7; const VIEW_DISTANCE: u16 = 6; /// The size of padding in the UI -const UI_PADDING: u16 = 6; +const UI_PADDING: u16 = 8; /// The size of the font const FONT_SIZE: u16 = TEXTURE_SIZE; /// The height of the UI -const UI_HEIGHT: u16 = (UI_PADDING + FONT_SIZE) * 3 + UI_PADDING; +const UI_HEIGHT: u16 = (UI_PADDING + FONT_SIZE) * 3; /// The size of a tile drawn to the screen const TILE_SIZE: u16 = TEXTURE_SIZE * 3; |