affichage_image.h 863 Bytes
Newer Older
Valentin MEUNIER's avatar
Valentin MEUNIER committed
1
2
3
#ifndef _gard_affichage_image
#define _gard_affichage_image

4
5
6
7
#include "main.h"
#include "kruskal.h"


Valentin MEUNIER's avatar
Valentin MEUNIER committed
8
9
10
SDL_Texture* load_texture_from_image(char  *  file_image_name, SDL_Renderer *renderer);
void affichage_texture(SDL_Texture *my_texture,SDL_Window *window,SDL_Renderer *renderer,int x,int coord_colonne,int coord_ligne,int taille_cell);
void afficherImage(SDL_Renderer *renderer,SDL_Window *window,int **tab,int taille_cell,SDL_Texture* texture);
11
12
13
14

void afficherImageBrouillard(SDL_Renderer *renderer,SDL_Window *window,int **tab,int taille_cell,SDL_Texture* texture, int pos_x, int pos_y);


Valentin MEUNIER's avatar
Valentin MEUNIER committed
15
void affichage_fin(SDL_Texture *my_texture,SDL_Window *window,SDL_Renderer *renderer,int coord_colonne,int coord_ligne,int taille_cell);
Valentin MEUNIER's avatar
le    
Valentin MEUNIER committed
16
void peindreMap(SDL_Texture * texture, SDL_Window* window ,SDL_Renderer *renderer, int noeuds, int taille_cell, int ** laby);
Valentin MEUNIER's avatar
Valentin MEUNIER committed
17
18

#endif