Include and link physfs properly.
[tuxanci.git] / src / client / font.h
blob8ee2cf0a7a91064887c65d44e941272d2ca3994b
1 #ifndef FONT_H
2 #define FONT_H
4 #include <SDL_ttf.h>
5 #include <assert.h>
6 #include "main.h"
8 #define COLOR_WHITE 255, 255, 255
9 #define COLOR_BLACK 0, 0, 0
11 #define COLOR_RED 255, 0, 0
12 #define COLOR_GREEN 0, 255, 0
13 #define COLOR_BLUE 0, 0, 255
14 #define COLOR_YELLOW 255, 255, 0
16 #define FONT_SIZE 16
18 extern bool_t font_is_inicialized();
19 extern void font_init();
20 extern void font_draw(char *s, int x, int y, int r, int g, int b);
21 extern void font_drawMaxSize(char *s, int x, int y, int w, int h,
22 int r, int g, int b);
23 extern int font_get_size();
24 extern void font_text_size(char *s, int *w, int *h);
25 extern void font_quit();
27 #endif /* FONT_H */