APL/APL1.1/SAE11_2021/main.c

24 lines
471 B
C
Raw Normal View History

2021-11-22 17:29:33 +01:00
#include <stdio.h>
#include <stdlib.h>
#include <graph.h>
#include <time.h>
#include "utils.h"
#include "graph_sup.h"
#include "lib_taquin/taquin.h"
#include "lib_menu/menu.h"
int main(void) {
InitialiserGraphique();
CreerFenetre(100, 100, 1200, 700);
while (1) {
if (RegisterInputs("main_menu") == -1) return EXIT_SUCCESS;
int can_draw = DrawNextFrame();
if (can_draw == 1) {
DrawGraphics("main_menu");
}
}
FermerGraphique();
return EXIT_SUCCESS;
}