font: squash commit into main
Squashed commit of the following: commita53942249cAuthor: A.M. Rowsell <amr@frzn.dev> Date: Thu Apr 9 23:59:13 2026 -0400 font: extensive tweaks, looks much better commit64205e137cAuthor: A.M. Rowsell <amr@frzn.dev> Date: Thu Apr 9 12:13:00 2026 -0400 font: fully implemented font changes to UI, size/spacing need tweaking commit901f063696Author: A.M. Rowsell <amr@frzn.dev> Date: Wed Apr 8 09:36:03 2026 -0400 font: tweak sizes of stats commit20f8c71fdfAuthor: A.M. Rowsell <amr@frzn.dev> Date: Wed Apr 8 09:28:22 2026 -0400 render: implement experimental font change, needs work
This commit is contained in:
parent
71a9e5dbfb
commit
2500fffe84
7 changed files with 108 additions and 75 deletions
|
|
@ -8,6 +8,21 @@
|
|||
#define SCREEN_WIDTH (MAP_WIDTH * TILE_SIZE)
|
||||
#define SCREEN_HEIGHT (MAP_HEIGHT * TILE_SIZE)
|
||||
|
||||
// Font constants
|
||||
#define NORM_CHAR_SPACE 4.0f
|
||||
#define MED_CHAR_SPACE 2.5f
|
||||
#define SMALL_CHAR_SPACE 1.6f
|
||||
#define NAR_CHAR_SPACE 1.0f
|
||||
#define CRAMPED_CHAR_SPACE 0.5f
|
||||
|
||||
#define TINY_FONT 8
|
||||
#define SMALL_FONT 10
|
||||
#define NORM_FONT 12
|
||||
#define MEDIUM_FONT 14
|
||||
#define LARGE_FONT 18
|
||||
#define BIG_FONT 22
|
||||
#define HUGE_FONT 30
|
||||
|
||||
// Game Limits
|
||||
#define MAX_ENEMIES 64
|
||||
#define MAX_ITEMS 128
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue