font: implement TTF font usage #19

Merged
NotAShelf merged 2 commits from amr/rogged:main into main 2026-04-10 17:09:00 +00:00
2 changed files with 1 additions and 4 deletions
Showing only changes of commit 23e98772ad - Show all commits

font: pick a generic temporary font, fix leftover conflict

A.M. Rowsell 2026-04-10 08:35:45 -04:00 committed by raf

Binary file not shown.

View file

@ -522,15 +522,12 @@ void load_audio_assets(GameState *gs) {
static void game_loop(unsigned int run_seed) { static void game_loop(unsigned int run_seed) {
GameState gs; GameState gs;
memset(&gs, 0, sizeof(GameState)); memset(&gs, 0, sizeof(GameState));
<<<<<<< HEAD
gs.run_seed = run_seed; gs.run_seed = run_seed;
=======
// load external assets // load external assets
// sound // sound
>>>>>>> acdbc9c (font: squash commit into main)
load_audio_assets(&gs); load_audio_assets(&gs);
// font // font
Font fontTTF = LoadFontEx("./assets/fonts/Tomorrow_Night.ttf", 24, NULL, 0); Font fontTTF = LoadFontEx("./assets/fonts/spartan_500.ttf", 36, NULL, 0);
// Initialize first floor // Initialize first floor
init_floor(&gs, 1); init_floor(&gs, 1);