winter is comming: brace yourself

This commit is contained in:
Marc
2023-01-21 14:57:11 +01:00
parent 781f4ba7be
commit ebbd44d71d
8 changed files with 165 additions and 138 deletions
+2 -3
View File
@@ -1,7 +1,7 @@
#ifndef __TEXT_H__
#define __TEXT_H__
#include "renderer.h"
#include "scene.h"
#include <SDL2/SDL_ttf.h>
@@ -11,8 +11,7 @@ typedef struct {
int z;
} Position;
int text_renderText(RenderObject_t* renderObject, float x, float y, int z, float scale, SDL_Color color, const char* fontFilename, int fontSize, char* format, ...);
int text_renderText(RenderObject_t* renderObject, int z, float scale, SDL_Color color, const char* fontFilename, int fontSize, char* format, ...);
void text_freeFontCache(void);
#endif