diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-11 02:02:07 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-11 03:01:46 +0100 |
commit | 65364d2e2f40807fdd03ade25917f728adc0ef77 (patch) | |
tree | e2d2e5d0a7e329f50009a086959b4226fe27dde7 /map.c | |
parent | d590bfdcdfa8799439cffa41fc74346e9923b6e7 (diff) |
coding rules: stop at 78 colsrewrite
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
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; } } } |