From 65364d2e2f40807fdd03ade25917f728adc0ef77 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 11 Jan 2015 02:02:07 +0100 Subject: coding rules: stop at 78 cols Signed-off-by: Olivier Gayot --- map.c | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'map.c') diff --git a/map.c b/map.c index 15aa3f7..84ddefe 100644 --- a/map.c +++ b/map.c @@ -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; } } } -- cgit v1.2.3