repo.or.cz
/
neverball.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add missing credit for Esperanto translation
[neverball.git]
/
share
/
font.h
blob
e900227257f30179979033b61839331183a0a9e6
1
#ifndef FONT_H
2
#define FONT_H
3
4
#include <SDL_ttf.h>
5
#include <SDL_rwops.h>
6
7
#include
"base_config.h"
8
9
struct
font
10
{
11
char
path
[
PATHMAX
];
12
13
TTF_Font
*
ttf
[
3
];
14
SDL_RWops
*
rwops
;
15
void
*
data
;
16
int
datalen
;
17
};
18
19
int
font_load
(
struct
font
*,
const char
*
path
,
int
sizes
[
3
]);
20
void
font_free
(
struct
font
*);
21
22
int
font_init
(
void
);
23
void
font_quit
(
void
);
24
25
#endif