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

4
#include "kruskal.h"
Valentin MEUNIER's avatar
Valentin MEUNIER committed
5
#include "main.h"
6

Valentin MEUNIER's avatar
Valentin MEUNIER committed
7
8
9
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);
10
11
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
12
void point_minimap(SDL_Renderer * renderer, int taille_cell, int pos_x, int pos_y);
13

Valentin MEUNIER's avatar
Valentin MEUNIER committed
14
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
15
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
16
17

#endif