test some stuff - still wip

This commit is contained in:
2025-05-25 22:41:57 +02:00
parent 429627c095
commit 78620af37a
7 changed files with 174 additions and 67 deletions

View File

@@ -4,6 +4,9 @@
#include "font.h"
BitmapFont fonts[fontCount];
BitmapFont
prepText(SDL_Renderer *renderer, unsigned char pxSize, const char *file, uint8_t r, uint8_t g, uint8_t b, uint8_t a) {
TTF_Font *gFont = TTF_OpenFont(file, pxSize);