]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - src/client/font.h
Change minimum OpenGL version to 4.2.0
[dragonblocks_alpha.git] / src / client / font.h
1 #ifndef _FONT_H_
2 #define _FONT_H_
3
4 #include <stdbool.h>
5 #include <stddef.h>
6 #include "client/mesh.h"
7
8 typedef struct
9 {
10         v2f32 size;
11         Mesh **meshes;
12         size_t meshes_count;
13 } Font;
14
15 bool font_init();
16 void font_deinit();
17 Font *font_create(const char *text);
18 void font_delete(Font *fnt);
19 void font_render(Font *fnt);
20
21 #endif