diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-11 12:12:45 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-11 12:12:45 -0500 |
| commit | ac499a90848bda0ef1a5b8e929b29cc339bd99b1 (patch) | |
| tree | 832133d8341f8d2da75da54ae522246996711ab5 | |
| parent | add x11 feature (diff) | |
| download | DungeonCrawl-ac499a90848bda0ef1a5b8e929b29cc339bd99b1.tar.gz DungeonCrawl-ac499a90848bda0ef1a5b8e929b29cc339bd99b1.tar.bz2 DungeonCrawl-ac499a90848bda0ef1a5b8e929b29cc339bd99b1.zip | |
graphics: zoom out map
| -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 9129970..7f5501c 100644 --- a/graphics/src/render.rs +++ b/graphics/src/render.rs @@ -71,7 +71,7 @@ const TEXTURE_SIZE: u16 = 16; const WALL_HEIGHT: u16 = 7; /// The (prefered) view distance of the game -const VIEW_DISTANCE: u16 = 6; +const VIEW_DISTANCE: u16 = 9; /// The size of padding in the UI const UI_PADDING: u16 = 8; @@ -83,7 +83,7 @@ const FONT_SIZE: u16 = TEXTURE_SIZE; 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; +const TILE_SIZE: u16 = TEXTURE_SIZE * 2; /// The render height of the screen pub const RENDER_HEIGHT: u16 = UI_HEIGHT + (TILE_SIZE * VIEW_DISTANCE); |