main.h 613 Bytes
Newer Older
Valentin MEUNIER's avatar
Valentin MEUNIER committed
1
2
3
4
5
6

/*main.h*/
/*15 juin 2021*/
#ifndef main_gard
#define main_gard

Valentin MEUNIER's avatar
Valentin MEUNIER committed
7
#include <SDL2/SDL.h>
Valentin MEUNIER's avatar
Valentin MEUNIER committed
8
#include "kruskal.h"
Valentin MEUNIER's avatar
le    
Valentin MEUNIER committed
9
10
#include <math.h>
#include "affichage_image.h"
Valentin MEUNIER's avatar
Valentin MEUNIER committed
11
#include "dijkstra.h"
Valentin MEUNIER's avatar
le    
Valentin MEUNIER committed
12
13
#include "texture_perso.h"
#include "colision.h"
14
#include "DFS.h"
Valentin MEUNIER's avatar
Valentin MEUNIER committed
15
16
17
18
#include <SDL2/SDL_ttf.h>
#include "affichage_txt.h"
#include "main.h"

Valentin MEUNIER's avatar
disj    
Valentin MEUNIER committed
19

Valentin MEUNIER's avatar
Valentin MEUNIER committed
20
21
void end_sdl(char ok,char const* msg,SDL_Window* window, SDL_Renderer* renderer);
void afficheEcranIntelligement(SDL_Renderer*,int**,int);
Valentin MEUNIER's avatar
enfin    
Valentin MEUNIER committed
22
int min(int , int);
Valentin MEUNIER's avatar
Valentin MEUNIER committed
23
int main(int ,char**);
Valentin MEUNIER's avatar
Valentin MEUNIER committed
24

Valentin MEUNIER's avatar
le    
Valentin MEUNIER committed
25
26
27
28
29
30
31
32
33
typedef enum {
        FLAG_N = 1,
        FLAG_S = 2,
        FLAG_E = 4,
        FLAG_O = 8
}flag_t;



Valentin MEUNIER's avatar
Valentin MEUNIER committed
34
#endif