diff options
Diffstat (limited to 'map.c')
-rw-r--r-- | map.c | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -6,7 +6,8 @@ #include "structures.h" #include "prototypes.h" -void Fmap (SURFACES*surfaces, POSITIONS* positions, struct team_t *t1, struct team_t *t2) +void Fmap (SURFACES*surfaces, POSITIONS* positions, + struct team_t *t1, struct team_t *t2) { #if 0 int map[15][11]; @@ -120,17 +121,21 @@ void Fblittermap (SURFACES*surfaces,POSITIONS*positions,int map[][11]) switch (map[i][j]) { case SOL: - SDL_BlitSurface(surfaces->Pmap_sol, NULL, surfaces->screen, &positions->map_item[i][j]); - break; + SDL_BlitSurface(surfaces->Pmap_sol, NULL, + surfaces->screen, &positions->map_item[i][j]); + break; case MUR: - SDL_BlitSurface(surfaces->Pmap_mur, NULL, surfaces->screen, &positions->map_item[i][j]); - break; + SDL_BlitSurface(surfaces->Pmap_mur, NULL, + surfaces->screen, &positions->map_item[i][j]); + break; case COFFRE: - SDL_BlitSurface(surfaces->Pmap_coffre, NULL, surfaces->screen, &positions->map_item[i][j]); - break; + SDL_BlitSurface(surfaces->Pmap_coffre, NULL, + surfaces->screen, &positions->map_item[i][j]); + break; case GUS: - SDL_BlitSurface(surfaces->Pmap_perso, NULL, surfaces->screen, &positions->map_item[i][j]); - break; + SDL_BlitSurface(surfaces->Pmap_perso, NULL, + surfaces->screen, &positions->map_item[i][j]); + break; } } } |