From d34c04165707874881f1d19416a1da0d39a2250a Mon Sep 17 00:00:00 2001 From: kdx Date: Tue, 21 Mar 2023 21:57:03 +0100 Subject: berkeley font --- res/font.png | Bin 68 -> 1490 bytes src/cfg.h | 4 ++-- src/lzy.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/res/font.png b/res/font.png index af367b9..929528d 100644 Binary files a/res/font.png and b/res/font.png differ diff --git a/src/cfg.h b/src/cfg.h index 9c85435..2e91590 100644 --- a/src/cfg.h +++ b/src/cfg.h @@ -1,6 +1,6 @@ #pragma once -#define CHR_WIDTH 8 -#define CHR_HEIGHT 16 +#define CHR_WIDTH 13 +#define CHR_HEIGHT 25 #define DISPLAY_WIDTH 400 #define DISPLAY_HEIGHT 224 #define TSIZE 16 diff --git a/src/lzy.c b/src/lzy.c index 9b9542c..436e1ae 100644 --- a/src/lzy.c +++ b/src/lzy.c @@ -3,7 +3,7 @@ #define LZY_GINT_TILESET bimg_tset #define LZY_GINT_FONT bimg_font #define LZY_CHR_WIDTH CHR_WIDTH -#define LZY_CHR_HEIGHT CHR_WIDTH +#define LZY_CHR_HEIGHT CHR_HEIGHT #define LZY_DISPLAY_WIDTH DISPLAY_WIDTH #define LZY_DISPLAY_HEIGHT DISPLAY_HEIGHT #define LZY_FIRST_CHR ' ' -- cgit v1.2.3