You are on page 1of 1

#ifndef MINIMAP_H_INCLUDED

#define MINIMAP_H_INCLUDED
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include <SDL/SDL_mixer.h>
#include <SDL/SDL_ttf.h>

typedef struct
{
char *ur1;
SDL_Rect pos_img_affiche;
SDL_Rect pos_img_ecran;
SDL_Surface *img;
}image;
typedef struct
{
char *ur1m;
SDL_Surface *img_miniature;
SDL_Rect pos_map_ecran;
char *ur1p;
SDL_Surface *joueur_miniature;
SDL_Rect pos_joueur_miniature_map;
}minimap;

void initialiser_imageBACK(image *IMAGE);


void affiche_image(SDL_Surface *screen,image IMAGE);
void liberer_image(image IMAGE);
void initmap (minimap *m);
void MAJMinimap (SDL_Rect posJoueur, minimap *m,SDL_Rect camera, int
redimensionnement );
void afficherminimap (minimap m , SDL_Surface *screen );
void liberer (minimap m);
void affichertemps (int * temps);

#endif

You might also like