A set of simple functions to provide a more useful interface than SDL_ttf provides.
There are 4 functions, one for printing to specified coordinates, one for printing to the centre, one for printing to a specified x coordinate while aligned to the centre of the screen in y, and one to do the same but controlling the y axis while x remains centred.
It is released under the MIT license, so you can basically do what you like with it (SDL_ttf is NOT under the MIT license).
To use with C code, remove 'using namespace std.' from font.cpp and rename to font.c.
There are 4 functions, one for printing to specified coordinates, one for printing to the centre, one for printing to a specified x coordinate while aligned to the centre of the screen in y, and one to do the same but controlling the y axis while x remains centred.
It is released under the MIT license, so you can basically do what you like with it (SDL_ttf is NOT under the MIT license).
To use with C code, remove 'using namespace std.' from font.cpp and rename to font.c.