From 45d54652a8005ccae2466a0e4757017c7b337e3b Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 7 Jan 2015 21:43:18 +0100 Subject: use a team / character model instead of an array of personnages Signed-off-by: Olivier Gayot --- map.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'map.c') diff --git a/map.c b/map.c index d7b59d6..66a2165 100644 --- a/map.c +++ b/map.c @@ -1,12 +1,12 @@ -#include #include #include +#include +#include #include "constantes.h" #include "structures.h" #include "prototypes.h" -#include -void Fmap (SURFACES*surfaces, POSITIONS* positions,PERSONNAGES persos[],ENNEMIS ennemis[]) +void Fmap (SURFACES*surfaces, POSITIONS* positions, struct team_t *ally,ENNEMIS ennemis[]) { int map[15][11]; int continuer=1; @@ -24,7 +24,7 @@ void Fmap (SURFACES*surfaces, POSITIONS* positions,PERSONNAGES persos[],ENNEMIS { case SDLK_RETURN: case SDLK_f: - continuer=Fjouer(surfaces,positions,persos,ennemis); + continuer=Fjouer(surfaces,positions, ally,ennemis); break; case SDLK_ESCAPE: case SDLK_a: -- cgit v1.2.3