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

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

#include<SDL2/SDL.h>
#include "kruskal.h"
Valentin MEUNIER's avatar
Valentin MEUNIER committed
9
#include "dijsktra.h"
Valentin MEUNIER's avatar
enfin    
Valentin MEUNIER committed
10
#include <math.h>
Valentin MEUNIER's avatar
Valentin MEUNIER committed
11

Valentin MEUNIER's avatar
disj    
Valentin MEUNIER committed
12
13
14
15
16
17
18
typedef enum {
	FLAG_N=1,
	FLAG_S=2,
	FLAG_E=4,
	FLAG_O=8
}flag_t;

Valentin MEUNIER's avatar
Valentin MEUNIER committed
19
20
void end_sdl(char ok,char const* msg,SDL_Window* window, SDL_Renderer* renderer);
void afficheEcranIntelligement(SDL_Renderer*,int**,int);
Valentin MEUNIER's avatar
disj    
Valentin MEUNIER committed
21
void chemin(SDL_Renderer *,int, int, 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
25

#endif