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/main.h

27 lines
452 B
C
Raw Permalink Normal View History

2022-11-14 23:55:36 +01:00
#ifndef OTHELLO_MAIN_H
#define OTHELLO_MAIN_H 1
#include <GL4D/gl4dp.h>
#include <GL4D/gl4duw_SDL2.h>
2022-11-15 15:09:28 +01:00
#include <SDL_ttf.h>
2022-11-14 23:55:36 +01:00
2022-11-15 13:49:02 +01:00
#include "text.h"
2022-11-14 23:55:36 +01:00
// Plateau
2022-11-15 13:49:02 +01:00
static Table *table = NULL;
2022-11-15 15:09:28 +01:00
static TTF_Font *font = NULL;
2022-11-14 23:55:36 +01:00
// Initialise le programme
static void init(void);
// Série d'évènement pendant chaque rendu de frame
static void job(void);
// Dessine dans la fenêtre
static void draw(void);
// Quitte le programme
static void quit(void);
#endif