This repository has been archived on 2022-12-11. You can view files and clone it, but cannot push or open issues or pull requests.
Othello/includes/text.h
2022-11-15 14:17:54 +01:00

20 lines
372 B
C

#ifndef OTHELLO_TEXT_H
#define OTHELLO_TEXT_H 1
#include <SDL_ttf.h>
#include "plateau.h"
static TTF_Font *font = NULL;
static SDL_Surface *surface = NULL;
// Charge la police d'écriture
void load_font(int quality);
// Ecrit du texte à une certaine position
void write_text(GLfloat x, GLfloat y, char *text);
// Décharge la police
void unload_font(void);
#endif